[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/onlinehelp - __init__.py:1.1 configure.zcml:1.1 standardmacros.py:1.1
Roger Ineichen
roger@projekt01.ch
Tue, 29 Jul 2003 18:28:05 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/onlinehelp
In directory cvs.zope.org:/tmp/cvs-serv8494
Added Files:
__init__.py configure.zcml standardmacros.py
Log Message:
Added new skin for Onlinehelp
=== Added File Zope3/src/zope/app/browser/skins/onlinehelp/__init__.py ===
#
# This file is necessary to make this directory a package.
=== Added File Zope3/src/zope/app/browser/skins/onlinehelp/configure.zcml ===
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'
>
<browser:skin name="Onlinehelp" layers="onlinehelp images css default" />
<browser:page
for="*"
name="standard_macros"
permission="zope.View"
class="zope.app.browser.skins.onlinehelp.standardmacros.StandardMacros"
allowed_interface="zope.interface.common.mapping.IItemMapping"
layer="onlinehelp"
/>
<browser:page
for="*"
name="skin_macros"
permission="zope.View"
template="www/template.pt"
layer="onlinehelp"
/>
<browser:page
for="*"
name="view_macros"
permission="zope.View"
template="www/view_macros.pt"
layer="onlinehelp"
/>
<browser:resource
name="favicon.png"
file="www/favicon.png"
layer="onlinehelp"
/>
<browser:resource
name="onlinehelp.css"
file="www/onlinehelp.css"
layer="css"
/>
<browser:resource
name="zope3onlinehelplogo.gif"
file="www/zope3onlinehelplogo.gif"
layer="images"
/>
</zopeConfigure>
=== Added File Zope3/src/zope/app/browser/skins/onlinehelp/standardmacros.py ===
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################
"""Standard macros for page templates in the ZMI
The macros are drawn from various different page templates.
"""
from zope.app.browser.skins.basic.standardmacros import StandardMacros as BaseMacros
#class StandardMacros(BaseMacros):
# macro_pages = ('skin_macros',
# 'view_macros',
# 'dialog_macros')
class StandardMacros(BaseMacros):
macro_pages = ('skin_macros',
'view_macros')