koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha C4/Auth.pm catalogue/search.pl


From: Antoine Farnault
Subject: [Koha-cvs] koha C4/Auth.pm catalogue/search.pl
Date: Tue, 10 Jul 2007 14:21:41 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Antoine Farnault <toins>        07/07/10 14:21:41

Modified files:
        C4             : Auth.pm 
        catalogue      : search.pl 

Log message:
        syspref are writed for the template in auth.pm

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/search.pl?cvsroot=koha&r1=1.8&r2=1.9

Patches:
Index: C4/Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- C4/Auth.pm  3 Jul 2007 18:29:37 -0000       1.67
+++ C4/Auth.pm  10 Jul 2007 14:21:41 -0000      1.68
@@ -36,7 +36,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.67 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.68 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -227,6 +227,10 @@
             hide_marc          => C4::Context->preference("hide_marc"),
             patronimages       => C4::Context->preference("patronimages"),
             "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") 
=> 1,
+            advancedMARCEditor => 
C4::Context->preference("advancedMARCEditor"),
+            suggestion => C4::Context->preference("suggestion"),
+            virtualshelves => C4::Context->preference("virtualshelves"),
+            LibraryName => C4::Context->preference("LibraryName"),
         );
     }
     else {

Index: catalogue/search.pl
===================================================================
RCS file: /sources/koha/koha/catalogue/search.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- catalogue/search.pl 28 May 2007 16:28:44 -0000      1.8
+++ catalogue/search.pl 10 Jul 2007 14:21:41 -0000      1.9
@@ -2,7 +2,7 @@
 # Script to perform searching
 # For documentation try 'perldoc /path/to/search'
 #
-# $Header: /sources/koha/koha/catalogue/search.pl,v 1.8 2007/05/28 16:28:44 
tipaul Exp $
+# $Header: /sources/koha/koha/catalogue/search.pl,v 1.9 2007/07/10 14:21:41 
toins Exp $
 #
 # Copyright 2006 LibLime
 #
@@ -504,16 +504,6 @@
             searchdesc => ($query_type?"$query_type=":"")."$search_desc",
             opacfacets => 1,
             facets_loop => $facets,
-            suggestion => C4::Context->preference("suggestion"),
-            virtualshelves => C4::Context->preference("virtualshelves"),
-            LibraryName => C4::Context->preference("LibraryName"),
-            OpacNav => C4::Context->preference("OpacNav"),
-            opaccredits => C4::Context->preference("opaccredits"),
-            AmazonContent => C4::Context->preference("AmazonContent"),
-            opacsmallimage => C4::Context->preference("opacsmallimage"),
-            opaclayoutstylesheet => 
C4::Context->preference("opaclayoutstylesheet"),
-            opaccolorstylesheet => 
C4::Context->preference("opaccolorstylesheet"),
-            "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") 
=> 1,
             scan_use => $scan,
             search_error => $error,
 );




reply via email to

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