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
>
9 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
10 <script type
="text/javascript" src
="functions.js"></script
>
15 <script type
="text/javascript">
18 if (arguments
.callee
.done
) return;
19 arguments
.callee
.done
= true;
21 var login
= document
.forms
["loginForm"].login
;
26 function languageChange(elem
) {
28 document
.forms
['loginForm']['click'].disabled
= true;
30 var lang
= elem
[elem
.selectedIndex
].value
;
31 setCookie("ttrss_lang", lang
, <?php
print SESSION_COOKIE_LIFETIME ?
>);
32 window
.location
.reload();
34 exception_error("languageChange", e
);
39 <script type
="text/javascript">
40 if (document
.addEventListener
) {
41 document
.addEventListener("DOMContentLoaded", init
, null);
46 <form action
="" method
="POST" name
="loginForm">
47 <input type
="hidden" name
="login_action" value
="do_login">
49 <table width
="100%" class="loginForm2">
51 <td
class="loginTop" valign
="bottom" align
="left">
52 <img src
="images/ttrss_logo_big.png" alt
="Logo">
55 <td align
="center" valign
="middle" class="loginMiddle" height
="100%">
56 <?php
if ($_SESSION['login_error_msg']) { ?
>
57 <div
class="loginError"><?php
echo $_SESSION['login_error_msg'] ?
></div
>
58 <?php
$_SESSION['login_error_msg'] = ""; ?
>
61 <tr
><td align
="right"><?php
echo __("Login:") ?
></td
>
62 <td align
="right"><input name
="login"></td
></tr
>
63 <tr
><td align
="right"><?php
echo __("Password:") ?
></td
>
64 <td align
="right"><input type
="password" name
="password"></td
></tr
>
65 <tr
><td align
="right"><?php
echo __("Language:") ?
></td
>
68 print_select_hash("language", $_COOKIE["ttrss_lang"], get_translations(),
69 "style='width : 100%' onchange='languageChange(this)'");
73 <!-- <tr
><td colspan
="2">
74 <input type
="checkbox" name
="remember_me" id
="remember_me">
75 <label
for="remember_me">Remember me on this computer
</label
>
77 <tr
><td colspan
="2" align
="right" class="innerLoginCell">
78 <input type
="submit" class="button" value
="Login" name
='click'>
79 <input type
="hidden" name
="action" value
="login">
80 <input type
="hidden" name
="rt"
81 value
="<?php if ($return_to != 'none') { echo $return_to; } ?>">
86 <td align
="center" class="loginBottom">
87 <a href
="http://tt-rss.spb.ru/">Tiny Tiny RSS
</a
> ©
; 2005-2007 <a href
="http://bah.org.ru/">Andrew Dolgov
</a
>