Commit 84382e15 authored by Fabien Morin's avatar Fabien Morin

add some autocomplete="off" on login and password fields. This is not valid...

add some autocomplete="off" on login and password fields. This is not valid w3c but most the browsers understand it and I don't know how to do this in a valid way.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23697 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dbae702f
...@@ -59,8 +59,8 @@ Description:\n ...@@ -59,8 +59,8 @@ Description:\n
<p><tal:block i18n:translate="" i18n:domain="ui">Password</tal:block></p>\n <p><tal:block i18n:translate="" i18n:domain="ui">Password</tal:block></p>\n
</div>\n </div>\n
<div class="fields">\n <div class="fields">\n
<p><input type="text" size="20" id="__ac_name" name="__ac_name"/></p>\n <p><input type="text" size="20" id="__ac_name" name="__ac_name" autocomplete="off"/></p>\n
<p><input type="password" size="20" id="password" name="__ac_password"/></p>\n <p><input type="password" size="20" id="password" name="__ac_password" autocomplete="off"/></p>\n
</div>\n </div>\n
</div>\n </div>\n
<div class="clear"></div>\n <div class="clear"></div>\n
......
...@@ -118,9 +118,9 @@ Description:\n ...@@ -118,9 +118,9 @@ Description:\n
i18n:translate="" i18n:domain="ui">Password</tal:block></p>\n i18n:translate="" i18n:domain="ui">Password</tal:block></p>\n
</div>\n </div>\n
<div>\n <div>\n
<p><input type="text" size="20" id="__ac_name" name="__ac_name"/></p>\n <p><input type="text" size="20" id="__ac_name" name="__ac_name" autocomplete="off"/></p>\n
<p tal:condition="here/portal_membership/isAnonymousUser"><input\n <p tal:condition="here/portal_membership/isAnonymousUser"><input\n
type="password" size="20" id="password" name="__ac_password"/></p>\n type="password" size="20" id="password" name="__ac_password" autocomplete="off"/></p>\n
</div>\n </div>\n
</div>\n </div>\n
<div class="clear"></div>\n <div class="clear"></div>\n
......
318 320
\ No newline at end of file \ No newline at end of file
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