Changeset 1509 in products for quintagroup.seoptimizer
- Timestamp:
- Jan 4, 2010 4:40:19 PM (14 years ago)
- Location:
- quintagroup.seoptimizer/trunk/quintagroup/seoptimizer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/adapters.py
r1313 r1509 15 15 16 16 def listKeywords(self): 17 """ See interface. 18 """ 17 19 portal_props = getToolByName(self.context, 'portal_properties') 18 20 seo_props = getToolByName(portal_props, 'seo_properties', None) … … 53 55 54 56 def getMappingMetaTags(self): 57 """ See interface. 58 """ 55 59 metadata_name = SortedDict() 56 60 if self.seo_props: -
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/viewlets.py
r1313 r1509 7 7 8 8 class TitleCommentViewlet(ViewletBase): 9 """ Simple viewlet for custom title rendering. 10 """ 9 11 10 12 def update(self): … … 48 50 49 51 class CustomScriptViewlet( ViewletBase ): 50 52 """ Simple viewlet for custom script rendering. 53 """ 51 54 def getCustomScript( self ): 52 55 context = self.context.aq_inner … … 62 65 63 66 class CanonicalUrlViewlet( ViewletBase ): 64 """ 65 simple viewlet for canonical url link rendering 67 """ Simple viewlet for canonical url link rendering. 66 68 """ 67 69 -
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/util.py
r1317 r1509 11 11 12 12 class SortedDict(dict): 13 """ A sorted dictionary. 14 """ 13 15 security = ClassSecurityInfo() 14 16 … … 47 49 48 50 def removeSkin(self, layer): 49 """Remove layers""" 51 """ Remove layers. 52 """ 50 53 skinstool = getToolByName(self, 'portal_skins') 51 54 for skinName in skinstool.getSkinSelections(): … … 60 63 61 64 def removeActions(self): 65 """ Remove actions. 66 """ 62 67 tool = getToolByName(self, 'portal_types') 63 68 for ptype in tool.objectValues(): … … 70 75 71 76 def remove_configlets( context, conf_ids ): 77 """ Remove configlets. 78 """ 72 79 configTool = getToolByName(context, 'portal_controlpanel', None) 73 80 if configTool: … … 76 83 77 84 def uninstall( context ): 85 """ Do customized uninstallation. 86 """ 78 87 if context.readDataFile('seo_uninstall.txt') is None: 79 88 return
Note: See TracChangeset
for help on using the changeset viewer.