diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index a8131c6955..31ac7545a1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -1,7 +1,11 @@ @@ -33,9 +37,12 @@
  • Inventory/stocktaking
  • - + +
  • Batch deletion of items
  • + +
  • Batch modification of items
  • - +
  • MARC Import (staging)
  • diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 69598d2670..84236eaf68 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -42,10 +42,13 @@ my $op = $input->param('op'); my $del = $input->param('del'); my $template_name; +my $template_flag; if (!defined $op) { $template_name = "tools/batchMod.tmpl"; + $template_flag = { tools => '*' }; } else { $template_name = ($del) ? "tools/batchMod-del.tmpl" : "tools/batchMod-edit.tmpl"; + $template_flag = ($del) ? { tools => 'batchdel' } : { tools => 'batchmod' }; } @@ -54,7 +57,7 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {editcatalogue => 1}, + flagsrequired => $template_flag, });