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

Antoine Farnault antoine at koha-fr.org
Wed Sep 20 15:33:08 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/09/20 13:33:08

Modified files:
	C4             : Output.pm 

Log message:
	switching to 'prog' template as default instead of 'default' on rel_3_0.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Output.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.56.2.1&r2=1.56.2.2

Patches:
Index: Output.pm
===================================================================
RCS file: /sources/koha/koha/C4/Output.pm,v
retrieving revision 1.56.2.1
retrieving revision 1.56.2.2
diff -u -b -r1.56.2.1 -r1.56.2.2
--- Output.pm	5 Sep 2006 21:33:14 -0000	1.56.2.1
+++ Output.pm	20 Sep 2006 13:33:08 -0000	1.56.2.2
@@ -1,6 +1,6 @@
 package C4::Output;
 
-# $Id: Output.pm,v 1.56.2.1 2006/09/05 21:33:14 hdl Exp $
+# $Id: Output.pm,v 1.56.2.2 2006/09/20 13:33:08 toins Exp $
 
 #package to deal with marking up output
 #You will need to edit parts of this pm
@@ -72,7 +72,7 @@
 		$htdocs = C4::Context->config('intrahtdocs');
 	}
     my $path = C4::Context->preference('intranet_includes') || 'includes';
-    warn "PATH : $path";
+#    warn "PATH : $path";
 	my ($theme, $lang) = themelanguage($htdocs, $tmplbase, $opac, $query);
 	my $opacstylesheet = C4::Context->preference('opacstylesheet');
 	my $template = HTML::Template::Pro->new(filename      => "$htdocs/$theme/$lang/$tmplbase",
@@ -145,7 +145,7 @@
   if ($theme and $lang) {
     return ($theme, $lang);
   } else {
-    return ('default', 'en');
+    return ('prog', 'en');
   }
 }
 





More information about the Koha-cvs mailing list