[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/zopetop - configure.zcml:1.4
Jim Fulton
jim@zope.com
Mon, 30 Dec 2002 18:50:59 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/zopetop
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/skins/zopetop
Modified Files:
configure.zcml
Log Message:
Changed all single-page browser:view to use browser:page instead.
Got rid of superfluous defaultView directives.
Moved menu specifications into page tags, where possible.
=== Zope3/src/zope/app/browser/skins/zopetop/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/skins/zopetop/configure.zcml:1.3 Thu Dec 26 15:20:48 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/configure.zcml Mon Dec 30 18:50:29 2002
@@ -5,120 +5,218 @@
<browser:skin name="ZopeTop" layers="templates images css default" />
- <browser:view
+ <browser:page
+ for="*"
name="standard_macros"
permission="zope.View"
- factory="zope.app.browser.skins.zopetop.standardmacros.StandardMacros"
+ class="zope.app.browser.skins.zopetop.standardmacros.StandardMacros"
allowed_interface="zope.interface.common.mapping.IItemMapping"
layer="templates"
/>
- <browser:view name="view_macros"
- permission="zope.View"
- template="www/view_macros.pt"
- layer="templates" />
-
- <browser:view name="widget_macros"
- permission="zope.View"
- template="www/widget_macros.pt"
- layer="templates" />
-
- <browser:view name="dialog_macros"
- permission="zope.View"
- template="www/dialog_macros.pt"
- layer="templates" />
-
- <browser:resource name="pdlib.js"
- file="www/pdlib.js"
- layer="templates" />
-
- <browser:resource name="zopetop_scripts.js"
- file="www/zopetop_scripts.js"
- layer="templates" />
-
- <browser:resource name="zopetopbasic.css"
- file="www/zopetopbasic.css"
- layer="css" />
- <browser:resource name="zopetopwidgets.css"
- file="www/zopetopwidgets.css"
- layer="css" />
- <browser:resource name="zopetopstructure.css"
- file="www/zopetopstructure.css"
- layer="css" />
- <browser:resource name="service_manager.gif"
- file="www/service_manager.gif"
- layer="images" />
- <browser:resource name="arrowup.gif"
- file="www/arrowup.gif"
- layer="images" />
- <browser:resource name="zope3logo.jpg"
- file="www/zope3logo.jpg"
- layer="images" />
- <browser:resource name="bg_top.jpg"
- file="www/bg_top.jpg"
- layer="images" />
- <browser:resource name="bg_bar.jpg"
- file="www/bg_bar.jpg"
- layer="images" />
- <browser:resource name="closed_folder.gif"
- file="www/closed_folder.gif"
- layer="images" />
- <browser:resource name="spacer1.gif"
- file="www/spacer1.gif"
- layer="images" />
- <browser:resource name="spacer2.gif"
- file="www/spacer2.gif"
- layer="images" />
- <browser:resource name="spacer3.gif"
- file="www/spacer3.gif"
- layer="images" />
- <browser:resource name="x.gif"
- file="www/x.gif"
- layer="images" />
- <browser:resource name="new_file.gif"
- file="www/new_file.gif"
- layer="images" />
- <browser:resource name="new_folder.gif"
- file="www/new_folder.gif"
- layer="images" />
- <browser:resource name="new_template.gif"
- file="www/new_template.gif"
- layer="images" />
- <browser:resource name="control_panels.gif"
- file="www/control_panels.gif"
- layer="images" />
- <browser:resource name="system_security.gif"
- file="www/system_security.gif"
- layer="images" />
- <browser:resource name="user_accounts.gif"
- file="www/user_accounts.gif"
- layer="images" />
- <browser:resource name="control_panels_folder.gif"
- file="www/control_panels_folder.gif"
- layer="images" />
- <browser:resource name="add_more.gif"
- file="www/add_more.gif"
- layer="images" />
- <browser:resource name="bg_root_folder.jpg"
- file="www/bg_root_folder.jpg"
- layer="images" />
- <browser:resource name="plus.gif"
- file="www/plus.gif"
- layer="images" />
- <browser:resource name="minus.gif"
- file="www/minus.gif"
- layer="images" />
- <browser:resource name="users_folder.gif"
- file="www/users_folder.gif"
- layer="images" />
- <browser:resource name="website_settings.gif"
- file="www/website_settings.gif"
- layer="images" />
- <browser:resource name="bg_content.jpg"
- file="www/bg_content.jpg"
- layer="images" />
- <browser:resource name="help.gif"
- file="www/help.gif"
- layer="images" />
+ <browser:page
+ for="*"
+ name="view_macros"
+ permission="zope.View"
+ template="www/view_macros.pt"
+ layer="templates"
+ />
+
+ <browser:page
+ for="*"
+ name="widget_macros"
+ permission="zope.View"
+ template="www/widget_macros.pt"
+ layer="templates"
+ />
+
+ <browser:page
+ for="*"
+ name="dialog_macros"
+ permission="zope.View"
+ template="www/dialog_macros.pt"
+ layer="templates"
+ />
+
+ <browser:resource
+ name="pdlib.js"
+ file="www/pdlib.js"
+ layer="templates"
+ />
+
+ <browser:resource
+ name="zopetop_scripts.js"
+ file="www/zopetop_scripts.js"
+ layer="templates"
+ />
+
+ <browser:resource
+ name="zopetopbasic.css"
+ file="www/zopetopbasic.css"
+ layer="css"
+ />
+
+ <browser:resource
+ name="zopetopwidgets.css"
+ file="www/zopetopwidgets.css"
+ layer="css"
+ />
+
+ <browser:resource
+ name="zopetopstructure.css"
+ file="www/zopetopstructure.css"
+ layer="css"
+ />
+
+ <browser:resource
+ name="service_manager.gif"
+ file="www/service_manager.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="arrowup.gif"
+ file="www/arrowup.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="zope3logo.jpg"
+ file="www/zope3logo.jpg"
+ layer="images"
+ />
+
+ <browser:resource
+ name="bg_top.jpg"
+ file="www/bg_top.jpg"
+ layer="images"
+ />
+
+ <browser:resource
+ name="bg_bar.jpg"
+ file="www/bg_bar.jpg"
+ layer="images"
+ />
+
+ <browser:resource
+ name="closed_folder.gif"
+ file="www/closed_folder.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="spacer1.gif"
+ file="www/spacer1.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="spacer2.gif"
+ file="www/spacer2.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="spacer3.gif"
+ file="www/spacer3.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="x.gif"
+ file="www/x.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="new_file.gif"
+ file="www/new_file.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="new_folder.gif"
+ file="www/new_folder.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="new_template.gif"
+ file="www/new_template.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="control_panels.gif"
+ file="www/control_panels.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="system_security.gif"
+ file="www/system_security.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="user_accounts.gif"
+ file="www/user_accounts.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="control_panels_folder.gif"
+ file="www/control_panels_folder.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="add_more.gif"
+ file="www/add_more.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="bg_root_folder.jpg"
+ file="www/bg_root_folder.jpg"
+ layer="images"
+ />
+
+ <browser:resource
+ name="plus.gif"
+ file="www/plus.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="minus.gif"
+ file="www/minus.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="users_folder.gif"
+ file="www/users_folder.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="website_settings.gif"
+ file="www/website_settings.gif"
+ layer="images"
+ />
+
+ <browser:resource
+ name="bg_content.jpg"
+ file="www/bg_content.jpg"
+ layer="images"
+ />
+
+ <browser:resource
+ name="help.gif"
+ file="www/help.gif"
+ layer="images"
+ />
+
</zopeConfigure>