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"
|
||||
i18n_domain="zope">
|
||||
|
||||
<resourceDirectory
|
||||
name="ajax.dojo"
|
||||
directory="dojo"
|
||||
/>
|
||||
<resourceDirectory name="ajax.dojo" directory="dojo" />
|
||||
<!-- <resourceDirectory name="ajax.dojo1" directory="dojo1" /> -->
|
||||
|
||||
<page
|
||||
for="*"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<metal:def define-macro="main">
|
||||
|
||||
<script type="text/javascript">
|
||||
djConfig = { isDebug: true };
|
||||
djConfig = { isDebug: true,
|
||||
parseOnLoad: true };
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="ajax.dojo/dojo.js"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/>
|
||||
|
||||
<page name="controller"
|
||||
for="zope.app.publisher.interfaces.browser.IBrowserView"
|
||||
for="zope.publisher.interfaces.browser.IBrowserView"
|
||||
class="cybertools.browser.controller.Controller"
|
||||
permission="zope.Public"
|
||||
/>
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
$Id$
|
||||
"""
|
||||
|
||||
from zope.publisher.interfaces.browser import IBrowserRequest
|
||||
#from zope.publisher.interfaces.browser import IBrowserRequest
|
||||
from zope.publisher.interfaces.browser import IDefaultBrowserLayer
|
||||
from zope.app.rotterdam import Rotterdam
|
||||
|
||||
|
||||
class liquid(IBrowserRequest):
|
||||
"""The `liquid` layer."""
|
||||
#class liquid(IBrowserRequest):
|
||||
# """The `liquid` layer."""
|
||||
|
||||
|
||||
class Liquid(liquid, Rotterdam):
|
||||
class Liquid(Rotterdam):
|
||||
""" The Liquid skin """
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
i18n_domain="zope"
|
||||
>
|
||||
|
||||
<layer name="liquid"
|
||||
interface="cybertools.browser.liquid.liquid" />
|
||||
<!--<layer name="liquid"
|
||||
interface="cybertools.browser.liquid.liquid" />-->
|
||||
|
||||
<!--<skin name="Liquid"
|
||||
layers="liquid rotterdam default" />-->
|
||||
|
@ -21,27 +21,27 @@
|
|||
<page for="*"
|
||||
name="skin_macros" template="view_macros.pt"
|
||||
permission="zope.View"
|
||||
layer="cybertools.browser.liquid.liquid" />
|
||||
layer="cybertools.browser.liquid.Liquid" />
|
||||
|
||||
<page for="*"
|
||||
name="base_macros" template="view_macros.pt"
|
||||
permission="zope.View"
|
||||
layer="cybertools.browser.liquid.liquid" />
|
||||
layer="cybertools.browser.liquid.Liquid" />
|
||||
|
||||
<page name="controller"
|
||||
for="zope.app.publisher.interfaces.browser.IBrowserView"
|
||||
for="zope.publisher.interfaces.browser.IBrowserView"
|
||||
class="cybertools.browser.liquid.controller.Controller"
|
||||
permission="zope.Public"
|
||||
layer="cybertools.browser.liquid.liquid"
|
||||
layer="cybertools.browser.liquid.Liquid"
|
||||
/>
|
||||
|
||||
<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"
|
||||
layer="cybertools.browser.liquid.liquid" />
|
||||
layer="cybertools.browser.liquid.Liquid" />
|
||||
<resource name="print.css" file="print.css"
|
||||
layer="cybertools.browser.liquid.liquid" />
|
||||
layer="cybertools.browser.liquid.Liquid" />
|
||||
<resource name="custom.css" file="custom.css"
|
||||
layer="cybertools.browser.liquid.liquid" />
|
||||
layer="cybertools.browser.liquid.Liquid" />
|
||||
|
||||
</configure>
|
||||
|
|
|
@ -55,12 +55,12 @@
|
|||
/>
|
||||
|
||||
<!-- browser settings -->
|
||||
|
||||
<browser:tool
|
||||
|
||||
<!--<browser:tool
|
||||
interface=".interfaces.IRelationRegistry"
|
||||
title="Relation Registry"
|
||||
description="Registry for relation objects."
|
||||
/>
|
||||
/>-->
|
||||
|
||||
<browser:addMenuItem
|
||||
title="Relation Registry"
|
||||
|
|
Loading…
Add table
Reference in a new issue