Commit c3aae8fe authored by Yoshinori Okuji's avatar Yoshinori Okuji

Set the charset of RESPONSE to UTF-8. Use content/Title instead content/title....

Set the charset of RESPONSE to UTF-8. Use content/Title instead content/title. Capitalize some words for consistency.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 323b562b
...@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:define-macro="master"> metal:define-macro="master">
<head> <head tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;; charset=utf-8')">
<meta name="description" content="Generated by menu_box" /> <meta name="description" content="Generated by menu_box" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui">The title</title> <title tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui">The title</title>
...@@ -64,15 +64,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -64,15 +64,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<span tal:repeat="content here/allowedContentTypes | nothing" <span tal:repeat="content here/allowedContentTypes | nothing"
tal:on-error="nothing"> tal:on-error="nothing">
<option value="" tal:attributes="value python: 'add ' + content.id" <option value="" tal:attributes="value python: 'add ' + content.id"
i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content/title | content/id" i18n:name="portal_type">portal type</tal:block></option> i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content/Title" i18n:name="portal_type">portal type</tal:block></option>
</span> </span>
<option disabled i18n:translate="" i18n:domain="ui">-- workflows --</option> <option disabled i18n:translate="" i18n:domain="ui">-- Workflows --</option>
<span tal:repeat="action workflow_actions"> <span tal:repeat="action workflow_actions">
<option value="1" tal:content="action/name" <option value="1" tal:content="action/name"
i18n:translate="" i18n:domain="ui" i18n:translate="" i18n:domain="ui"
tal:attributes="value python: 'workflow ' + action['url']">Saut</option> tal:attributes="value python: 'workflow ' + action['url']">Saut</option>
</span> </span>
<option disabled i18n:translate="" i18n:domain="ui">-- object --</option> <option disabled i18n:translate="" i18n:domain="ui">-- Object --</option>
<span tal:repeat="action object_actions"> <span tal:repeat="action object_actions">
<option value="1" tal:content="action/name" <option value="1" tal:content="action/name"
i18n:translate="" i18n:domain="ui" i18n:translate="" i18n:domain="ui"
......
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