From f4f840da2cde33431ad78026ccaefb089e86bc72 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Tue, 22 Apr 2008 17:46:22 -0500 Subject: [PATCH] Small template cleanup: display library name and cat description instead of codes in circ-menu include. Also, change 'Default' on main login page to 'My Library'. Signed-off-by: Joshua Ferraro --- circ/circulation.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tmpl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl | 2 +- members/boraccount.pl | 6 ++++-- members/moremember.pl | 1 + members/readingrec.pl | 5 ++++- tools/viewlog.pl | 3 +++ 8 files changed, 18 insertions(+), 7 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 9540a6e160..390370d0aa 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -652,6 +652,7 @@ $template->param( borrower => $borrower, borrowernumber => $borrowernumber, branch => $branch, + branchname => GetBranchName($branch), printer => $printer, printername => $printer, firstname => $borrower->{'firstname'}, @@ -659,6 +660,7 @@ $template->param( dateexpiry => format_date($newexpiry), expiry => format_date($borrower->{'dateexpiry'}), categorycode => $borrower->{'categorycode'}, + categoryname => $borrowercategory->{description}, address => $borrower->{'address'}, address2 => $borrower->{'address2'}, email => $borrower->{'email'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index 3f6934798e..b8b6238c9a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -47,8 +47,8 @@
  • No email stored.
  • -
  • Category:
  • -
  • Home Library:
  • +
  • Category: () +
  • Home Library: