Bug 21411: (follow-up) Missing filters and unused variable

POD warnings from QA tool are false positives (basic functionsn POD not
needed)

Signed-off-by: Liz Rea <liz@catalyst.net.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-03-04 11:40:17 -05:00
parent 8b7342a823
commit 164caa7eeb
3 changed files with 5 additions and 6 deletions

View File

@ -279,8 +279,8 @@
<tbody>
[% FOREACH shortcut IN shortcuts %]
<tr>
<td>[% shortcut.shortcut_keys %]</td>
<td>[% shortcut.shortcut_desc %]</td>
<td>[% shortcut.shortcut_keys | html %]</td>
<td>[% shortcut.shortcut_desc | html %]</td>
</tr>
[% END %]
<tr>

View File

@ -40,10 +40,10 @@
<tbody>
[% FOREACH shortcut IN shortcuts %]
<tr>
<td><label for="shortcut_keys">[% shortcut.shortcut_desc %]</label></td>
<td><label for="shortcut_keys">[% shortcut.shortcut_desc | html %]</label></td>
<td>
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name %]">
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys %]">
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name | html %]">
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys | html %]">
</td>
</tr>
[% END %]

View File

@ -45,7 +45,6 @@ use Koha::KeyboardShortcuts;
my $input = new CGI;
my $op = $input->param('op') || 'list';
my @messages;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{ template_name => "tools/adveditorshortcuts.tt",