page--user--login.tpl.php

File

templates/page--user--login.tpl.php
View source
  1. <div id="auth_box" class="login">
  2. <div id="top_part">
  3. <?php if (isset($logo)): ?>
  4. <h1 id="the_logo">
  5. <a href="<?php print $front_page; ?>"><img src="<?php print $svg_logo; ?>" onerror="this.src='<?php print $logo; ?>'" /></a>
  6. </h1>
  7. <?php endif; ?>
  8. </div>
  9. <div id="middle_part">
  10. <h2 class="title"><?php print $title; ?></h2>
  11. <?php print $messages; ?>
  12. <?php print render($page['content']); ?>
  13. </div>
  14. <div id="bottom_part">
  15. <div class="password_link">
  16. <?php print l(t('Forgot your password?'), 'user/password'); ?>
  17. </div>
  18. <?php if (variable_get('user_register')): ?>
  19. <div class="register_link">
  20. <?php print l(t('Register a new account'), 'user/register'); ?>
  21. </div>
  22. <?php endif; ?>
  23. </div>
  24. </div>