diff --git a/backend.php b/backend.php index 87b0945b..bf87b55d 100644 --- a/backend.php +++ b/backend.php @@ -63,20 +63,6 @@ authenticate_user($link, "admin", null); } - // TODO remove and handle within Handlers - - /* if (!($_SESSION["uid"] && validate_session($link))) { - if ($op == 'pref-feeds' && $method == 'add') { - header("Content-Type: text/html"); - login_sequence($link); - render_login_form($link); - } else { - header("Content-Type: text/plain"); - print json_encode(array("error" => array("code" => 6))); - } - return; - } */ - $purge_intervals = array( 0 => __("Use default"), -1 => __("Never purge"), diff --git a/classes/handler/public.php b/classes/handler/public.php index 998e078d..4b595d49 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -199,7 +199,7 @@ class Handler_Public extends Handler { $result = db_query($this->link, "SELECT * FROM ttrss_settings_profiles,ttrss_users WHERE ttrss_users.id = ttrss_settings_profiles.owner_uid AND login = '$login' ORDER BY title"); - print ""; print ""; diff --git a/include/login_form.php b/include/login_form.php index 5060f8c1..ba2917ef 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -5,35 +5,88 @@ - + + + - + + - -
+ dojoType="dijit.form.Form" method="POST" id="loginForm" name="loginForm"> - + - - - - - - - - - -
- -
- -
- - - - - - - - - + - - +
+ -
- - + -
+ + + +
+ +
+ +
+ + ">
">
+ dojoType="dijit.form.TextBox" required="1" + value="" /> + + +
+ + "/> +
+ +
+ -
- -
+ - + + +
+ + + +
+ +
+ - +
-
- -
- -
- -
-
+ + +
+
diff --git a/mobile/login_form.php b/mobile/login_form.php index 48f7cc5a..98c0bfdb 100644 --- a/mobile/login_form.php +++ b/mobile/login_form.php @@ -36,8 +36,6 @@ function do_login() {
- -
diff --git a/tt-rss.css b/tt-rss.css index 25b51e48..a8286ef9 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -466,10 +466,6 @@ div.prefHelp, td.prefHelp { padding : 5px; } -table.loginForm { - background-color : #ecf4ff; -} - span.feed_error { color : red; } @@ -778,49 +774,6 @@ form { width : 100%; } -table.loginForm2 { - padding : 1em; - width : 100%; -} - -table.loginForm2 .loginTop { - border-width : 0px 0px 1px 0px; - border-color : #88b0f0; - border-style : solid; - padding : 0.5em; -} - -table.loginForm2 .loginMiddle { - padding : 3em; -} - -table.loginForm2 .loginBottom { - border-width : 1px 0px 0px 0px; - border-color : #88b0f0; - border-style : solid; - font-size : 12px; - text-align : center; - color : #909090; - padding : 0.5em; -} - -table.loginForm2 .loginBottom a { - color : gray; -} - -table.loginForm2 .loginBottom a:hover { - color : #4684ff; -} - -table.loginForm2 .loginError { - color : red; - margin : 0.5em; -} - -table.loginForm2 .innerLoginCell { - padding-top : 0.5em; -} - div.loadingPrompt { padding : 1em; text-align : center;