And how to hide the login box when on login page? (Image 2)
P.S.- I used Ctrl+U in Firefox to view a pages source code that has such a login box and tried to apply the changes to my forum... the changes I did look like this-
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<ul class="linklist leftside">
<form method="post" action="{S_LOGIN_ACTION}" style="float:left;width:90%;overflow:visible;">
<fieldset class="quick-login" style="float:left;white-space:nowrap;">
<label for="username">{L_USERNAME}:</label> <input tabindex="100" type="text" name="username" id="username" size="10" class="inputbox" style="min-width:100px" title="{L_USERNAME}" />
<label for="password">{L_PASSWORD}:</label> <input tabindex="101" type="password" name="password" id="password" size="10" class="inputbox" style="min-width:100px" title="{L_PASSWORD}" />
<!-- IF S_AUTOLOGIN_ENABLED -->
<label for="autologin">{L_LOG_ME_IN} <input tabindex="102" type="checkbox" name="autologin" id="autologin" /></label>
<!-- ENDIF -->
<input tabindex="104" type="submit" name="login" value="{L_LOGIN}" class="button2" />
</fieldset>
</form>
</ul>
<!-- ENDIF -->
Image 2