[Koha-cvs] koha/opac opac-suggestions.pl [rel_2_2]

paul poulain paul at koha-fr.org
Tue Apr 4 16:07:33 CEST 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	paul poulain <tipaul at savannah.gnu.org>	06/04/04 14:07:33

Modified files:
	opac           : opac-suggestions.pl 

Log message:
	reordering template opening

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/opac/opac-suggestions.pl.diff?only_with_tag=rel_2_2&tr1=1.3.2.6&tr2=1.3.2.7&r1=text&r2=text

Patches:
Index: koha/opac/opac-suggestions.pl
diff -u koha/opac/opac-suggestions.pl:1.3.2.6 koha/opac/opac-suggestions.pl:1.3.2.7
--- koha/opac/opac-suggestions.pl:1.3.2.6	Wed Mar  8 13:46:55 2006
+++ koha/opac/opac-suggestions.pl	Tue Apr  4 14:07:33 2006
@@ -28,24 +28,21 @@
 my $dbh = C4::Context->dbh;
 
 if (C4::Context->preference("AnonSuggestions")) {
-
-($template, $borrowernumber, $cookie)
-    = get_template_and_user({template_name => "opac-suggestions.tmpl",
-                                        query => $input,
-                                        type => "opac",
-                                        authnotrequired => 1,
-                         });
+	($template, $borrowernumber, $cookie)
+		= get_template_and_user({template_name => "opac-suggestions.tmpl",
+								query => $input,
+								type => "opac",
+								authnotrequired => 1,
+							});
 if (!$borrowernumber) {
 	$borrowernumber = C4::Context->preference("AnonSuggestions");
 }
-
 } else {
-
-($template, $borrowernumber, $cookie)
-    = get_template_and_user({template_name => "opac-suggestions.tmpl",
-					query => $input,
-                                        type => "opac",
-                                        authnotrequired => 1,
+	($template, $borrowernumber, $cookie)
+		= get_template_and_user({template_name => "opac-suggestions.tmpl",
+								query => $input,
+								type => "opac",
+								authnotrequired => 1,
 			 });
 }
 





More information about the Koha-cvs mailing list