summaryrefslogtreecommitdiff
path: root/UI/login.html
blob: 6dcf560f150120aa31a6bfb4edea9c0121b51a10 (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title>LedgerSMB <?lsmb VERSION ?></title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/ledgersmb.css" type="text/css" title="LedgerSMB stylesheet" />
  10. <link rel="stylesheet" href="UI/login.css" type="text/css" title="LedgerSMB stylesheet" />
  11. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  12. <meta name="robots" content="noindex,nofollow" />
  13. <script language="JavaScript" type="text/javascript"
  14. src="UI/login.js">
  15. </script>
  16. <script language="JavaScript" type="text/javascript" >
  17. function setup_page() {
  18. var credential_html;
  19. var cred_div = document.getElementById("credentials");
  20. credential_html =
  21. '<div class="labelledinput">' +
  22. '<div class="label">' +
  23. '<label for="login">' +
  24. "<?lsmb text('Name') ?>"+
  25. "</label>" +
  26. '</div>' +
  27. '<div class="input">' +
  28. '<input class="login" ' +
  29. 'name="login" size="30" ' +
  30. 'value="" id="login" '+
  31. 'accesskey="n" />' +
  32. '</div>' +
  33. '</div>' +
  34. '<div class="labelledinput">' +
  35. '<div class="label">' +
  36. '<label for="password">' +
  37. "<?lsmb text('Password') ?>" +
  38. '</label>' +
  39. '</div>' +
  40. '<div class="input">' +
  41. '<input class="login" ' +
  42. 'type="password" ' +
  43. 'name="password" ' +
  44. 'size="30" ' +
  45. 'id="password" ' +
  46. 'accesskey="p" />' +
  47. '</div>' +
  48. '</div>';
  49. if (<?lsmb IF blacklisted ?>false<?lsmb ELSE ?>true<?lsmb END ?>
  50. && get_http_request_object()){
  51. cred_div.innerHTML = credential_html;
  52. }
  53. document.login.login.focus();
  54. }
  55. </script>
  56. </head>
  57. <body class="login" onload="setup_page();">
  58. <br /><br />
  59. <center>
  60. <form method="post" action="login.pl" name="login"
  61. onsubmit="return submit_form()">
  62. <input type="hidden" name="menubar"
  63. value="<?lsmb menubar ?>">
  64. <div class="login">
  65. <div class="login" align="center">
  66. <a href="http://www.ledgersmb.org/" target="_top"><img src="images/ledgersmb.png" class="logo" alt="LedgerSMB Logo" /></a>
  67. <h1 class="login" align="center">Version SVN Trunk</h1>
  68. <div align="center">
  69. <div id="credentials"></div>
  70. <div id="company">
  71. <div class="labelledinput">
  72. <div class="label">
  73. <label for="company">
  74. <?lsmb text('Company')
  75. ?>
  76. </label>
  77. </div>
  78. <div class="input">
  79. <input class="login"
  80. type="text"
  81. name="company"
  82. size="30"
  83. id="company"
  84. accesskey="c" />
  85. </div>
  86. </div>
  87. <button type="submit" name="action" value="login" accesskey="l"><?lsmb text('Login') ?></button>
  88. </div>
  89. </div>
  90. </form>
  91. <p><a href="admin.pl"><?lsmb text('Administrative login') ?></a></p>
  92. </center>
  93. </body>
  94. </html>