summaryrefslogtreecommitdiff
path: root/mobile/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-05 17:27:48 +0100
committerAndrew Dolgov <[email protected]>2007-03-05 17:27:48 +0100
commit793185a9a51e3c5a104f4addb736b6372516d17e (patch)
tree6806b3f72e0959362cdc9f73476a5b922614fb08 /mobile/login_form.php
parent6ada2c303efd52d0486873e231483b45db87ee0d (diff)
mobile: sync login stuff and such with desktop version
Diffstat (limited to 'mobile/login_form.php')
-rw-r--r--mobile/login_form.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/mobile/login_form.php b/mobile/login_form.php
new file mode 100644
index 000000000..567d1aa97
--- /dev/null
+++ b/mobile/login_form.php
@@ -0,0 +1,35 @@
+<html>
+<head>
+ <title>Tiny Tiny RSS : Login</title>
+ <link rel="stylesheet" type="text/css" href="mobile.css">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+</head>
+
+<body>
+
+ <div id="content">
+ <div id="heading">Tiny Tiny RSS</div>
+
+ <form action="tt-rss.php" method="POST">
+ <input type="hidden" name="rt" value="<?php echo $_GET['rt'] ?>">
+ <input type="hidden" name="login_action" value="do_login">
+
+ <?php if ($_SESSION['login_error_msg']) { ?>
+ <div class="loginError"><?php echo $_SESSION['login_error_msg'] ?></div>
+ <?php $_SESSION['login_error_msg'] = ""; ?>
+ <?php } ?>
+
+ <table>
+ <tr><td align='right'><?php echo __("Login:") ?></td><td><input name="login"></td>
+ <tr><td align='right'><?php echo __("Password:") ?></td><td><input type="password" name="password"></tr>
+
+ <tr><td colspan='2'>
+ <input type="submit" class="button" value="Login">
+ </td></tr>
+ </table>
+ </form>
+ </div>
+
+</body>
+</html>
+