linea21-templates
[ class tree: linea21-templates ] [ index: linea21-templates ] [ all elements ]

Source for file login.php

Documentation is available at login.php

  1. <?php
  2. /**
  3.  * @package linea21.templates
  4.  * @subpackage admin
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. echo '<?xml version="1.0" encoding="' CHARSET '"?>'END_LINE;
  11. ?>
  12. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  13.  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml">
  15. <head>
  16. <title><?php echo _t('header','title')?></title>
  17. <meta http-equiv="Content-Type"    content="text/html; charset=<?php echo CHARSET;?>" />
  18. <meta http-equiv="content-language" content="<?php echo U_L?>" />
  19. <link rel="shortcut icon" href="<?php echo THEME_ADMIN_PATH?>images/favicon.ico" />
  20. <link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH?>css/admin_common.css" />
  21. <link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH?>css/admin_login.css" />
  22. <script type="text/javascript" src="../lib/js/jquery.min.js"></script>
  23. <?php IncludePHPDebug()?>
  24. <script type="text/javascript">
  25. $(document).ready(function() {
  26.     $("#login").focus();
  27. })
  28. </script>
  29. </head>
  30. <body>
  31. <?php culture::getInstance()->renderSwitcher()?>
  32. <div id="content_auth">
  33. <h1 style="display: none;"><?php echo _t('divers','auth')?></h1>
  34. <img src="<?php echo THEME_ADMIN_PATH?>images/logo.png" id="logo"
  35.     alt="logo" />
  36. <div id="title">
  37. <p><?php echo _t('divers','title_login')?></p>
  38. </div>
  39. <div id="auth">
  40. <p class="error_auth"><?php
  41. if(isset($auth_res)) echo $auth_res;
  42. ?></p>
  43. <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
  44. <div id="formu">
  45. <div id="login_id"><input type="text" maxlength="20" class="loginfield" value="" name="login" id="login" /></div>
  46. <div id="login_pass"><input type="password" maxlength="20" class="loginfield" name="password" id="password" /></div>
  47. <div class="validation"><input type="submit" value="<?php echo _t('menu_alt','valid_login'?>" size="15" name="valid" id="valid" /></div>
  48. <input type="hidden" name="page" id="page" value="<?php echo $page?>" />
  49. </div>
  50. </form>
  51. </div>
  52. <p class="bottom"><?php echo _t('divers','auth_mess1')?> <br />
  53. <?php echo _t('divers','auth_mess2')?> <a
  54.     href="mailto:<?php echo SITE_MAIL?>" class="emphase"><?php echo SITE_MAIL?></a>
  55. </p>
  56. </div>
  57. </body>
  58. </html>

Documentation generated on Thu, 03 May 2012 15:06:05 +0200 by phpDocumentor 1.4.1