[Koha-cvs] koha/opac opac-reserve.pl opac-search.pl opac-u...

Antoine Farnault antoine at koha-fr.org
Fri Jul 21 11:51:42 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Antoine Farnault <toins>	06/07/21 09:51:42

Modified files:
	opac           : opac-reserve.pl opac-search.pl opac-user.pl 

Log message:
	subs renamed according to coding guidelines.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-reserve.pl?cvsroot=koha&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-search.pl?cvsroot=koha&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-user.pl?cvsroot=koha&r1=1.22&r2=1.23

Patches:
Index: opac-reserve.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-reserve.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- opac-reserve.pl	21 May 2006 02:21:10 -0000	1.28
+++ opac-reserve.pl	21 Jul 2006 09:51:42 -0000	1.29
@@ -56,7 +56,7 @@
 my $branch = $query->param('branch');
 $template->param(branch => $branch);
 
-my $branches = getbranches();
+my $branches = GetBranches();
 # make sure it's a real branch
 if (!$branches->{$branch}) {
 $branch='';

Index: opac-search.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-search.pl,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- opac-search.pl	4 Jul 2006 14:36:52 -0000	1.37
+++ opac-search.pl	21 Jul 2006 09:51:42 -0000	1.38
@@ -407,7 +407,7 @@
 	$sth->finish;
 	my @select_branch;
 	my %select_branches;
-	my $branches=getbranches();
+	my $branches=GetBranches();
 	push @select_branch, "";
 	$select_branches{''} = "";
         foreach my $branch ( keys %$branches ){

Index: opac-user.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-user.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- opac-user.pl	21 May 2006 02:31:32 -0000	1.22
+++ opac-user.pl	21 Jul 2006 09:51:42 -0000	1.23
@@ -109,7 +109,7 @@
 $template->param(OVERDUES => \@overdues);
 $template->param(overdues_count => $overdues_count);
 
-my $branches = getbranches();
+my $branches = GetBranches();
 
 # now the reserved items....
 my ($rcount, $reserves) = FindReserves(undef, $borrowernumber);





More information about the Koha-cvs mailing list