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

paul poulain paul at koha-fr.org
Wed Jan 31 16:41:14 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	07/01/31 15:41:14

Modified files:
	C4             : Auth.pm 

Log message:
	adding RequestOnOpac systempreference

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

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.54.2.25
retrieving revision 1.54.2.26
diff -u -b -r1.54.2.25 -r1.54.2.26
--- Auth.pm	29 Jan 2007 16:28:25 -0000	1.54.2.25
+++ Auth.pm	31 Jan 2007 15:41:14 -0000	1.54.2.26
@@ -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.25 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.54.2.26 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -243,22 +243,16 @@
             opaccredits    => "" . C4::Context->preference("opaccredits"),
             opacsmallimage => "" . C4::Context->preference("opacsmallimage"),
             opaclargeimage => "" . C4::Context->preference("opaclargeimage"),
-            opaclayoutstylesheet => ""
-              . C4::Context->preference("opaclayoutstylesheet"),
-            opaccolorstylesheet => ""
-              . C4::Context->preference("opaccolorstylesheet"),
-            opaclanguagesdisplay => ""
-              . C4::Context->preference("opaclanguagesdisplay"),
+            opaclayoutstylesheet => "". C4::Context->preference("opaclayoutstylesheet"),
+            opaccolorstylesheet => "". C4::Context->preference("opaccolorstylesheet"),
+            opaclanguagesdisplay => "". C4::Context->preference("opaclanguagesdisplay"),
             opacuserlogin    => "" . C4::Context->preference("opacuserlogin"),
             opacbookbag      => "" . C4::Context->preference("opacbookbag"),
-            TemplateEncoding => ""
-              . C4::Context->preference("TemplateEncoding"),
+            TemplateEncoding => "". C4::Context->preference("TemplateEncoding"),
             AmazonContent => "" . C4::Context->preference("AmazonContent"),
             LibraryName   => "" . C4::Context->preference("LibraryName"),
             LibraryNameTitle   => "" . $LibraryNameTitle,
-            LoginBranchname    => C4::Context->userenv
-	   ?C4::Context->userenv->{"branchname"}
-		:"", 
+            LoginBranchname    => C4::Context->userenv?C4::Context->userenv->{"branchname"}:"", 
             OpacPasswordChange => C4::Context->preference("OpacPasswordChange"),
             opacreadinghistory => C4::Context->preference("opacreadinghistory"),
             opacuserjs         => C4::Context->preference("opacuserjs"),
@@ -266,6 +260,7 @@
             OpacTopissue       => C4::Context->preference("OpacTopissue"),
             OpacAuthorities    => C4::Context->preference("OpacAuthorities"),
             OpacBrowser        => C4::Context->preference("OpacBrowser"),
+            RequestOnOpac        => C4::Context->preference("RequestOnOpac"),
             reviewson          => C4::Context->preference("reviewson"),
             hide_marc          => C4::Context->preference("hide_marc"),
             patronimages       => C4::Context->preference("patronimages"),





More information about the Koha-cvs mailing list