products/CPSonFive.old

changeset 6:a8a86c796382

Moved the widget overrides into the form directory, where it should be.
author lregebro
date Wed, 29 Jun 2005 11:04:28 +0000
parents c6b4dc97c687
children 535654a1c1d5
files form/overrides.zcml form/widget_macros.pt overrides.zcml widget_macros.pt
diffstat 3 files changed, 14 insertions(+), 6 deletions(-) [+]
line diff
     1.1 new file mode 100644
     1.2 --- /dev/null
     1.3 +++ b/form/overrides.zcml
     1.4 @@ -0,0 +1,13 @@
     1.5 +<configure xmlns="http://namespaces.zope.org/zope"
     1.6 +           xmlns:five="http://namespaces.zope.org/five"
     1.7 +           xmlns:browser="http://namespaces.zope.org/browser"
     1.8 +           > 
     1.9 +  
    1.10 +  <browser:page
    1.11 +    for="*"
    1.12 +    name="widget_macros"
    1.13 +    template="widget_macros.pt"
    1.14 +    permission="zope.Public"
    1.15 +    />
    1.16 +    
    1.17 +</configure>
     2.1 rename from widget_macros.pt
     2.2 rename to form/widget_macros.pt
     3.1 --- a/overrides.zcml
     3.2 +++ b/overrides.zcml
     3.3 @@ -3,11 +3,6 @@
     3.4             xmlns:browser="http://namespaces.zope.org/browser"
     3.5             > 
     3.6    
     3.7 -  <browser:page
     3.8 -    for="*"
     3.9 -    name="widget_macros"
    3.10 -    template="widget_macros.pt"
    3.11 -    permission="zope.Public"
    3.12 -    />
    3.13 +  <include file="form/overrides.zcml" />
    3.14      
    3.15  </configure>