From: Andrew Dolgov Date: Sat, 19 Aug 2006 06:42:53 +0000 (+0100) Subject: rework login screen X-Git-Tag: schema_freeze_for_1.2.2_(take_2)~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=660c059f88bfc2f60952beb24a5fa2fa7ae543f7;p=tt-rss.git rework login screen --- diff --git a/images/ttrss_logo_big.png b/images/ttrss_logo_big.png index 013f9579..b2c59d17 100644 Binary files a/images/ttrss_logo_big.png and b/images/ttrss_logo_big.png differ diff --git a/login.php b/login.php index 577e5466..60e0cb1e 100644 --- a/login.php +++ b/login.php @@ -6,6 +6,8 @@ require_once "config.php"; require_once "functions.php"; + $error_msg = ""; + $url_path = get_script_urlpath(); if (ENABLE_LOGIN_SSL) { @@ -61,7 +63,11 @@ } header("Location: $redirect_base/$return_to"); exit; + } else { + $error_msg = "Error: Unable to authenticate user. Please check login and password."; } + } else { + $error_msg = "Error: Either login or password is blank."; } ?> @@ -97,38 +103,46 @@ if (document.addEventListener) { window.onload = init; - - - + + +
- -
- - - - - - - - - - - - -
- logo -
Login:
Password:
  - - -
- - -
- -
- -
+ + + + + + + +
+ Logo +
+ +
+ + + + + + + + +
Login:
Password:
+ + +
+ + +
+
+ Tiny-Tiny RSS v © 2005-2006 Andrew Dolgov + +
Running in demo mode, some functionality is disabled. + +
+ +