root/CPSSkins4Five/trunk/site.py

Revision 2954, 1.2 kB (checked in by jmorliaguet, 3 years ago)

- added a link to the theme manager

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 ##############################################################################
2 #
3 # Copyright (c) 2006 Nuxeo and Contributors.
4 # All Rights Reserved.
5 #
6 # This software is subject to the provisions of the Zope Public License,
7 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
8 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11 # FOR A PARTICULAR PURPOSE.
12 #
13 ##############################################################################
14 """
15
16 $Id$
17 """
18
19 __docformat__ = "reStructuredText"
20
21 # zope2
22 from OFS.Folder import Folder
23
24 # zope3
25 from zope.component.interfaces import IComponentLookup
26 from zope.interface import implementsOnly, Interface
27
28 class ICPSSkinsSite(Interface):
29     """A CPSSkins v3 site marker interface"""
30
31 class CPSSkinsSite(Folder):
32     """A CPSSkins v3 site
33     """
34     meta_type = portal_type = "CPSSkins v3 Site"
35
36     implementsOnly(ICPSSkinsSite)
37
38     manage_options = (
39         Folder.manage_options + (
40             { 'label': 'Themes manager',
41               'action': './++skin++cpsskins/@@themes-manager.html' },
42         ))
Note: See TracBrowser for help on using the browser.