rel_3_0 moved to HEAD
[koha.git] / admin / currency.pl
index 5af5536..d50d5ad 100755 (executable)
@@ -41,7 +41,7 @@ use strict;
 use CGI;
 use C4::Context;
 use C4::Output;
-use C4::Search;
+
 use C4::Auth;
 use C4::Interface::CGI::Output;
 
@@ -79,7 +79,7 @@ my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "admin/currency.tmpl",
                              query => $input,
                              type => "intranet",
-                            flagsrequired => {parameters => 1, management => 1},
+                            flagsrequired => {parameters => 1},
                             authnotrequired => 0,
                              debug => 1,
                              });
@@ -193,6 +193,9 @@ if ($op eq 'add_form') {
                                 nextpage => $offset+$pagesize);
        }
 } #---- 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;