formLogin.phtml 1.1 KB

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