diff options
author | chrisaga <chrisaga@piwigo.org> | 2006-07-22 09:21:40 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2006-07-22 09:21:40 +0000 |
commit | e3c4d79f5be8d732185c151f9ac84ff0ddb51166 (patch) | |
tree | 192dd18d159e705c5998dda7a8f09ad15fce1112 /template/yoga/register.tpl | |
parent | a15839b18305b53d9767dd58ae03b1e6d690ac67 (diff) |
fix bugs 244: different display of checkbox in IE/firefox and 484: Missing onfocus/onblur
in some user section *.tpl and many admin section *.tpl
handle FORM elements with a behaviour (inputfix.htc) in IE
the behaviour sets onfocus and onblur events too (no longer needed in *.tpl)
other browsers use css selector :focus and [type=___]
git-svn-id: http://piwigo.org/svn/trunk@1491 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/register.tpl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/template/yoga/register.tpl b/template/yoga/register.tpl index be3fb4a79..c047145af 100644 --- a/template/yoga/register.tpl +++ b/template/yoga/register.tpl @@ -28,28 +28,25 @@ <span class="property"> <label for="login">* {lang:Username}</label> </span> - <input type="text" name="login" id="login" value="{F_LOGIN}" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input type="text" name="login" id="login" value="{F_LOGIN}" > </li> - <li> <span class="property"> <label for="password">* {lang:Password}</label> </span> - <input type="password" name="password" id="password" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input type="password" name="password" id="password" > </li> - <li> <span class="property"> <label for="password_conf">* {lang:Confirm Password}</label> </span> - <input type="password" name="password_conf" id="password_conf" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input type="password" name="password_conf" id="password_conf" > </li> - <li> <span class="property"> <label for="mail_address">{lang:Mail address}</label> </span> - <input type="text" name="mail_address" id="mail_address" value="{F_EMAIL}" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input type="text" name="mail_address" id="mail_address" value="{F_EMAIL}" > ({lang:useful when password forgotten}) </li> </ul> |