Author: jmorliaguet
Date: Fri Nov  4 12:06:15 2005
New Revision: 28967

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/browser/configure.zcml
Log:

- removed the add forms directives for theme elements



Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/configure.zcml
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/configure.zcml     
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/configure.zcml     Fri Nov 
 4 12:06:15 2005
@@ -19,135 +19,15 @@
 
   </view>
 
-  <!-- Theme -->
+  <!-- Container views for elements -->
 
   <containerViews
-      for="cpsskins.elements.theme.ITheme"
+      for="cpsskins.elements.interfaces.IElement"
       contents="zope.ManageContent"
       index="zope.View"
       add="zope.ManageContent"
   />
 
-  <addMenuItem
-      title="Theme"
-      description="A theme"
-      class="cpsskins.elements.theme.Theme"
-      view="AddTheme.html"
-      permission="zope.ManageContent"
-  />
-
-  <addform
-      schema="cpsskins.elements.interfaces.ITheme"
-      label="Add a theme"
-      content_factory="cpsskins.elements.theme.Theme"
-      name="AddTheme.html"
-      template="skin/addform.pt"
-      keyword_arguments="title"
-      permission="zope.ManageContent" 
-  />
-
-
-  <!-- Page -->
-
-  <addMenuItem
-      title="Page"
-      description="A page"
-      class="cpsskins.elements.themepage.ThemePage"
-      permission="zope.ManageContent"
-      view="AddThemePage.html"
-  />
-
-  <containerViews
-      for="cpsskins.elements.themepage.IThemePage"
-      contents="zope.ManageContent"
-      index="zope.View"
-      add="zope.ManageContent"
-  />
-
-  <addform
-      schema="cpsskins.elements.interfaces.IThemePage"
-      label="Add a page"
-      content_factory="cpsskins.elements.themepage.ThemePage"
-      name="AddThemePage.html"
-      keyword_arguments="title"
-      permission="zope.ManageContent" 
-  />
-
-
-  <!-- Page block -->
-
-  <addMenuItem
-      title="Page block"
-      description="A page block"
-      class="cpsskins.elements.pageblock.PageBlock"
-      permission="zope.ManageContent"
-      view="AddPageBlock.html"
-  />
-
-  <containerViews
-      for="cpsskins.elements.interfaces.IPageBlock"
-      contents="zope.ManageContent"
-      index="zope.View"
-      add="zope.ManageContent"
-  />
-
-  <addform
-      schema="cpsskins.elements.interfaces.IPageBlock"
-      label="Add a page block"
-      content_factory="cpsskins.elements.pageblock.PageBlock"
-      name="AddPageBlock.html"
-      keyword_arguments="title"
-      permission="zope.ManageContent" 
-  />
-
-
-  <!-- Cell -->
-
-  <addMenuItem
-      title="Cell"
-      description="A Cell"
-      class="cpsskins.elements.cell.Cell"
-      permission="zope.ManageContent"
-      view="AddCell.html"
-  />
-
-  <containerViews
-      for="cpsskins.elements.cell.ICell"
-      contents="zope.ManageContent"
-      index="zope.View"
-      add="zope.ManageContent"
-  />
-
-  <addform
-      schema="cpsskins.elements.interfaces.ICell"
-      label="Add a Cell"
-      content_factory="cpsskins.elements.cell.Cell"
-      name="AddCell.html"
-      keyword_arguments="title"
-      permission="zope.ManageContent" 
-  />
-
-
-  <!-- Slot -->
-
-  <addMenuItem
-      title="Slot"
-      description="A Slot"
-      class="cpsskins.elements.slot.Slot"
-      permission="zope.ManageContent"
-      view="AddSlot.html"
-  />
-
-  <addform
-      schema="cpsskins.elements.interfaces.ISlot"
-      label="Add a Slot"
-      content_factory="cpsskins.elements.slot.Slot"
-      name="AddSlot.html"
-      keyword_arguments="title _slot"
-      permission="zope.ManageContent" 
-  />
-
-
   <!-- Theme management utility -->
 
   <addMenuItem
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to