updated skin definition to avoid deprecation warnings
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2234 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									6c854db208
								
							
						
					
					
						commit
						90fd32c305
					
				
					 6 changed files with 22 additions and 23 deletions
				
			
		|  | @ -5,10 +5,8 @@ | ||||||
|     xmlns:zope="http://namespaces.zope.org/zope" |     xmlns:zope="http://namespaces.zope.org/zope" | ||||||
|     i18n_domain="zope"> |     i18n_domain="zope"> | ||||||
| 
 | 
 | ||||||
|   <resourceDirectory |   <resourceDirectory name="ajax.dojo" directory="dojo" /> | ||||||
|       name="ajax.dojo" |   <!-- <resourceDirectory name="ajax.dojo1" directory="dojo1" /> --> | ||||||
|       directory="dojo" |  | ||||||
|       /> |  | ||||||
| 
 | 
 | ||||||
|   <page |   <page | ||||||
|       for="*" |       for="*" | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| <metal:def define-macro="main"> | <metal:def define-macro="main"> | ||||||
| 
 | 
 | ||||||
|   <script type="text/javascript"> |   <script type="text/javascript"> | ||||||
|       djConfig = { isDebug: true }; |       djConfig = { isDebug: true, | ||||||
|  |                    parseOnLoad: true }; | ||||||
|   </script> |   </script> | ||||||
| 
 | 
 | ||||||
|   <script type="text/javascript" src="ajax.dojo/dojo.js" |   <script type="text/javascript" src="ajax.dojo/dojo.js" | ||||||
|  |  | ||||||
|  | @ -26,7 +26,7 @@ | ||||||
|         /> |         /> | ||||||
| 
 | 
 | ||||||
|   <page name="controller" |   <page name="controller" | ||||||
|         for="zope.app.publisher.interfaces.browser.IBrowserView" |         for="zope.publisher.interfaces.browser.IBrowserView" | ||||||
|         class="cybertools.browser.controller.Controller" |         class="cybertools.browser.controller.Controller" | ||||||
|         permission="zope.Public" |         permission="zope.Public" | ||||||
|         /> |         /> | ||||||
|  |  | ||||||
|  | @ -2,15 +2,15 @@ | ||||||
| $Id$ | $Id$ | ||||||
| """ | """ | ||||||
| 
 | 
 | ||||||
| from zope.publisher.interfaces.browser import IBrowserRequest | #from zope.publisher.interfaces.browser import IBrowserRequest | ||||||
| from zope.publisher.interfaces.browser import IDefaultBrowserLayer | from zope.publisher.interfaces.browser import IDefaultBrowserLayer | ||||||
| from zope.app.rotterdam import Rotterdam | from zope.app.rotterdam import Rotterdam | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class liquid(IBrowserRequest): | #class liquid(IBrowserRequest): | ||||||
|     """The `liquid` layer.""" | #    """The `liquid` layer.""" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class Liquid(liquid, Rotterdam): | class Liquid(Rotterdam): | ||||||
|     """ The Liquid skin """ |     """ The Liquid skin """ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,8 +6,8 @@ | ||||||
|    i18n_domain="zope" |    i18n_domain="zope" | ||||||
|    > |    > | ||||||
| 
 | 
 | ||||||
|   <layer name="liquid" |   <!--<layer name="liquid" | ||||||
|          interface="cybertools.browser.liquid.liquid" /> |          interface="cybertools.browser.liquid.liquid" />--> | ||||||
| 
 | 
 | ||||||
|   <!--<skin name="Liquid" |   <!--<skin name="Liquid" | ||||||
|         layers="liquid rotterdam default" />--> |         layers="liquid rotterdam default" />--> | ||||||
|  | @ -21,27 +21,27 @@ | ||||||
|   <page for="*" |   <page for="*" | ||||||
|         name="skin_macros" template="view_macros.pt" |         name="skin_macros" template="view_macros.pt" | ||||||
|         permission="zope.View" |         permission="zope.View" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
| 
 | 
 | ||||||
|   <page for="*" |   <page for="*" | ||||||
|         name="base_macros" template="view_macros.pt" |         name="base_macros" template="view_macros.pt" | ||||||
|         permission="zope.View" |         permission="zope.View" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
| 
 | 
 | ||||||
|   <page name="controller" |   <page name="controller" | ||||||
|         for="zope.app.publisher.interfaces.browser.IBrowserView" |         for="zope.publisher.interfaces.browser.IBrowserView" | ||||||
|         class="cybertools.browser.liquid.controller.Controller" |         class="cybertools.browser.liquid.controller.Controller" | ||||||
|         permission="zope.Public" |         permission="zope.Public" | ||||||
|         layer="cybertools.browser.liquid.liquid" |         layer="cybertools.browser.liquid.Liquid" | ||||||
|         /> |         /> | ||||||
| 
 | 
 | ||||||
|   <resource name="zope3_tablelayout.css" file="zope3_tablelayout.css" |   <resource name="zope3_tablelayout.css" file="zope3_tablelayout.css" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
|   <resource name="base.css"   file="base.css" |   <resource name="base.css"   file="base.css" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
|   <resource name="print.css"  file="print.css" |   <resource name="print.css"  file="print.css" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
|   <resource name="custom.css" file="custom.css" |   <resource name="custom.css" file="custom.css" | ||||||
|         layer="cybertools.browser.liquid.liquid" /> |         layer="cybertools.browser.liquid.Liquid" /> | ||||||
| 
 | 
 | ||||||
| </configure> | </configure> | ||||||
|  |  | ||||||
|  | @ -56,11 +56,11 @@ | ||||||
| 
 | 
 | ||||||
|   <!-- browser settings --> |   <!-- browser settings --> | ||||||
| 
 | 
 | ||||||
|   <browser:tool |   <!--<browser:tool | ||||||
|       interface=".interfaces.IRelationRegistry" |       interface=".interfaces.IRelationRegistry" | ||||||
|       title="Relation Registry" |       title="Relation Registry" | ||||||
|       description="Registry for relation objects." |       description="Registry for relation objects." | ||||||
|       /> |       />--> | ||||||
| 
 | 
 | ||||||
|   <browser:addMenuItem |   <browser:addMenuItem | ||||||
|       title="Relation Registry" |       title="Relation Registry" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm