New framework handling. New koha_attr table for mapping MARC to koha
[koha-ffzg.git] / admin / branches.pl
index 6d32a59..677d936 100755 (executable)
@@ -50,7 +50,6 @@ use C4::Auth;
 use C4::Context;
 use C4::Output;
 use C4::Interface::CGI::Output;
-use HTML::Template;
 
 # Fixed variables
 my $linecolor1='#ffffcc';
@@ -69,11 +68,11 @@ my $categorycode = $input->param('categorycode');
 my $op = $input->param('op');
 
 my ($template, $borrowernumber, $cookie)
-    = get_template_and_user({template_name => "parameters/branches.tmpl",
+    = get_template_and_user({template_name => "admin/branches.tmpl",
                             query => $input,
                             type => "intranet",
                             authnotrequired => 0,
-                            flagsrequired => {parameters => 1},
+                            flagsrequired => {parameters => 1, management => 1},
                             debug => 1,
                             });
 if ($op) {