Skip to content

Instantly share code, notes, and snippets.

@Cipa
Created October 16, 2011 14:50
Show Gist options
  • Save Cipa/1290969 to your computer and use it in GitHub Desktop.
Save Cipa/1290969 to your computer and use it in GitHub Desktop.
MODX Evolution WebLogin clean template
<!-- #declare:separator <hr> -->
<!-- login form section-->
<form method="post" name="loginfrm" action="[+action+]" id="LoginForm">
<input type="hidden" value="[+rememberme+]" name="rememberme">
<div class="row">
<label for="username">User:</label>
<input type="text" name="username" id="username" tabindex="1" onkeypress="return webLoginEnter(document.loginfrm.password);" value="[+username+]" />
</div>
<div class="row">
<label for="username">Password:</label>
<input type="password" name="password" id="password" tabindex="2" onkeypress="return webLoginEnter(document.loginfrm.cmdweblogin);" value="" />
</div>
<div class="row">
<label for="chkbox" class="chkbox">Remember:</label>
<input type="checkbox" id="chkbox" class="chkbox" name="chkbox" tabindex="4" size="1" value="" [+checkbox+] onclick="webLoginCheckRemember()" />
</div>
<input type="submit" value="[+logintext+]" name="cmdweblogin" class="submit"/> &nbsp;
<a href="#" onclick="webLoginShowForm(2);return false;">Reset Password</a>
</form>
<hr>
<!-- log out hyperlink section -->
<div id="LoggedIn">
<a href='[+action+]'>[+logouttext+]</a>
<!-- add here more options for the user -->
</div>
<hr>
<!-- Password reminder form section -->
<form name="loginreminder" method="post" action="[+action+]" id="LoginReminder">
<input type="hidden" name="txtpwdrem" value="0" />
Enter the email address of your account below to receive your password:
<div class="row">
<input type="text" name="txtwebemail" />
</div>
<input type="submit" value="Submit" name="cmdweblogin" class="submit"/>
<input type="reset" value="Cancel" name="cmdcancel" onclick="webLoginShowForm(1);" class="cancel"/>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment