Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Image_Slot.xml
old mode 100755 (executable)
new mode 100644 (file)
index 5b0111d..c82d822
@@ -3,10 +3,13 @@
    xmlns:i18n="http://xml.zope.org/namespaces/i18n">
  <property name="title">Image Slot</property>
  <property name="description">Image Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/photo_icon.gif</property>
+ <property
+    name="icon_expr">string:${portal_url}/mosaic_tool/photo_icon.gif</property>
  <property name="content_meta_type">Image Slot</property>
  <property name="product">MosaicDocument</property>
  <property name="factory">addImageSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
  <property name="immediate_view">view</property>
  <property name="global_allow">True</property>
  <property name="filter_content_types">True</property>
  <alias from="(Default)" to="slot_image_view"/>
  <alias from="view" to="slot_image_view"/>
  <action title="View" action_id="view" category="object" condition_expr=""
-    url_expr="string:slot_image_view" visible="True">
+    icon_expr="" link_target="" url_expr="string:slot_image_view"
+    visible="True">
   <permission value="View"/>
  </action>
  <action title="Edit" action_id="edit" category="object" condition_expr=""
-    url_expr="string:slot_image_form" visible="True">
+    icon_expr="" link_target="" url_expr="string:slot_image_form"
+    visible="True">
   <permission value="Modify portal content"/>
  </action>
 </object>