Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Link.xml
old mode 100755 (executable)
new mode 100644 (file)
index be4a2c2..0172f76
@@ -3,10 +3,12 @@
    xmlns:i18n="http://xml.zope.org/namespaces/i18n">
  <property name="title">Link</property>
  <property name="description">Annotated URL.</property>
- <property name="content_icon">link_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/link_icon.gif</property>
  <property name="content_meta_type">Link</property>
  <property name="product">CMFDefault</property>
  <property name="factory">addLink</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>
  <alias from="info" to="content_info"/>
  <alias from="view" to="link_view"/>
  <action title="View" action_id="view" category="object" condition_expr=""
-    url_expr="string:${object_url}/link_view" visible="True">
+    icon_expr="" link_target="" url_expr="string:${object_url}/link_view"
+    visible="True">
   <permission value="View"/>
  </action>
  <action title="Edit" action_id="edit" category="object" condition_expr=""
-    url_expr="string:${object_url}/link_edit_form" visible="True">
+    icon_expr="" link_target="" url_expr="string:${object_url}/link_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="Status history" action_id="history" category="object"
-    condition_expr="" url_expr="string:${object_url}/content_status_history"
-    visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/content_status_history" visible="True">
   <permission value="Request review"/>
   <permission value="Review portal content"/>
  </action>