[Erp5-report] r6893 - /erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 24 14:43:25 CEST 2006


Author: vincent
Date: Mon Apr 24 14:43:24 2006
New Revision: 6893

URL: http://svn.erp5.org?rev=6893&view=rev
Log:
Add layout support.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_create_relation_dialog.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_create_relation_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_create_relation_dialog.xml?rev=6893&r1=6892&r2=6893&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_create_relation_dialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_create_relation_dialog.xml Mon Apr 24 14:43:24 2006
@@ -72,22 +72,14 @@
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
 -->\n
 </span>\n
-\n
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en"\n
-    xml:lang="en"\n
-    xmlns:tal="http://xml.zope.org/namespaces/tal"\n
-    xmlns:metal="http://xml.zope.org/namespaces/metal"\n
-    xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
-    metal:use-macro="here/list_dialog_master/macros/master">\n
-\n
-  <head tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')">\n
-      <meta name="description" content="Generated by form_create_relation_dialog" />\n
-      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
-      <title tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui">The title</title>\n
-      <link href="erp5.css" rel="stylesheet" type="text/css"/>\n
-  </head>\n
-\n
-  <body><div metal:fill-slot="main">\n
+<tal:block tal:define="layout_form_id here/getApplicableLayout | nothing;\n
+                       ignore_layout request/ignore_layout | nothing;\n
+                       editable_mode request/editable_mode | nothing;\n
+                       global layout_form python:(not layout_form_id or ignore_layout) or getattr(here, layout_form_id, None);\n
+                       default_layout string:list_dialog_master;\n
+                       layout_id layout_form/pt | default_layout;">\n
+<tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n
+  <tal:block metal:fill-slot="main">\n
           <div class="Search">\n
 \n
 \n
@@ -132,10 +124,9 @@
       <input type="hidden" name="default_module" value="" tal:attributes="value request/default_module">\n
 \n
           </div>\n
-      </div>\n
-  </body>\n
-</html>\n
-
+  </tal:block>\n
+</tal:block>\n
+</tal:block>
 
 ]]></string> </value>
         </item>




More information about the Erp5-report mailing list