improving issues_stats by adding location & itemcallnumber filters
[koha-ffzg.git] / admin / printers.pl
index 5c5c39c..c95825d 100755 (executable)
@@ -41,8 +41,7 @@ use strict;
 use CGI;
 use C4::Context;
 use C4::Output;
-use C4::Search;
-use HTML::Template;
+
 use C4::Auth;
 use C4::Interface::CGI::Output;
 
@@ -80,7 +79,7 @@ my $op = $input->param('op');
 $searchfield=~ s/\,//g;
 
 my ($template, $loggedinuser, $cookie)
-    = get_template_and_user({template_name => "parameters/printers.tmpl",
+    = get_template_and_user({template_name => "admin/printers.tmpl",
                              query => $input,
                              type => "intranet",
                              authnotrequired => 0,
@@ -181,6 +180,9 @@ if ($op eq 'add_form') {
        }
 
 } #---- END $OP eq DEFAULT
-
+$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+               intranetstylesheet => C4::Context->preference("intranetstylesheet"),
+               IntranetNav => C4::Context->preference("IntranetNav"),
+               );
 output_html_with_http_headers $input, $cookie, $template->output;