|
Lines 51-56
my $template_flag;
Link Here
|
| 51 |
if (!defined $op) { |
51 |
if (!defined $op) { |
| 52 |
$template_name = "tools/batchMod.tmpl"; |
52 |
$template_name = "tools/batchMod.tmpl"; |
| 53 |
$template_flag = { tools => '*' }; |
53 |
$template_flag = { tools => '*' }; |
|
|
54 |
$op = q{}; |
| 54 |
} else { |
55 |
} else { |
| 55 |
$template_name = ($del) ? "tools/batchMod-del.tmpl" : "tools/batchMod-edit.tmpl"; |
56 |
$template_name = ($del) ? "tools/batchMod-del.tmpl" : "tools/batchMod-edit.tmpl"; |
| 56 |
$template_flag = ($del) ? { tools => 'items_batchdel' } : { tools => 'items_batchmod' }; |
57 |
$template_flag = ($del) ? { tools => 'items_batchdel' } : { tools => 'items_batchmod' }; |
|
Lines 432-439
foreach my $tag (sort keys %{$tagslib}) {
Link Here
|
| 432 |
$template->param(%$items_display_hashref) if $items_display_hashref; |
433 |
$template->param(%$items_display_hashref) if $items_display_hashref; |
| 433 |
$template->param( |
434 |
$template->param( |
| 434 |
op => $nextop, |
435 |
op => $nextop, |
| 435 |
$op => 1, |
|
|
| 436 |
); |
436 |
); |
|
|
437 |
$template->param( $op => 1 ) if $op; |
| 437 |
|
438 |
|
| 438 |
if ($op eq "action") { |
439 |
if ($op eq "action") { |
| 439 |
|
440 |
|
|
Lines 449-455
if ($op eq "action") {
Link Here
|
| 449 |
} |
450 |
} |
| 450 |
|
451 |
|
| 451 |
foreach my $error (@errors) { |
452 |
foreach my $error (@errors) { |
| 452 |
$template->param($error => 1); |
453 |
$template->param($error => 1) if $error; |
| 453 |
} |
454 |
} |
| 454 |
output_html_with_http_headers $input, $cookie, $template->output; |
455 |
output_html_with_http_headers $input, $cookie, $template->output; |
| 455 |
exit; |
456 |
exit; |
| 456 |
- |
|
|