adding support for stylesheets in this script

This commit is contained in:
kados 2006-03-07 22:28:23 +00:00
parent 1b567262c3
commit 45f3174bcd
1 changed files with 4 additions and 1 deletions

View File

@ -205,7 +205,10 @@ if ($op eq "do_search") {
} 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],