From 0dd1e735fe8b31fc4ab8834ed952344af916e503 Mon Sep 17 00:00:00 2001 From: sushi Date: Wed, 7 Jun 2006 19:49:11 +0000 Subject: [PATCH] OOPS, adding back Joshua's changes. Adds script support for IntranetNav ... see mail to koha-devel for details. Adds support for intranetstylesheet system pref in Koha scripts. Adds support for intranetcolorstylesheet. --- acqui/order.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/acqui/order.pl b/acqui/order.pl index d2c57f208b..193ff421c8 100755 --- a/acqui/order.pl +++ b/acqui/order.pl @@ -89,9 +89,13 @@ for ( my $i = 0 ; $i < $count ; $i++ ) { push @loop_suppliers, \%line; } $template->param( - loop_suppliers => \@loop_suppliers, - supplier => $supplier, - count => $count + loop_suppliers => \@loop_suppliers, + supplier => $supplier, + count => $count, + intranetcolorstylesheet => + C4::Context->preference("intranetcolorstylesheet"), + intranetstylesheet => C4::Context->preference("intranetstylesheet"), + IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.5