Zope Subversion Repository

  Zope

Zope: zamplugin.contents/trunk/src/zamplugin/contents/plugin.py

File: [Zope] / zamplugin.contents / trunk / src / zamplugin / contents / plugin.py (download) (as text)
Revision: 85320, Sun Apr 13 02:20:29 2008 UTC (5 years, 2 months ago) by rogerineichen
File size: 1280 byte(s)
Added initial implementation
##############################################################################
#
# Copyright (c) 2007 Zope Foundation 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.
#
##############################################################################
"""
$Id: __init__.py 97 2007-03-29 22:58:27Z rineichen $
"""
__docformat__ = "reStructuredText"

import zope.component

from z3c.baseregistry import baseregistry

from zam.api.i18n import MessageFactory as _
from zam.api import plugin


ContentsBaseRegistry = baseregistry.BaseComponents(
    zope.component.globalSiteManager, 'zamplugin.contents')


class ContentsPlugin(plugin.BaseRegistryPlugin):
    """ZAM contents.html plugin for IContainer."""

    registry = ContentsBaseRegistry

    title = _("Container management page")

    description = _("This container management page is configured for "
                    "IReadContainer.")

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help