improving issues_stats by adding location & itemcallnumber filters
[koha-ffzg.git] / admin / categoryitem.pl
index 0d7b7d5..7f4fca2 100644 (file)
@@ -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;
 
@@ -71,7 +70,7 @@ my $op = $input->param('op');
 $searchfield=~ s/\,//g;
 
 my ($template, $loggedinuser, $cookie) 
-    = get_template_and_user({template_name => "parameters/categoryitem.tmpl",
+    = get_template_and_user({template_name => "admin/categoryitem.tmpl",
                              query => $input,
                              type => "intranet",
                              authnotrequired => 0,
@@ -193,7 +192,10 @@ 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;