MyBB Community Forums

Full Version: Quick Login in Navbar ??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i add quick login on navbar ??

example: www.adminstop.com

Thanks...
CasTexx, please remember to post Template Modification Questions in the appropriate forum.

Moved to Templates, Themes, and Graphics
This is the code you need ::

<!-login form -->
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smalltext">$lang->username:</td>
<td><input type="text" name="username" title="$lang->username" value="$lang->username" onfocus="this.value=''" /></td>
<td class="smalltext" colspan="2" nowrap="nowrap"></td>
</tr>
<tr>
<td class="smalltext">$lang->password:</td>
<td><input type="password" name="password" title="$lang->password" value="$lang->password" onfocus="this.value=''" /></td>
<td><input type="submit" value="Go!" /></td>
</tr>
</table>
</form>
<!-/ login form -->

You need to put it in your header template, but can't explain where =P Cause mine is already a mix-up of tables, tr's and td's =P