Hiding the login prompt

Support and feedback for UniAdmin

Hiding the login prompt

Postby swampy » Fri Mar 02, 2007 10:59 pm

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>
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 1 guest

cron