improving issues_stats by adding location & itemcallnumber filters
[koha-ffzg.git] / admin / biblio_framework.pl
index b4acf18..4542a86 100755 (executable)
@@ -25,10 +25,9 @@ use strict;
 use CGI;
 use C4::Context;
 use C4::Output;
-use C4::Search;
 use C4::Auth;
 use C4::Interface::CGI::Output;
-use HTML::Template;
+
 
 sub StringSearch  {
        my ($env,$searchstring,$type)=@_;
@@ -56,7 +55,7 @@ my $pagesize=20;
 my $op = $input->param('op');
 $searchfield=~ s/\,//g;
 my ($template, $borrowernumber, $cookie)
-    = get_template_and_user({template_name => "parameters/biblio_framework.tmpl",
+    = get_template_and_user({template_name => "admin/biblio_framework.tmpl",
                             query => $input,
                             type => "intranet",
                             authnotrequired => 0,
@@ -71,6 +70,10 @@ $template->param(script_name => $script_name,
 $template->param(script_name => $script_name,
                                                else              => 1); # we show only the TMPL_VAR names $op
 }
+
+
+
+
 ################## ADD_FORM ##################################
 # called by default. Used to create form to add or  modify a record
 if ($op eq 'add_form') {
@@ -166,6 +169,10 @@ if ($op eq 'add_form') {
                $template->param(next => "$script_name?offset=".$nextpage);
        }
 } #---- 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;
 
 # Local Variables: