aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/identification.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-06 02:23:54 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-06 02:23:54 +0000
commitd700a5917233fb8049589a9e0aef3d94e87fb320 (patch)
tree81f8c53ccf908e900638abd117f3dc8719ca67a1 /template/yoga/identification.tpl
parentb9a37cd6f06a19fd48d4a8e546b10c8fb3ff5b33 (diff)
improvement: urls for tags can contain now only the tag or the id and tag
improvement: urls for category can be now id and category names (instead of only id) improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name) improvement: identification, register, search pages automatically set focus on first form input improvement: focus, nofocus css class now valid for all forms fix: category comment is tag stripped in category_subcats.inc.php (otherwise issues with html/scripts inside category comment) git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/identification.tpl')
-rw-r--r--template/yoga/identification.tpl18
1 files changed, 11 insertions, 7 deletions
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl
index 8f28ac224..1fd0e7619 100644
--- a/template/yoga/identification.tpl
+++ b/template/yoga/identification.tpl
@@ -20,27 +20,27 @@
</div>
<!-- END errors -->
-<form action="{F_LOGIN_ACTION}" method="post" class="properties">
+<form action="{F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
<fieldset>
<legend>{lang:Connection settings}</legend>
-
+
<input type="hidden" name="redirect" value="{U_REDIRECT}">
-
+
<ul>
- <li>
+ <li>
<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>
<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>
<span class="property">
@@ -54,7 +54,11 @@
<p><input tabindex="4" type="submit" name="login" value="{L_LOGIN}"></p>
</form>
-
+
+<script><!--
+document.login_form.username.focus();
+//--></script>
+
<p>
<a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {L_REGISTER}</a>
<a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>