koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: paul poulain
Subject: [Koha-cvs] koha/opac opac-suggestions.pl [rel_2_2]
Date: Tue, 04 Apr 2006 14:07:33 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   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,
                         });
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]