SHARE
TWEET

ActionLogin/index.tpl

a guest Jan 4th, 2013 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {assign var="noSidebar" value=true}
  2. {include file='header.tpl'}
  3.  
  4. <script type="text/javascript">
  5.         jQuery(document).ready(function($){
  6.                 $('#login-form').bind('submit',function(){
  7.                         ls.user.login('login-form');
  8.                         return false;
  9.                 });
  10.                 $('#login-form-submit').attr('disabled',false);
  11.         });
  12. </script>
  13.  
  14. <h2 class="page-header">{$aLang.user_authorization}</h2>
  15.  
  16. {hook run='login_begin'}
  17.  
  18. <form action="{router page='login'}" method="POST" id="login-form">
  19.         {hook run='form_login_begin'}
  20.  
  21.         <p><label for="login">{$aLang.user_login}</label>
  22.         <input type="text" id="login" name="login" class="input-text input-width-200" /></p>
  23.        
  24.         <p><label for="password">{$aLang.user_password}</label>
  25.         <input type="password" id="password" name="password" class="input-text input-width-200" />
  26.         <small class="validate-error-hide validate-error-login"></small></p>
  27.        
  28.         <p><label><input type="checkbox" name="remember" checked class="input-checkbox" /> {$aLang.user_login_remember}</label></p>
  29.        
  30.         {hook run='form_login_end'}
  31.  
  32.         <button type="submit" name="submit_login" class="button button-primary" id="login-form-submit" disabled="disabled">{$aLang.user_login_submit}</button>
  33.  
  34.                
  35.         <br />
  36.         <br />
  37.         <a href="{router page='registration'}">{$aLang.user_registration}</a><br />
  38.         <a href="{router page='login'}reminder/">{$aLang.user_password_reminder}</a>
  39. </form>
  40.  
  41.  
  42. {if $oConfig->GetValue('general.reg.invite')}
  43.         <br /><br />
  44.         <form action="{router page='registration'}invite/" method="POST">
  45.                 <h2>{$aLang.registration_invite}</h2>
  46.  
  47.                 <p><label>{$aLang.registration_invite_code}<br />
  48.                 <input type="text" name="invite_code" /></label></p>
  49.                 <input type="submit" name="submit_invite" value="{$aLang.registration_invite_check}" />
  50.         </form>
  51. {/if}
  52.  
  53. {hook run='login_end'}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top