[CMF-checkins] SVN: CMF/trunk/C - named the browser views different than the corresponding skin methods

Yvo Schubbe y.2006_ at wcm-solutions.de
Fri Mar 10 15:00:27 EST 2006


Log message for revision 65905:
  - named the browser views different than the corresponding skin methods
  - enabled browser views by default
  - added new extension profile for browser views support
  - updated cmf_default.pot

Changed:
  U   CMF/trunk/CHANGES.txt
  U   CMF/trunk/CMFDefault/__init__.py
  U   CMF/trunk/CMFDefault/browser/README.txt
  U   CMF/trunk/CMFDefault/browser/TODO.txt
  U   CMF/trunk/CMFDefault/browser/configure.zcml
  U   CMF/trunk/CMFDefault/configure.zcml
  U   CMF/trunk/CMFDefault/locales/cmf_default.pot
  A   CMF/trunk/CMFDefault/profiles/views_support/
  A   CMF/trunk/CMFDefault/profiles/views_support/actions.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/
  A   CMF/trunk/CMFDefault/profiles/views_support/types/CMF_BTree_Folder.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/Document.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/Favorite.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/File.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/Folder.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/Image.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/Link.xml
  A   CMF/trunk/CMFDefault/profiles/views_support/types/News_Item.xml

-=-
Modified: CMF/trunk/CHANGES.txt
===================================================================
--- CMF/trunk/CHANGES.txt	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CHANGES.txt	2006-03-10 20:00:26 UTC (rev 65905)
@@ -1,5 +1,12 @@
 CMF 2.0.0-beta2 (unreleased)
 
+  Bug Fixes
+
+    - CMFDefault: Changed the way browser views are hooked up.
+      To become independent of the lookup order views are now named different
+      than the corresponding skin methods. The views are now enabled by
+      default and hooked up by a new extension profile.
+
   Others
 
     - CMFDefault skins and views: Removed 'full_metadata_edit_form'.

Modified: CMF/trunk/CMFDefault/__init__.py
===================================================================
--- CMF/trunk/CMFDefault/__init__.py	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/__init__.py	2006-03-10 20:00:26 UTC (rev 65905)
@@ -128,6 +128,15 @@
                                      for_=ISiteRoot,
                                     )
 
+    profile_registry.registerProfile('views_support',
+                                     'Experimental CMFDefault Browser Views',
+                                     'Hooks up the browser views.',
+                                     'profiles/views_support',
+                                     'CMFDefault',
+                                     EXTENSION,
+                                     for_=ISiteRoot,
+                                    )
+
     context.registerClass( Portal.CMFSite
                          , constructors=(factory.addConfiguredSiteForm,
                                          factory.addConfiguredSite)

Modified: CMF/trunk/CMFDefault/browser/README.txt
===================================================================
--- CMF/trunk/CMFDefault/browser/README.txt	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/browser/README.txt	2006-03-10 20:00:26 UTC (rev 65905)
@@ -1,7 +1,7 @@
 Experimental Browser Views
 
   This sub-package provides Zope 3-style browser views for some CMF content
-  interfaces. The views are disabled by default.
+  interfaces. These views are not used by the default profile.
 
   The content of this sub-package is experimental and might be refactored
   without further notice. Documentation and unittests are still missing but
@@ -9,14 +9,6 @@
 
   See TODO.txt for a detailed list of converted skin methods.
 
-  Enabling the Browser Views
-
-    Either add this directive to your own ZCML files::
-
-      <include package="Products.CMFDefault.browser"/>
-
-    Or uncomment the include directive in CMFDefault's main configure.zcml.
-
   Using the Browser Views
 
     In an un-customized CMFDefault site you will notice no difference because

Modified: CMF/trunk/CMFDefault/browser/TODO.txt
===================================================================
--- CMF/trunk/CMFDefault/browser/TODO.txt	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/browser/TODO.txt	2006-03-10 20:00:26 UTC (rev 65905)
@@ -11,12 +11,12 @@
 
       form_widgets.pt -> templates/form_widgets.pt
 
-  [x] index_html:
+  [x] IFolderish @@view.html:
 
       index_html.py -> FolderView
       index_html_template.pt -> folder.pt
 
-  [x] folder_contents:
+  [x] IFolderish @@edit.html:
 
       folder_contents.py -> FolderContentsView
       folder_contents_template.pt -> templates/folder_contents.pt
@@ -32,24 +32,24 @@
       folder_top_control.py -> FolderContentsView.top_control
       folder_bottom_control.py -> FolderContentsView.bottom_control
 
-  [x] folder_edit_form:
+  [x] IMutableMinimalDublinCore @@properties.html:
 
       folder_edit_form.py -> MetadataMinimalEditView
       folder_edit_template.pt -> templates/metadata_minimal_edit.pt
       folder_edit_control.py -> MetadataMinimalEditView.edit_control
 
-  [x] metadata_edit_form:
+  [x] IMutableDublinCore @@properties.html:
 
       metadata_edit_form.py -> MetadataEditView
       metadata_edit_template.pt -> templates/metadata_edit.pt
       metadata_edit_control.py -> MetadataEditView.edit_control
 
-  [x] document_view:
+  [x] IDocument @@view.html:
 
-      document_view.py -> DocumentView
+      document_view.py, newsitem_view.py -> DocumentView
       document_view_template.pt -> document.pt
 
-  [x] document_edit_form:
+  [x] IMutableDocument @@edit.html:
 
       document_edit_form.py -> DocumentEditView
       document_edit_template.pt -> templates/document_edit.pt
@@ -57,52 +57,42 @@
       validateTextFile.py -> DocumentEditView.validateTextFile
       document_edit_control.py -> DocumentEditView.edit_control
 
-  [x] newsitem_view:
+  [x] IMutableNewsItem @@edit.html:
 
-      newsitem_view.py -> DocumentView
-      document_view_template.pt -> document.pt
-
-  [x] newsitem_edit_form:
-
       newsitem_edit_form.py -> NewsItemEditView
       newsitem_edit_template.pt -> templates/newsitem_edit.pt
       validateHTML.py -> DocumentEditView.validateHTML
       validateTextFile.py -> DocumentEditView.validateTextFile
       newsitem_edit_control.py -> NewsItemEditView.edit_control
 
-  [x] link_view:
+  [x] ILink @@view.html:
 
-      link_view.py -> LinkView
+      link_view.py, favorite_view.py -> LinkView
       link_view_template.pt -> templates/link.pt
 
-  [x] link_edit_form:
+  [x] IMutableLink @@edit.html:
 
       link_edit_form.py -> LinkEditView
       link_edit_template.pt -> templates/link_edit.pt
       link_edit_control.py -> LinkEditView.edit_control
 
-  [x] favorite_view:
+  [ ] IFile @@view.html:
 
-      favorite_view.py -> LinkView
-      link_view_template.pt -> templates/link.pt
-
-  [ ] file_view:
-
       file_view.py -> FileView
       file_view_template.pt -> templates/file.pt
 
-  [ ] file_edit_form:
+  [ ] IMutableFile @@edit.html:
 
       file_edit_form.py -> FileEditView
       file_edit_template.pt -> templates/file_edit.pt
       file_edit_control.py -> FileEditView.edit_control
 
-  [ ] image_view:
+  [ ] IImage @@view.html:
 
       image_view.py -> ImageView
       image_view_template.pt -> templates/image.pt
 
-  [ ] image_edit_form:
+  [ ] IMutableImage @@edit.html:
 
       image_edit_form.py -> ImageEditView
       image_edit_template.pt -> templates/image_edit.pt

Modified: CMF/trunk/CMFDefault/browser/configure.zcml
===================================================================
--- CMF/trunk/CMFDefault/browser/configure.zcml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/browser/configure.zcml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -7,7 +7,7 @@
 
   <browser:page
       for="Products.CMFCore.interfaces.IFolderish"
-      name="index_html"
+      name="view.html"
       class=".folder.FolderView"
       template="templates/folder.pt"
       permission="zope2.View"
@@ -16,7 +16,7 @@
 
   <browser:page
       for="Products.CMFCore.interfaces.IFolderish"
-      name="folder_contents"
+      name="edit.html"
       class=".folder.FolderContentsView"
       template="templates/folder_contents.pt"
       permission="cmf.ListFolderContents"
@@ -25,7 +25,7 @@
 
   <browser:page
       for="Products.CMFCore.interfaces.IMutableMinimalDublinCore"
-      name="folder_edit_form"
+      name="properties.html"
       class=".metadata.MetadataMinimalEditView"
       template="templates/metadata_minimal_edit.pt"
       permission="zope2.ManageProperties"
@@ -34,7 +34,7 @@
 
   <browser:page
       for="Products.CMFCore.interfaces.IMutableDublinCore"
-      name="metadata_edit_form"
+      name="properties.html"
       class=".metadata.MetadataEditView"
       template="templates/metadata_edit.pt"
       permission="cmf.ModifyPortalContent"
@@ -43,7 +43,7 @@
 
   <browser:page
       for="Products.CMFDefault.interfaces.IDocument"
-      name="document_view"
+      name="view.html"
       class=".document.DocumentView"
       template="templates/document.pt"
       permission="zope2.View"
@@ -52,7 +52,7 @@
 
   <browser:page
       for="Products.CMFDefault.interfaces.IMutableDocument"
-      name="document_edit_form"
+      name="edit.html"
       class=".document.DocumentEditView"
       template="templates/document_edit.pt"
       permission="cmf.ModifyPortalContent"
@@ -60,17 +60,8 @@
       />
 
   <browser:page
-      for="Products.CMFDefault.interfaces.INewsItem"
-      name="newsitem_view"
-      class=".document.DocumentView"
-      template="templates/document.pt"
-      permission="zope2.View"
-      layer="cmf"
-      />
-
-  <browser:page
       for="Products.CMFDefault.interfaces.IMutableNewsItem"
-      name="newsitem_edit_form"
+      name="edit.html"
       class=".newsitem.NewsItemEditView"
       template="templates/newsitem_edit.pt"
       permission="cmf.ModifyPortalContent"
@@ -79,7 +70,7 @@
 
   <browser:page
       for="Products.CMFDefault.interfaces.ILink"
-      name="link_view"
+      name="view.html"
       class=".link.LinkView"
       template="templates/link.pt"
       permission="zope2.View"
@@ -88,7 +79,7 @@
 
   <browser:page
       for="Products.CMFDefault.interfaces.IMutableLink"
-      name="link_edit_form"
+      name="edit.html"
       class=".link.LinkEditView"
       template="templates/link_edit.pt"
       permission="cmf.ModifyPortalContent"
@@ -96,15 +87,6 @@
       />
 
   <browser:page
-      for="Products.CMFDefault.interfaces.IFavorite"
-      name="favorite_view"
-      class=".link.LinkView"
-      template="templates/link.pt"
-      permission="zope2.View"
-      layer="cmf"
-      />
-
-  <browser:page
       for="*"
       name="form_widget"
       template="templates/form_widgets.pt"

Modified: CMF/trunk/CMFDefault/configure.zcml
===================================================================
--- CMF/trunk/CMFDefault/configure.zcml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/configure.zcml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -3,8 +3,6 @@
 
   <include package=".skin"/>
 
-  <!-- uncomment this to enable browser views
   <include package=".browser"/>
-  -->
 
 </configure>

Modified: CMF/trunk/CMFDefault/locales/cmf_default.pot
===================================================================
--- CMF/trunk/CMFDefault/locales/cmf_default.pot	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/locales/cmf_default.pot	2006-03-10 20:00:26 UTC (rev 65905)
@@ -101,10 +101,9 @@
 #: CMFDefault/skins/zpt_content/document_edit_form.py:34
 #: CMFDefault/skins/zpt_content/file_edit_form.py:25
 #: CMFDefault/skins/zpt_content/folder_edit_form.py:24
-#: CMFDefault/skins/zpt_content/full_metadata_edit_form.py:49
 #: CMFDefault/skins/zpt_content/image_edit_form.py:25
 #: CMFDefault/skins/zpt_content/link_edit_form.py:24
-#: CMFDefault/skins/zpt_content/metadata_edit_form.py:46
+#: CMFDefault/skins/zpt_content/metadata_edit_form.py:49
 #: CMFDefault/skins/zpt_content/newsitem_edit_form.py:28
 #: CMFDefault/skins/zpt_generic/password_form.py:37
 #: CMFDefault/skins/zpt_generic/reconfig_form.py:22
@@ -120,10 +119,9 @@
 #: CMFDefault/skins/zpt_content/document_edit_form.py:35
 #: CMFDefault/skins/zpt_content/file_edit_form.py:26
 #: CMFDefault/skins/zpt_content/folder_edit_form.py:25
-#: CMFDefault/skins/zpt_content/full_metadata_edit_form.py:51
 #: CMFDefault/skins/zpt_content/image_edit_form.py:26
 #: CMFDefault/skins/zpt_content/link_edit_form.py:25
-#: CMFDefault/skins/zpt_content/metadata_edit_form.py:48
+#: CMFDefault/skins/zpt_content/metadata_edit_form.py:51
 #: CMFDefault/skins/zpt_content/newsitem_edit_form.py:29
 #: CMFTopic/skins/zpt_topic/topic_edit_form.py:27
 msgid "Change and View"
@@ -324,8 +322,7 @@
 msgstr ""
 
 #: CMFDefault/browser/metadata.py:76
-#: CMFDefault/skins/zpt_content/full_metadata_edit_form.py:50
-#: CMFDefault/skins/zpt_content/metadata_edit_form.py:47
+#: CMFDefault/skins/zpt_content/metadata_edit_form.py:50
 msgid "Change and Edit"
 msgstr ""
 
@@ -336,17 +333,15 @@
 
 #: CMFDefault/browser/templates/document_edit.pt:17
 #: CMFDefault/browser/templates/link_edit.pt:16
-#: CMFDefault/browser/templates/metadata_edit.pt:42
-#: CMFDefault/browser/templates/metadata_full_edit.pt:38
+#: CMFDefault/browser/templates/metadata_edit.pt:38
 #: CMFDefault/browser/templates/metadata_minimal_edit.pt:16
 #: CMFDefault/browser/templates/newsitem_edit.pt:16
 #: CMFDefault/skins/zpt_content/document_edit_template.pt:18
 #: CMFDefault/skins/zpt_content/file_edit_template.pt:17
 #: CMFDefault/skins/zpt_content/folder_edit_template.pt:17
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:39
 #: CMFDefault/skins/zpt_content/image_edit_template.pt:17
 #: CMFDefault/skins/zpt_content/link_edit_template.pt:17
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:43
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:39
 #: CMFDefault/skins/zpt_content/newsitem_edit_template.pt:17
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:15
 #: CMFDefault/skins/zpt_generic/review.pt:28
@@ -357,15 +352,13 @@
 msgstr ""
 
 #: CMFDefault/browser/templates/document_edit.pt:21
-#: CMFDefault/browser/templates/metadata_edit.pt:49
-#: CMFDefault/browser/templates/metadata_full_edit.pt:45
+#: CMFDefault/browser/templates/metadata_edit.pt:45
 #: CMFDefault/browser/templates/metadata_minimal_edit.pt:23
 #: CMFDefault/skins/zpt_content/document_edit_template.pt:22
 #: CMFDefault/skins/zpt_content/file_edit_template.pt:21
 #: CMFDefault/skins/zpt_content/folder_edit_template.pt:24
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:46
 #: CMFDefault/skins/zpt_content/image_edit_template.pt:21
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:50
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:46
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:56
 #: CMFDefault/skins/zpt_generic/search_form_template.pt:67
 #: CMFTopic/skins/zpt_topic/topic_edit_template.pt:24
@@ -373,12 +366,10 @@
 msgstr ""
 
 #: CMFDefault/browser/templates/document_edit.pt:25
-#: CMFDefault/browser/templates/metadata_edit.pt:72
-#: CMFDefault/browser/templates/metadata_full_edit.pt:91
+#: CMFDefault/browser/templates/metadata_edit.pt:91
 #: CMFDefault/browser/templates/newsitem_edit.pt:20
 #: CMFDefault/skins/zpt_content/document_edit_template.pt:26
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:92
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:73
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:92
 #: CMFDefault/skins/zpt_content/newsitem_edit_template.pt:21
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:128
 msgid "Format"
@@ -512,99 +503,77 @@
 msgid "URL"
 msgstr ""
 
+#: CMFDefault/browser/templates/metadata_edit.pt:105
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:106
+#: CMFDefault/skins/zpt_generic/metadata_help.pt:203
+msgid "Rights"
+msgstr ""
+
 #: CMFDefault/browser/templates/metadata_edit.pt:16
-#: CMFDefault/browser/templates/metadata_full_edit.pt:16
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:17
 #: CMFDefault/skins/zpt_content/metadata_edit_template.pt:17
 msgid "Enable Discussion?"
 msgstr ""
 
 #: CMFDefault/browser/templates/metadata_edit.pt:19
-#: CMFDefault/browser/templates/metadata_full_edit.pt:19
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:20
 #: CMFDefault/skins/zpt_content/metadata_edit_template.pt:20
 msgid "Default"
 msgstr ""
 
 #: CMFDefault/browser/templates/metadata_edit.pt:22
-#: CMFDefault/browser/templates/metadata_full_edit.pt:22
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:23
 #: CMFDefault/skins/zpt_content/metadata_edit_template.pt:23
 msgid "Off"
 msgstr ""
 
 #: CMFDefault/browser/templates/metadata_edit.pt:25
-#: CMFDefault/browser/templates/metadata_full_edit.pt:25
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:26
 #: CMFDefault/skins/zpt_content/metadata_edit_template.pt:26
 msgid "On"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_edit.pt:29
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:30
-msgid "Edit all metadata"
-msgstr ""
-
-#: CMFDefault/browser/templates/metadata_edit.pt:36
-#: CMFDefault/browser/templates/metadata_full_edit.pt:32
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:33
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:37
+#: CMFDefault/browser/templates/metadata_edit.pt:32
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:33
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:140
 msgid "Identifier"
 msgstr ""
 
 #: CMFDefault/browser/templates/metadata_edit.pt:5
 #: CMFDefault/skins/zpt_content/metadata_edit_template.pt:5
-msgid "Standard Resource Metadata: ${obj_title}"
+msgid "Resource Metadata: ${obj_title}"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_edit.pt:56
-#: CMFDefault/browser/templates/metadata_full_edit.pt:52
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:53
-#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:57
+#: CMFDefault/browser/templates/metadata_edit.pt:52
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:53
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:43
 #: CMFDefault/skins/zpt_generic/search_form_template.pt:55
 msgid "Subject"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:105
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:106
-#: CMFDefault/skins/zpt_generic/metadata_help.pt:203
-msgid "Rights"
-msgstr ""
-
-#: CMFDefault/browser/templates/metadata_full_edit.pt:5
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:5
-msgid "Resource Metadata: ${obj_title}"
-msgstr ""
-
-#: CMFDefault/browser/templates/metadata_full_edit.pt:66
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:67
+#: CMFDefault/browser/templates/metadata_edit.pt:66
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:67
 msgid "Contributors"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:73
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:74
+#: CMFDefault/browser/templates/metadata_edit.pt:73
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:74
 msgid "Creation Date"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:75
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:76
+#: CMFDefault/browser/templates/metadata_edit.pt:75
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:76
 msgid "Last Modified Date"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:79
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:80
+#: CMFDefault/browser/templates/metadata_edit.pt:79
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:80
 msgid "Effective Date"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:84
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:85
+#: CMFDefault/browser/templates/metadata_edit.pt:84
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:85
 msgid "Expiration Date"
 msgstr ""
 
-#: CMFDefault/browser/templates/metadata_full_edit.pt:98
-#: CMFDefault/skins/zpt_content/full_metadata_edit_template.pt:99
+#: CMFDefault/browser/templates/metadata_edit.pt:98
+#: CMFDefault/skins/zpt_content/metadata_edit_template.pt:99
 #: CMFDefault/skins/zpt_generic/metadata_help.pt:153
 msgid "Language"
 msgstr ""
@@ -826,6 +795,14 @@
 msgid "News Items contain short text articles and carry a title as well as an optional description."
 msgstr ""
 
+#: CMFDefault/profiles/views_support/actions.xml:6
+msgid "Interfaces"
+msgstr ""
+
+#: CMFDefault/profiles/views_support/actions.xml:7
+msgid "Assign marker interfaces"
+msgstr ""
+
 #: CMFDefault/skins/zpt_content/content_hide_form.pt:10
 msgid "Use this form to hide a content item by setting its status to <b>Private</b>, thereby making it unavailable to other portal members and visitors."
 msgstr ""

Added: CMF/trunk/CMFDefault/profiles/views_support/actions.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/actions.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/actions.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<object name="portal_actions"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <object name="object">
+  <object name="interfaces" meta_type="CMF Action" i18n:domain="cmf_default">
+   <property name="title" i18n:translate="">Interfaces</property>
+   <property name="description"
+      i18n:translate="">Assign marker interfaces</property>
+   <property name="url_expr">string:${object_url}/edit-markers.html</property>
+   <property name="icon_expr"></property>
+   <property name="available_expr"></property>
+   <property name="permissions">
+    <element value="Manage portal"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+ </object>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/actions.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/CMF_BTree_Folder.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/CMF_BTree_Folder.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/CMF_BTree_Folder.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="CMF BTree Folder">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="folder_contents" to="@@edit.html"/>
+ <alias from="folder_edit_form" to="@@properties.html"/>
+ <alias from="index.html" to="@@view.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/CMF_BTree_Folder.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/Document.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/Document.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/Document.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="Document">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="document_edit_form" to="@@edit.html"/>
+ <alias from="document_view" to="@@view.html"/>
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/Document.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/Favorite.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/Favorite.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/Favorite.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="Favorite">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="favorite_view" to="@@view.html"/>
+ <alias from="link_edit_form" to="@@edit.html"/>
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/Favorite.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/File.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/File.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/File.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<object name="File">
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/File.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/Folder.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/Folder.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/Folder.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="Folder">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="folder_contents" to="@@edit.html"/>
+ <alias from="folder_edit_form" to="@@properties.html"/>
+ <alias from="index.html" to="@@view.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/Folder.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/Image.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/Image.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/Image.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<object name="Image">
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/Image.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/Link.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/Link.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/Link.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="Link">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="link_edit_form" to="@@edit.html"/>
+ <alias from="link_view" to="@@view.html"/>
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/Link.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/CMFDefault/profiles/views_support/types/News_Item.xml
===================================================================
--- CMF/trunk/CMFDefault/profiles/views_support/types/News_Item.xml	2006-03-10 18:01:59 UTC (rev 65904)
+++ CMF/trunk/CMFDefault/profiles/views_support/types/News_Item.xml	2006-03-10 20:00:26 UTC (rev 65905)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<object name="News Item">
+ <alias from="(Default)" to="@@view.html"/>
+ <alias from="metadata_edit_form" to="@@properties.html"/>
+ <alias from="newsitem_edit_form" to="@@edit.html"/>
+ <alias from="newsitem_view" to="@@view.html"/>
+ <alias from="view" to="@@view.html"/>
+</object>


Property changes on: CMF/trunk/CMFDefault/profiles/views_support/types/News_Item.xml
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the CMF-checkins mailing list