koha-cvs
[Top][All Lists]
Advanced

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

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


From: paul poulain
Subject: [Koha-cvs] koha/C4 Output.pm [rel_2_2]
Date: Wed, 13 Sep 2006 15:03:31 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <tipaul>   06/09/13 15:03:31

Modified files:
        C4             : Output.pm 

Log message:
        switching to CSS templates and not default if the exact template don't 
exist.
        
        I also have cleaned default directory, for OPAC. Thus, if the library 
has "default" as prefered theme, css will popup anyway ;-)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Output.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.51.2.2&r2=1.51.2.3

Patches:
Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.51.2.2
retrieving revision 1.51.2.3
diff -u -b -r1.51.2.2 -r1.51.2.3
--- Output.pm   9 Feb 2006 15:01:54 -0000       1.51.2.2
+++ Output.pm   13 Sep 2006 15:03:31 -0000      1.51.2.3
@@ -1,6 +1,6 @@
 package C4::Output;
 
-# $Id: Output.pm,v 1.51.2.2 2006/02/09 15:01:54 kados Exp $
+# $Id: Output.pm,v 1.51.2.3 2006/09/13 15:03:31 tipaul Exp $
 
 #package to deal with marking up output
 #You will need to edit parts of this pm
@@ -143,7 +143,11 @@
   if ($theme and $lang) {
     return ($theme, $lang);
   } else {
+    if ($section eq 'intranet') {
     return ('default', 'en');
+    } else {
+        return ('css', 'en');
+    }
   }
 }
 




reply via email to

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