2011-06-17, 07:05 PM
Hi,
Hoping someone would know how I can add the "Remember Me" checkbox/hook (I'm not sure the proper term) for this Sliding Login Box I use in my header_welcome_guest template. Here is my current code for said template:
If only someone could help me add the "Remember Me" checkbox into that I would be very grateful!
Thanks!
Hoping someone would know how I can add the "Remember Me" checkbox/hook (I'm not sure the proper term) for this Sliding Login Box I use in my header_welcome_guest template. Here is my current code for said template:
<link href="images/slidepanel/styles.css" rel="stylesheet" type="text/css" />
<script src="images/slidepanel/js/jquery.js" type="text/javascript"></script>
<script src="images/slidepanel/js/panelslide.js" type="text/javascript"></script>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
<div id="slide-panel"><!--SLIDE PANEL STARTS-->
<form action="member.php" method="post" class="form"><!--FORM STARTS-->
<center>
<p>Please Login</p>
<p><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 200px;" value="{$username}" /></p>
<p><input type="password" class="textbox" name="password" size="25" style="width: 200px;" value="{$password}" /></p>
<input type="submit" class="button" name="submit" value="{$lang->login}" />
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</p>
<p>Not a member? <a href="{$mybb->settings['bburl']}/member.php?action=register">Register</a> here | <a href="{$mybb->settings['bburl']}/member.php?action=lostpw">Lost Password?</a></p>
</center>
</form><!--FORM ENDS-->
</div><!--SLIDE PANEL ENDS-->
<p class="slide"><a href="#" class="btn-slide">Login / Register</a></p><!--LOGIN BUTTON TEXT-->
If only someone could help me add the "Remember Me" checkbox into that I would be very grateful!
Thanks!