From: Graeme M. <ma...@us...> - 2005-08-29 11:48:15
|
Update of /cvsroot/mailmanager/mailmanager/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7119 Modified Files: Tag: UI_MARK_2 CustomerSettings.zpt UserSettings.zpt Log Message: Validation tweaks. Index: CustomerSettings.zpt =================================================================== RCS file: /cvsroot/mailmanager/mailmanager/www/CustomerSettings.zpt,v retrieving revision 1.12.4.6 retrieving revision 1.12.4.7 diff -u -d -r1.12.4.6 -r1.12.4.7 --- CustomerSettings.zpt 18 Aug 2005 15:32:18 -0000 1.12.4.6 +++ CustomerSettings.zpt 29 Aug 2005 11:48:06 -0000 1.12.4.7 @@ -68,18 +68,18 @@ <input name="real_name" id="real_name" size="30" tal:attributes="value person/real_name | nothing" /><br /> <label for="username" i18n:translate="username">Username</label> <span tal:condition="python:section == 'add'" tal:omit-tag=""> - <input id="username" name="username" size="12" maxlength="12" tal:attributes="value request/username | nothing" /><span tal:omit-tag="" i18n:translate="max_12_chars">(max 12 characters)</span> + <input id="username" name="username" size="12" maxlength="12" tal:attributes="value request/username | nothing" /> </span> <span tal:condition="python:section == 'edit'" tal:omit-tag=""> <input name="username" type="hidden" tal:attributes="value request/username" /> - <span tal:replace="request/username" tal:omit-tag="">admin</span><span tal:omit-tag="" i18n:translate="max_12_chars">(max 12 characters)</span> - </span><br /> + <span tal:replace="request/username" tal:omit-tag="">admin</span> + </span><span tal:omit-tag="" i18n:translate="max_12_chars">(max 12 characters)</span><br /> <label for="password" i18n:translate="password">Password</label> <input id="password" name="password" type="password" size="12" maxlength="12" tal:attributes="value python:test(section=='edit', 'password', None)" /><br /> <label for="confirm" i18n:translate="confirm_password">Confirm Password</label> - <input name="confirm" type="password" size="12" maxlength="12" tal:attributes="value python:test(section == 'edit', 'pconfirm', None)" /><br /> + <input id="confirm" name="confirm" type="password" size="12" maxlength="12" tal:attributes="value python:test(section == 'edit', 'pconfirm', None)" /><br /> <label for="access:lines" i18n:translate="access_tickets">Access Tickets</label> <textarea tal:define="access python:here.sql.getCustomerAddresses(username=request.get('username'))" tal:content="python:'\n'.join([x.access_email for x in access])" id="access:lines" name="access:lines" rows="4" cols="40"> Index: UserSettings.zpt =================================================================== RCS file: /cvsroot/mailmanager/mailmanager/www/UserSettings.zpt,v retrieving revision 1.19.4.6 retrieving revision 1.19.4.7 diff -u -d -r1.19.4.6 -r1.19.4.7 --- UserSettings.zpt 29 Aug 2005 11:34:58 -0000 1.19.4.6 +++ UserSettings.zpt 29 Aug 2005 11:48:06 -0000 1.19.4.7 @@ -89,9 +89,9 @@ <input id="real_name" name="real_name" size="30" tal:attributes="value person/real_name | nothing" /><br /> <label for="username" i18n:translate="username">Username</label> <span tal:condition="python:section == 'add'" tal:omit-tag=""> - <input name="username" size="12" maxlength="12" tal:attributes="value request/username | nothing" /> + <input id="username" name="username" size="12" maxlength="12" tal:attributes="value request/username | nothing" /> </span> - <span tal:condition="python:section == 'edit'"> + <span tal:condition="python:section == 'edit'" tal:omit-tag=""> <input name="username" type="hidden" tal:attributes="value request/username" /> <span tal:replace="request/username"> admin @@ -112,7 +112,7 @@ <input id="settings" name="settings" value="true" type="checkbox" tal:attributes="checked person/settings | nothing" /><label i18n:translate="settings">Settings</label><br /> <label for="signature" i18n:translate="signature">Signature</label> - <textarea name="signature" cols="60" rows="4" tal:content="person/signature | nothing"> + <textarea id="signature" name="signature" cols="60" rows="4" tal:content="person/signature | nothing"> </textarea> <input type="hidden" name="section" tal:attributes="value section" /> |