[Koha-cvs] CVS: koha/members memberentry.pl,1.5.2.4,1.5.2.5
Henri-Damien LAURENT
hdl at users.sourceforge.net
Tue Jun 28 13:52:00 CEST 2005
Update of /cvsroot/koha/koha/members
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28209/members
Modified Files:
Tag: rel_2_2
memberentry.pl
Log Message:
Adding choice lists for sort1/Sort2 For biblios and patrons management.
Commiting along Help Modifications
Index: memberentry.pl
===================================================================
RCS file: /cvsroot/koha/koha/members/memberentry.pl,v
retrieving revision 1.5.2.4
retrieving revision 1.5.2.5
diff -C2 -r1.5.2.4 -r1.5.2.5
*** memberentry.pl 19 May 2005 21:52:46 -0000 1.5.2.4
--- memberentry.pl 28 Jun 2005 11:51:57 -0000 1.5.2.5
***************
*** 233,236 ****
--- 233,250 ----
-size => 1,
-multiple => 0 );
+
+ my $CGIsort1 = buildCGIsort("Bsort1","sort1",$data->{'sort1'});
+ if ($CGIsort1) {
+ $template->param(CGIsort1 => $CGIsort1);
+ } else {
+ $template->param( sort1 => $data->{'sort1'});
+ }
+
+ my $CGIsort2 = buildCGIsort("Bsort2","sort2",$data->{'sort2'});
+ if ($CGIsort2) {
+ $template->param(CGIsort2 =>$CGIsort2);
+ } else {
+ $template->param( sort2 => $data->{'sort2'});
+ }
$template->param( actionType => $actionType,
***************
*** 266,271 ****
cardnumber => $cardnumber,
dateofbirth => $data->{'dateofbirth'},
- sort1 => $data->{'sort1'},
- sort2 => $data->{'sort2'},
dateformat => display_date_format(),
modify => $modify,
--- 280,283 ----
More information about the Koha-cvs
mailing list