Résolu : problème de localisation avec zope-2.12.
[Plinn.git] / skins / custom_generic / expanded_title.py
1 ## Script (Python) "expanded_title"
2 ##parameters=
3 ##title=Build title which includes site title
4 ##
5 site_title = context.portal_url.getPortalObject().title_or_id()
6 page_title = context.title_or_id()
7
8 if page_title != site_title:
9 page_title = site_title + ": " + page_title
10
11 return page_title