ttrss/login_form.php

83 lines
2.3 KiB
PHP
Raw Normal View History

2007-03-01 09:43:54 +00:00
<html>
<head>
<title>Tiny Tiny RSS : Login</title>
<link rel="stylesheet" type="text/css" href="tt-rss.css">
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<script type="text/javascript">
function init() {
if (arguments.callee.done) return;
arguments.callee.done = true;
var login = document.forms["loginForm"].login;
login.focus();
}
</script>
<script type="text/javascript">
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", init, null);
}
window.onload = init;
</script>
<form action="" method="POST" name="loginForm">
<input type="hidden" name="login_action" value="do_login">
<table width="100%" class="loginForm2">
<tr>
<td class="loginTop" valign="bottom" align="left">
<img src="images/ttrss_logo_big.png" alt="Logo">
</td>
</tr><tr>
<td align="center" valign="middle" class="loginMiddle" height="100%">
2007-03-02 10:48:46 +00:00
<?php if ($_SESSION['login_error_msg']) { ?>
<div class="loginError"><?php echo $_SESSION['login_error_msg'] ?></div>
<?php $_SESSION['login_error_msg'] = ""; ?>
2007-03-01 09:43:54 +00:00
<?php } ?>
<table>
2007-03-05 12:50:46 +00:00
<tr><td align="right"><?php echo __("Login:") ?></td>
2007-03-01 09:43:54 +00:00
<td align="right"><input name="login"></td></tr>
2007-03-05 12:50:46 +00:00
<tr><td align="right"><?php echo __("Password:") ?></td>
2007-03-01 09:43:54 +00:00
<td align="right"><input type="password" name="password"></td></tr>
2007-08-11 14:25:51 +00:00
<tr><td align="right"><?php echo __("Language:") ?></td>
<td align="right">
<?php
print_select_hash("language", "", get_translations(),
"style='width : 100%'");
?>
</td></tr>
2007-03-02 11:05:17 +00:00
<!-- <tr><td colspan="2">
2007-03-01 09:43:54 +00:00
<input type="checkbox" name="remember_me" id="remember_me">
<label for="remember_me">Remember me on this computer</label>
2007-03-02 11:05:17 +00:00
</td></tr> -->
2007-03-01 09:43:54 +00:00
<tr><td colspan="2" align="right" class="innerLoginCell">
<input type="submit" class="button" value="Login">
<input type="hidden" name="action" value="login">
<input type="hidden" name="rt"
value="<?php if ($return_to != 'none') { echo $return_to; } ?>">
</td></tr>
</table>
</td>
</tr><tr>
<td align="center" class="loginBottom">
<a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> &copy; 2005-2007 <a href="http://bah.org.ru/">Andrew Dolgov</a>
</td>
</tr>
</table>
</form>