formLogin.phtml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <div class="prompt">
  2. <h1><?php echo _t('gen.auth.login'); ?></h1>
  3. <a href="<?php echo _url('auth', 'register'); ?>"><?php echo _t('gen.auth.register.ask'); ?></a>
  4. <form id="crypto-form" method="post" action="<?php echo _url('auth', 'login'); ?>">
  5. <div>
  6. <label for="username"><?php echo _t('gen.auth.username'); ?></label>
  7. <input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />
  8. </div>
  9. <div>
  10. <label for="passwordPlain"><?php echo _t('gen.auth.password'); ?></label>
  11. <input type="password" id="passwordPlain" required="required" />
  12. <input type="hidden" id="challenge" name="challenge" /><br />
  13. <noscript><strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
  14. </div>
  15. <div>
  16. <label class="checkbox" for="keep_logged_in">
  17. <input type="checkbox" name="keep_logged_in" id="keep_logged_in" value="1" />
  18. <?php echo _t('gen.auth.keep_logged_in'); ?>
  19. </label>
  20. <br />
  21. </div>
  22. <div>
  23. <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('gen.auth.login'); ?></button>
  24. </div>
  25. </form>
  26. <p><a href="<?php echo _url('index', 'about'); ?>"><?php echo _t('gen.freshrss.about'); ?></a></p>
  27. </div>