Commit e522c41a authored by Vincent Pelletier's avatar Vincent Pelletier

Add layout support to selection box (tabs when seeing object properties in erp5).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6036 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5cb3cfbc
......@@ -88,7 +88,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<head tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')">\n
<meta name="description" content="Generated by view_selection_box" />\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
<title tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui"></title>\n
<link href="erp5.css" rel="stylesheet" type="text/css" />\n
</head>\n
\n
......@@ -103,7 +103,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
this_form_id form/id | template/id | script/id;\n
current_url python: here.absolute_url() + \'/\' + this_form_id;\n
selection_index request/selection_index | string:;\n
selection_name request/selection_name | string: ">\n
selection_name request/selection_name | string:;\n
ignore_layout request/ignore_layout | python:0;">\n
\n
<tr height="34">\n
<td valign="bottom" align="left" class="Main" height="34">\n
......@@ -162,7 +163,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:define="url action/url">\n
<a tal:content="action/name" href="toto"\n
i18n:translate="" i18n:domain="ui"\n
tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s\' % (selection_index, selection_name);" >\n
tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s&ignore_layout:int=%s\' % (selection_index, selection_name, ignore_layout);" >\n
Info.G&eacute;n&eacute;rales\n
</a>\n
</td>\n
......@@ -171,7 +172,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:define="url action/url">\n
<a tal:content="action/name" href="toto"\n
i18n:translate="" i18n:domain="ui"\n
tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s\' % (selection_index, selection_name);" >\n
tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s&ignore_layout:int=%s\' % (selection_index, selection_name, ignore_layout);" >\n
Info.G&eacute;n&eacute;rales\n
</a>\n
</td>\n
......
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