[CMF-checkins] CVS: CMF - enableSyndication.py:1.1 enableSyndication.dtml:NONE
andrew@digicool.com
andrew@digicool.com
Wed, 27 Jun 2001 12:13:20 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak.digicool.com:/tmp/cvs-serv14364
Added Files:
enableSyndication.py
Removed Files:
enableSyndication.dtml
Log Message:
*converted to python script.
--- Added File enableSyndication.py in package CMF ---
## Script (Python) "enableSyndication"
##title=Enable Syndication for a resource
##parameters=
if context.portal_syndication.isSiteSyndicationAllowed():
context.portal_syndication.enableSyndication(context)
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + '/synPropertiesForm?portal_status_message=Syndication+Enabled')
else:
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + '/synPropertiesForm?portal_status_message=Syndication+Not+Allowed')
--- Removed file enableSyndication.dtml from package CMF --