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

Joshua Ferraro jmf at kados.org
Thu Jul 13 21:05:31 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/07/13 19:05:31

Modified files:
	C4             : Auth.pm 

Log message:
	adding intranet stylesheet, etc to checkauth in the right place
	to make them available to all scripts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.36.2.18.2.1&r2=1.36.2.18.2.2

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.36.2.18.2.1
retrieving revision 1.36.2.18.2.2
diff -u -b -r1.36.2.18.2.1 -r1.36.2.18.2.2
--- Auth.pm	12 Jul 2006 13:23:31 -0000	1.36.2.18.2.1
+++ Auth.pm	13 Jul 2006 19:05:31 -0000	1.36.2.18.2.2
@@ -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