[Erp5-report] r25560 - /erp5/trunk/products/ERP5/Document/WebSite.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Feb 14 10:30:44 CET 2009
Author: jp
Date: Sat Feb 14 10:30:44 2009
New Revision: 25560
URL: http://svn.erp5.org?rev=25560&view=rev
Log:
Support portal_skin parameter (in the same way as the rest of ERP5)
Modified:
erp5/trunk/products/ERP5/Document/WebSite.py
Modified: erp5/trunk/products/ERP5/Document/WebSite.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSite.py?rev=25560&r1=25559&r2=25560&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSite.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/WebSite.py [utf8] Sat Feb 14 10:30:44 2009
@@ -110,7 +110,7 @@
# If a skin selection is defined in this web site, change the skin now.
skin_selection_name = container.getSkinSelectionName()
- if skin_selection_name: # XXX missing support to portal_skin parameter
+ if skin_selection_name and request.get('portal_skin', None) is None:
container.getPortalObject().changeSkin(skin_selection_name)
# Set default language if any
More information about the Erp5-report
mailing list