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 LANGUAGE?>" />
  19. <link rel="icon" type="image/gif" href="<?php echo THEME_ADMIN_PATH?>images/favicon.gif" />
  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. </head>
  23. <script type="text/javascript" src="../lib/js/jquery.min.js"></script>
  24. <?php IncludeTextCornerJs()?>
  25. <script type="text/javascript">
  26. $(document).ready(function() {
  27. $("#login").focus();
  28.     })
  29. </script>
  30. <body>
  31. <div id="content_auth">
  32.     <h1 style="display:none;"><?php echo _t('divers','auth')?></h1>
  33.     <img src="<?php echo THEME_ADMIN_PATH?>images/logo.png" id="logo" alt="logo" />
  34.     <div id="title">
  35.         <p><?php echo _t('divers','title_login')?></p>
  36.     </div>
  37.     <div id="auth">
  38.         <p class="error_auth">
  39.         <?php
  40.         if(isset($auth_res)) echo $auth_res;
  41.         ?>
  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="<?php echo _t('divers','login')?>" name="login" id="login" onkeypress="if (this.defaultValue==this.value) this.value=''" onblur="if (this.value=='') this.value=this.defaultValue" /></div>
  46.                 <div id="login_pass"><input type="password" maxlength="20" class="loginfield" name="password" id="password" /></div>
  47.             <div class="validation">
  48.             <input type="submit" value="<?php echo _t('menu_alt','valid_login'?>" size="15" name="valid" id="valid" />
  49.             </div>
  50.         </div>
  51.     </form>
  52.     </div>
  53.     <p class="bottom">
  54.     <?php echo _t('divers','auth_mess1')?>
  55.     
  56. <br />
  57.     <?php echo _t('divers','auth_mess2')?>
  58.     <a href="mailto:<?php echo SITE_CITY_MAIL?>" class="emphase"><?php echo SITE_CITY_MAIL?></a>
  59.     </p>
  60. </div>
  61. </body>
  62. </html>

Documentation generated on Fri, 16 Oct 2009 09:36:06 +0200 by phpDocumentor 1.4.1