]>
Commit | Line | Data |
---|---|---|
01a87dff AD |
1 | <html> |
2 | <head> | |
3 | <title>Tiny Tiny RSS : Login</title> | |
4 | <link rel="stylesheet" type="text/css" href="tt-rss.css"> | |
5 | <link rel="shortcut icon" type="image/png" href="images/favicon.png"> | |
6 | <!--[if gte IE 5.5000]> | |
7 | <script type="text/javascript" src="pngfix.js"></script> | |
8 | <![endif]--> | |
9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
10 | </head> | |
11 | ||
12 | <body> | |
13 | ||
14 | <script type="text/javascript"> | |
15 | function init() { | |
16 | ||
17 | if (arguments.callee.done) return; | |
18 | arguments.callee.done = true; | |
19 | ||
20 | var login = document.forms["loginForm"].login; | |
21 | ||
22 | login.focus(); | |
23 | ||
24 | } | |
25 | </script> | |
26 | ||
27 | <script type="text/javascript"> | |
28 | if (document.addEventListener) { | |
29 | document.addEventListener("DOMContentLoaded", init, null); | |
30 | } | |
31 | window.onload = init; | |
32 | </script> | |
33 | ||
34 | <form action="" method="POST" name="loginForm"> | |
35 | <input type="hidden" name="login_action" value="do_login"> | |
36 | ||
37 | <table width="100%" class="loginForm2"> | |
38 | <tr> | |
39 | <td class="loginTop" valign="bottom" align="left"> | |
40 | <img src="images/ttrss_logo_big.png" alt="Logo"> | |
41 | </td> | |
42 | </tr><tr> | |
43 | <td align="center" valign="middle" class="loginMiddle" height="100%"> | |
7f0acba7 AD |
44 | <?php if ($_SESSION['login_error_msg']) { ?> |
45 | <div class="loginError"><?php echo $_SESSION['login_error_msg'] ?></div> | |
46 | <?php $_SESSION['login_error_msg'] = ""; ?> | |
01a87dff AD |
47 | <?php } ?> |
48 | <table> | |
4dccf1ed | 49 | <tr><td align="right"><?php echo __("Login:") ?></td> |
01a87dff | 50 | <td align="right"><input name="login"></td></tr> |
4dccf1ed | 51 | <tr><td align="right"><?php echo __("Password:") ?></td> |
01a87dff | 52 | <td align="right"><input type="password" name="password"></td></tr> |
1df0f48b | 53 | <!-- <tr><td colspan="2"> |
01a87dff AD |
54 | <input type="checkbox" name="remember_me" id="remember_me"> |
55 | <label for="remember_me">Remember me on this computer</label> | |
1df0f48b | 56 | </td></tr> --> |
01a87dff AD |
57 | <tr><td colspan="2" align="right" class="innerLoginCell"> |
58 | <input type="submit" class="button" value="Login"> | |
59 | <input type="hidden" name="action" value="login"> | |
60 | <input type="hidden" name="rt" | |
61 | value="<?php if ($return_to != 'none') { echo $return_to; } ?>"> | |
62 | </td></tr> | |
63 | </table> | |
64 | </td> | |
65 | </tr><tr> | |
66 | <td align="center" class="loginBottom"> | |
67 | <a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> © 2005-2007 <a href="http://bah.org.ru/">Andrew Dolgov</a> | |
68 | </td> | |
69 | </tr> | |
70 | ||
71 | </table> | |
72 | ||
73 | </form> | |
74 |