View | Details | Raw Unified | Return to bug 10022
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-3 / +3 lines)
Lines 239-246 td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
239
  </table>
239
  </table>
240
  [% END %]
240
  [% END %]
241
    [% IF ( tagloop ) %]<fieldset class="action">
241
    [% IF ( tagloop ) %]<fieldset class="action">
242
   <input type="submit" value="Approve" id="approve_button" name="op" />
242
   <input type="submit" value="Approve" id="approve_button" name="op-approve" />
243
   <input type="submit" value="Reject"  id="reject_button"  name="op" />
243
   <input type="submit" value="Reject"  id="reject_button"  name="op-reject" />
244
  </fieldset>[% END %]
244
  </fieldset>[% END %]
245
  </form>
245
  </form>
246
</div>
246
</div>
Lines 268-274 td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
268
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
268
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
269
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
269
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
270
   <input type="text" size="14" name="test" id="test" />
270
   <input type="text" size="14" name="test" id="test" />
271
   <fieldset class="action"><input type="submit" value="Test" id="test_button" name="op" /></fieldset>
271
   <fieldset class="action"><input type="submit" value="Test" id="test_button" name="op-test" /></fieldset>
272
   <div id="verdict">
272
   <div id="verdict">
273
	[% IF ( test_term ) %]
273
	[% IF ( test_term ) %]
274
	[% IF ( verdict_ok ) %]
274
	[% IF ( verdict_ok ) %]
(-)a/tags/review.pl (-2 / +6 lines)
Lines 89-95 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
89
});
89
});
90
90
91
my ($op, @errors, @tags);
91
my ($op, @errors, @tags);
92
$op   = lc($input->param('op')) || 'none';
92
93
foreach (qw( approve reject test )) {
94
    $op = $_ if ( $input->param("op-$_") );
95
}
96
$op ||= 'none';
97
93
@tags = $input->param('tags');
98
@tags = $input->param('tags');
94
99
95
$borrowernumber == 0 and push @errors, {op_zero=>1};
100
$borrowernumber == 0 and push @errors, {op_zero=>1};
96
- 

Return to bug 10022