source: products/qPloneGoogleSitemaps/tags/0.5/skins/qPloneGoogleSitemaps/gsm_edit_settings.cpy

Last change on this file was 1, checked in by myroslav, 15 years ago

Building directory structure

File size: 786 bytes
Line 
1## Script (Python) "gsm_edit_settings"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=states, portalTypes, blackout_list, reg_exp, urls
8##title=Configure Plone Google Sitemap
9##
10
11from Products.CMFCore.utils import getToolByName
12from Products.qPloneGoogleSitemaps.utils import setWorkflowTransitions
13import Products.qPloneGoogleSitemaps.config as config
14
15props = getToolByName(context,'portal_properties').googlesitemap_properties
16props.manage_changeProperties( states=states, portalTypes=portalTypes,
17                               blackout_list=blackout_list, reg_exp = reg_exp,
18                               urls = urls)
19
20return state.set(portal_status_message = 'Plone Google Sitemap updated.')
Note: See TracBrowser for help on using the repository browser.