From e6a3029470501b3a8269986c1448d5f8b2d6b7f2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 17 Aug 2010 12:58:33 -0400 Subject: [PATCH] Fix for Bug 3319 - Need error message when adding patron and libraries are defined - Hiding patron add toolbar when branches or categories are undefined - Blocking patron entry form if branches or categories are undefined - Removing nonfunctional template logic for displaying missing category error message. Signed-off-by: Chris Cormack --- .../prog/en/includes/patron-toolbar.inc | 2 ++ .../prog/en/modules/members/member.tmpl | 5 ++++ .../en/modules/members/memberentrygen.tmpl | 12 ++++---- members/memberentry.pl | 28 +++++++++++++++---- members/members-home.pl | 27 ++++++++++++++---- 5 files changed, 57 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc index c508af0cd3..bc4dbc4b46 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc @@ -1,3 +1,4 @@ +