[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - add.pt:1.14 configure.zcml:1.18

Godefroid Chapelle cvs-admin at zope.org
Sun Dec 7 05:05:18 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv5496/app/browser/container

Modified Files:
	add.pt configure.zcml 
Log Message:
merge gotcha-usage-branch

this finishes support for usage :

top-level variable in page templates
initialized from ZCML

main goal is to use a unique template per skin

now, I should walk all templates that relies on dialog_macros.pt
and convert them to template.pt 




=== Zope3/src/zope/app/browser/container/add.pt 1.13 => 1.14 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.13	Tue Sep 23 21:10:35 2003
+++ Zope3/src/zope/app/browser/container/add.pt	Sun Dec  7 05:04:47 2003
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/dialog">
+<html metal:use-macro="views/standard_macros/page">
 <body>
 <div metal:fill-slot="body">
 


=== Zope3/src/zope/app/browser/container/configure.zcml 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.17	Wed Dec  3 00:40:56 2003
+++ Zope3/src/zope/app/browser/container/configure.zcml	Sun Dec  7 05:04:47 2003
@@ -8,7 +8,8 @@
       menu="zmi_actions" title="Add"
       class="zope.app.browser.container.adding.ContentAdding"
       permission="zope.ManageContent"
-      allowed_attributes="addingInfo">
+      allowed_attributes="addingInfo"
+      usage="addingdialog" >
 
     <page name="index.html"  template="add.pt" />
     <page name="action.html" attribute="action" />




More information about the Zope3-Checkins mailing list