diff options
author | plegall <plg@piwigo.org> | 2006-04-05 21:01:05 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2006-04-05 21:01:05 +0000 |
commit | e59772b8df1f8528d45bbc548110259f943352ee (patch) | |
tree | 92831c242932d957e2d573c0bcf2f6411e22f253 /template/yoga/identification.tpl | |
parent | 969ebbf4f120064ab864329c8daf3adc38cfc38a (diff) |
bug fixed: replace obsolet tn_width and tn_height language keys by their new
equivalent.
improvement: HTML properties forms rewritten to offer labelled Yes/No click
on checkboxes.
improvement: onblur onfocus attribute used on every HTML properties form.
git-svn-id: http://piwigo.org/svn/trunk@1129 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/identification.tpl | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index e8d02f05b..8f28ac224 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -23,28 +23,36 @@ <form action="{F_LOGIN_ACTION}" method="post" class="properties"> <fieldset> <legend>{lang:Connection settings}</legend> - <input type="hidden" name="redirect" value="{U_REDIRECT}"> + + <input type="hidden" name="redirect" value="{U_REDIRECT}"> + <ul> <li> - <label for="username">{L_USERNAME}</label> - <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}"> + <span class="property"> + <label for="username">{L_USERNAME}</label> + </span> + <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" onfocus="this.className='focus';" onblur="this.className='nofocus';" /> </li> <li> - <label for="password">{L_PASSWORD}</label> - <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25"> + <span class="property"> + <label for="password">{L_PASSWORD}</label> + </span> + <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" onfocus="this.className='focus';" onblur="this.className='nofocus';" /> </li> <!-- BEGIN remember_me --> <li> - <label for="remember_me">{L_REMEMBER_ME}</label> - <input type="checkbox" name="remember_me" id=="remember_me" value="1"> + <span class="property"> + <label for="remember_me">{L_REMEMBER_ME}</label> + </span> + <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> </li> <!-- END remember_me --> </ul> </fieldset> - <p><input type="submit" name="login" value="{L_LOGIN}"></p> + <p><input tabindex="4" type="submit" name="login" value="{L_LOGIN}"></p> </form> <p> |