Commit ff897cfc authored by Vincent Pelletier's avatar Vincent Pelletier

Add layout support.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6893 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ef79aa32
...@@ -72,22 +72,14 @@ along with this program; if not, write to the Free Software\n ...@@ -72,22 +72,14 @@ along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
-->\n -->\n
</span>\n </span>\n
\n <tal:block tal:define="layout_form_id here/getApplicableLayout | nothing;\n
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"\n ignore_layout request/ignore_layout | nothing;\n
xml:lang="en"\n editable_mode request/editable_mode | nothing;\n
xmlns:tal="http://xml.zope.org/namespaces/tal"\n global layout_form python:(not layout_form_id or ignore_layout) or getattr(here, layout_form_id, None);\n
xmlns:metal="http://xml.zope.org/namespaces/metal"\n default_layout string:list_dialog_master;\n
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n layout_id layout_form/pt | default_layout;">\n
metal:use-macro="here/list_dialog_master/macros/master">\n <tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n
\n <tal:block metal:fill-slot="main">\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
<div class="Search">\n <div class="Search">\n
\n \n
\n \n
...@@ -132,10 +124,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -132,10 +124,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<input type="hidden" name="default_module" value="" tal:attributes="value request/default_module">\n <input type="hidden" name="default_module" value="" tal:attributes="value request/default_module">\n
\n \n
</div>\n </div>\n
</div>\n </tal:block>\n
</body>\n </tal:block>\n
</html>\n </tal:block>
]]></string> </value> ]]></string> </value>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment