1
hello,..
one of my clients wanted to have a login block which is accessible via use of keybord...
so this is templatefile /system_block_login.html:
see it temporaly in action on
http://www.studiocreativ.net--- you may ignore that i use an image as button:
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><br />
<label for="uname"><strong><{$block.lang_username}></strong> [ Alt+1 ] </label><br />
<input type="text" name="uname" size="12" value="" accesskey="1" />
<br />
<label for="pass"><strong><{$block.lang_password}></strong> [ Alt+2 ] </label><br />
<input type="password" name="pass" size="12" value="" accesskey="2" />
<input type="hidden" name="op" value="login" />
<input class="in" type="image" src="<{$xoops_imageurl}>login.gif" title="<{$block.lang_login}> [ Alt+0 ]" accesskey="0" /> [ Alt+0 ]<br />
</form>
<a href="<{$xoops_url}>/user.php#lost" accesskey="3"><{$block.lang_lostpass}></a> [ Alt+3]
<br /><br />
<a href="<{$xoops_url}>/register.php" accesskey="4"><{$block.lang_registernow}></a> [ Alt+4 ]
greetings from michael