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

Joshua Ferraro jmf at kados.org
Thu Jul 13 21:08:03 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	06/07/13 19:08:03

Modified files:
	C4             : Auth.pm 

Log message:
	adding intranetstylesheet, etc. to checkauth so they are available to
	all scripts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.36.2.18&r2=1.36.2.19

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.36.2.18
retrieving revision 1.36.2.19
diff -u -b -r1.36.2.18 -r1.36.2.19
--- Auth.pm	27 Apr 2006 17:02:20 -0000	1.36.2.18
+++ Auth.pm	13 Jul 2006 19:08:03 -0000	1.36.2.19
@@ -196,7 +196,16 @@
 			$template->param(CAN_user_tools => 1); }
 		
 	}
-	unless ($in->{'type'} eq "intranet") {
+	if  ($in->{'type'} eq "intranet") {
+        $template->param(
+                        intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),  
+                        intranetstylesheet => C4::Context->preference("intranetstylesheet"),
+                        IntranetNav => C4::Context->preference("IntranetNav"),
+
+        );
+
+	}
+        else {
 	$template->param(
 				suggestion => C4::Context->preference("suggestion"),
 				virtualshelves => C4::Context->preference("virtualshelves"),





More information about the Koha-cvs mailing list