[CMF-checkins] CVS: CMF/CMFDefault - SyndicationTool.py:1.16.2.1
Yvo Schubbe
schubbe@web.de
Sat, 8 Feb 2003 10:13:56 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv9065/CMFDefault
Modified Files:
Tag: yuppie-collector123-branch
SyndicationTool.py
Log Message:
- changed _actions' making them tuples (Collector #123)
- reverted copyright updates (I was told it's policy *not* to update copyright statements)
=== CMF/CMFDefault/SyndicationTool.py 1.16 => 1.16.2.1 ===
--- CMF/CMFDefault/SyndicationTool.py:1.16 Tue Feb 4 17:38:01 2003
+++ CMF/CMFDefault/SyndicationTool.py Sat Feb 8 10:13:56 2003
@@ -1,7 +1,6 @@
##############################################################################
#
-# Copyright (c) 2001-2003 Zope Corporation and Contributors.
-# All Rights Reserved.
+# Copyright (c) 2001 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.
@@ -47,10 +46,8 @@
__implements__ = ActionProviderBase.__implements__
id = 'portal_syndication'
-
meta_type = 'Default Syndication Tool'
-
- _actions = [ ActionInformation(
+ _actions = ( ActionInformation(
id='syndication'
, title='Syndication'
, action=Expression(
@@ -61,10 +58,9 @@
, category='folder'
, visible=1
)
- ]
+ ,
+ )
- security = ClassSecurityInfo()
-
#Default Sitewide Values
isAllowed = 0
syUpdatePeriod = 'daily'
@@ -72,6 +68,8 @@
syUpdateBase = DateTime()
max_items = 15
+ security = ClassSecurityInfo()
+
#ZMI Methods
manage_options = ( ActionProviderBase.manage_options
+ ( { 'label' : 'Overview'