From 2b2f7a179422db9fea97ec46dfb330b4236bd89e Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 10 Aug 2007 12:11:22 -0500 Subject: [PATCH] revisions to login page to make it pretty Signed-off-by: Chris Cormack --- C4/Auth.pm | 2 +- koha-tmpl/intranet-tmpl/prog/en/auth.tmpl | 20 ++- .../prog/en/images/fade-butt.png | Bin 0 -> 785 bytes .../prog/en/images/koha-logo.gif | Bin 0 -> 3910 bytes .../prog/en/includes/doc-head-close.inc | 5 +- .../intranet-tmpl/prog/en/includes/login.css | 139 ++++++++++++++++++ 6 files changed, 153 insertions(+), 13 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/images/fade-butt.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/images/koha-logo.gif create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/login.css diff --git a/C4/Auth.pm b/C4/Auth.pm index 06401fe976..cc1a5ac0da 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -638,7 +638,6 @@ sub checkauth { push @inputs, { name => $name, value => $value }; } # get the branchloop, which we need for authetication - use C4::Branch; my $branches = GetBranches(); my @branch_loop; for my $branch_hash (keys %$branches) { @@ -648,6 +647,7 @@ sub checkauth { my $template = gettemplate( $template_name, $type, $query ); $template->param(branchloop => \@branch_loop,); $template->param( + login => 1, INPUTS => \@inputs, suggestion => C4::Context->preference("suggestion"), virtualshelves => C4::Context->preference("virtualshelves"), diff --git a/koha-tmpl/intranet-tmpl/prog/en/auth.tmpl b/koha-tmpl/intranet-tmpl/prog/en/auth.tmpl index bb566f9bd4..73f2288614 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/auth.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/auth.tmpl @@ -14,15 +14,15 @@ -
Login Error: session timed out, please log in again
+
Error: session timed out, please log in again
-
Login ErrorIP address has changed, please log in again
+
Error: IP address has changed, please log in again
-
Login ErrorIncorrect username or password
+
Error: Incorrect username or password
@@ -36,22 +36,20 @@

-

- +

-

+

+

- + + +