[Koha-cvs] koha/C4 Auth.pm [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Mon Feb 5 16:53:11 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/02/05 15:53:11

Modified files:
	C4             : Auth.pm 

Log message:
	adding some default syspref which should be loaded in each template.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.54.2.26&r2=1.54.2.27

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.54.2.26
retrieving revision 1.54.2.27
diff -u -b -r1.54.2.26 -r1.54.2.27
--- Auth.pm	31 Jan 2007 15:41:14 -0000	1.54.2.26
+++ Auth.pm	5 Feb 2007 15:53:11 -0000	1.54.2.27
@@ -37,7 +37,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.54.2.26 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.54.2.27 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -227,6 +227,7 @@
             AutoLocation       => C4::Context->preference("AutoLocation"),
             hide_marc          => C4::Context->preference("hide_marc"),
             patronimages       => C4::Context->preference("patronimages"),
+            "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1,
         );
     }
     else {
@@ -264,6 +265,7 @@
             reviewson          => C4::Context->preference("reviewson"),
             hide_marc          => C4::Context->preference("hide_marc"),
             patronimages       => C4::Context->preference("patronimages"),
+            "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1,
         );
     }
     return ( $template, $borrowernumber, $cookie );





More information about the Koha-cvs mailing list