koha-cvs
[Top][All Lists]
Advanced

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

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


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4 Auth.pm [rel_2_2]
Date: Thu, 13 Jul 2006 19:08:03 +0000

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"),




reply via email to

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