[Erp5-report] r9424 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 25 11:03:57 CEST 2006
Author: chris
Date: Fri Aug 25 11:03:54 2006
New Revision: 9424
URL: http://svn.erp5.org?rev=9424&view=rev
Log:
It is now possible not to use a form for layout (but only PT)
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml?rev=9424&r1=9423&r2=9424&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml Fri Aug 25 11:03:54 2006
@@ -93,7 +93,7 @@
is_edit_mode python: not (not(hasattr(context.REQUEST, \'editable_mode\')) or not(context.REQUEST[\'editable_mode\']));\n
editable_mode python: not layout_form and True or (is_edit_mode or ignore_layout);\n
dummy python: request.set(\'editable_mode\', editable_mode);\n
- page_template python: (layout_form and not(ignore_layout)) and getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
+ page_template python: (layout_form and not(ignore_layout)) and (layout_form.meta_type==\'Page Template\' and layout_form.id) or getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
<tal:block metal:use-macro="python: getattr(here, page_template).macros[\'master\']">\n
<tal:block metal:fill-slot="context_bar">\n
<tal:block metal:define-slot="context_bar"/>\n
More information about the Erp5-report
mailing list