[Zope3-checkins]
SVN: Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/
new-style skin and layer setup. I think this is the last one.
Philipp von Weitershausen
philikon at philikon.de
Sun Feb 19 06:27:56 EST 2006
Log message for revision 41690:
new-style skin and layer setup. I think this is the last one.
By the way, when can we move out zwiki, bugtracker, etc.?
Changed:
UU Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/__init__.py
U Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/configure.zcml
-=-
Modified: Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/__init__.py
===================================================================
--- Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/__init__.py 2006-02-19 11:15:10 UTC (rev 41689)
+++ Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/__init__.py 2006-02-19 11:27:56 UTC (rev 41690)
@@ -1 +1,25 @@
-# make this directory a package
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Wiki skin
+
+$Id$
+"""
+from zope.publisher.interfaces.browser import IBrowserRequest
+from zope.app.rotterdam import Rotterdam
+
+class IWikiLayer(IBrowserRequest):
+ """Layer that we register wiki-specific views with"""
+
+class IWikiSkin(IWikiLayer, Rotterdam):
+ """Wiki skin"""
Property changes on: Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/__init__.py
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/configure.zcml
===================================================================
--- Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/configure.zcml 2006-02-19 11:15:10 UTC (rev 41689)
+++ Zope3/branches/philikon-simplify-skinning/src/zwiki/browser/skin/configure.zcml 2006-02-19 11:27:56 UTC (rev 41690)
@@ -3,9 +3,18 @@
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="zwiki"
>
-<browser:layer name="wiki" />
-<browser:skin name="wiki" layers="wiki zope.app.rotterdam.rotterdam default" />
+<browser:layer
+ interface=".IWikiLayer"
+ name="wiki"
+ />
+
+<interface
+ interface=".IWikiSkin"
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
+ name="wiki"
+ />
+
<browser:resource
name="wiki.css" file="wiki.css" layer="wiki" />
More information about the Zope3-Checkins
mailing list