Since most of my guildies don't have access to the admin functions I changed /styles/default/login.html to the following. It only shows a small login link until the link is pressed then it expands into the full login form. Just saves a bit of space for the guildies
- Code: Select all
<div id="loginform" style="display:none">
<form class="ua_loginbox" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
<fieldset>
<legend>{L_LOGIN}</legend>
<table class="ua_table" width="100%">
<tr>
<td valign="bottom">{L_USERNAME}: <input class="input_s" type="text" id="name" name="name" size="10" maxlength="30" /></td>
<td valign="bottom">{L_PASSWORD}: <input class="input_s" type="password" id="password" name="password" size="10" maxlength="30" /></td>
<td valign="bottom"><input class="submit" type="submit" value="{L_LOGIN}" /></td>
</tr>
</table>
</fieldset>
</form>
</div>
<div id="loginclick">
<a href="#" onClick="this.style.display = 'none';document.getElementById('loginform').style.display = 'inline';">Login</a>
</div>