Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Document.xml
old mode 100755 (executable)
new mode 100644 (file)
index 7f9ead9..dedc32f
@@ -4,40 +4,39 @@
  <property name="title">Document</property>
  <property
     name="description">Contain text that can be formatted using 'Structured Text.' It may also contain HTML, or "plain" text.</property>
- <property name="content_icon">text.gif</property>
+ <property name="icon_expr">string:${portal_url}/text.gif</property>
  <property name="content_meta_type">Document</property>
  <property name="product">CMFDefault</property>
  <property name="factory">addDocument</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
  <property name="immediate_view">object/edit</property>
  <property name="global_allow">True</property>
  <property name="filter_content_types">True</property>
  <property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
  <alias from="(Default)" to="document_view"/>
  <alias from="gethtml" to="source_html"/>
  <alias from="info" to="content_info"/>
  <alias from="view" to="document_view"/>
  <action title="View" action_id="view" category="object" condition_expr=""
-    url_expr="string:${object_url}/document_view" visible="True">
+    icon_expr="" link_target="" url_expr="string:${object_url}/document_view"
+    visible="True">
   <permission value="View"/>
  </action>
  <action title="Edit" action_id="edit" category="object" condition_expr=""
+    icon_expr="" link_target=""
     url_expr="string:${object_url}/document_edit_form" visible="True">
   <permission value="Modify portal content"/>
  </action>
  <action title="Share" action_id="localroles" category="object"
-    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
-    visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/folder_localrole_form" visible="True">
   <permission value="Set Local Roles"/>
  </action>
  <action title="History" action_id="changes" category="object"
-    condition_expr="" url_expr="string:${object_url}/changes_history"
-    visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/changes_history" visible="True">
   <permission value="View History"/>
  </action>
- <action title="Status history" action_id="history" category="workflow"
-    condition_expr="" url_expr="string:${object_url}/content_status_history"
-    visible="True">
-  <permission value="Request review"/>
- </action>
 </object>