[Koha-cvs] koha/opac opac-dictionary.pl [rel_2_2]

Joshua Ferraro jmf at kados.org
Tue Mar 7 23:28:23 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/07 22:28:23

Modified files:
	opac           : opac-dictionary.pl 

Log message:
	adding support for stylesheets in this script

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/opac/opac-dictionary.pl.diff?only_with_tag=rel_2_2&tr1=1.1.2.2&tr2=1.1.2.3&r1=text&r2=text

Patches:
Index: koha/opac/opac-dictionary.pl
diff -u koha/opac/opac-dictionary.pl:1.1.2.2 koha/opac/opac-dictionary.pl:1.1.2.3
--- koha/opac/opac-dictionary.pl:1.1.2.2	Fri Jun 17 15:53:35 2005
+++ koha/opac/opac-dictionary.pl	Tue Mar  7 22:28:23 2006
@@ -205,7 +205,10 @@
 	} else {
 		$to = (($startfrom+1)*$resultsperpage);
 	}
-	$template->param(anindex => $input->param('index'));
+	$template->param(anindex => $input->param('index'),
+	opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
+        opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"),
+	);
 	$template->param(result => \@results,
 					 catresult=> \@catresults,
 						search => $search[0],





More information about the Koha-cvs mailing list