From c6937bc095e2e384cfc1b506c07682bf672a00d0 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 25 Feb 2012 15:09:45 -0500 Subject: [PATCH] Bug 7517: Revised Patch. Patron category types not displaying in dropdown. The patron category drop-down box does not display the general category groups as it once did. This patch fixes the display of the optgroups. To test. Before applying the patch, go to a patron record. Edit the patron. Select the category drop-down in Library Management to see if the general categories appear. After the patch is applied the dropdown will show the categories. 'Child' - child categories, 'Adult' - adult categories, etc. Fixes XHTML errors. 1. Invalid end tag for cardnumber input. 2. Extra quote in textarea. 3. The label for debarredcomment did not have a corresponding id. There are two instances of this id field because of an 'IF' statement, this patch failed QA in the prior patch because only one of these ids was changed. Signed-off-by: Julian Maurice Signed-off-by: Paul Poulain --- .../prog/en/modules/members/memberentrygen.tt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 51a1ba1c9d..d2ca4afc0c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -176,7 +176,7 @@ [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %] [%# Only put the cardnumber if we arent showing it in the form later %] [% IF cardnumber %] - + [% END %] [% END %] [% END %] @@ -992,12 +992,12 @@ [% FOREACH typeloo IN typeloop %] [% FOREACH categoryloo IN typeloo.categoryloop %] [% IF ( loop.first ) %] - [% IF ( categoryloo.typename_C ) %][% END %] - [% IF ( categoryloo.typename_A ) %][% END %] - [% IF ( categoryloo.typename_S ) %][% END %] - [% IF ( categoryloo.typename_I ) %][% END %] - [% IF ( categoryloo.typename_P ) %][% END %] - [% IF ( categoryloo.typename_X ) %][% END %] + [% IF ( typeloo.typename_C ) %][% END %] + [% IF ( typeloo.typename_A ) %][% END %] + [% IF ( typeloo.typename_S ) %][% END %] + [% IF ( typeloo.typename_I ) %][% END %] + [% IF ( typeloo.typename_P ) %][% END %] + [% IF ( typeloo.typename_X ) %][% END %] [% END %] [% IF ( categoryloo.categorycodeselected ) %] @@ -1307,9 +1307,9 @@
[% IF opduplicate %] - + [% ELSE %] - + [% END %] Show Calendar