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

(-)a/admin/marc-overlay-rules.pl (-4 lines)
Lines 37-44 use C4::Labels::Batch; Link Here
37
use Koha::MarcOverlayRules;
37
use Koha::MarcOverlayRules;
38
use Koha::Patron::Categories;
38
use Koha::Patron::Categories;
39
39
40
my $script_name = "/cgi-bin/koha/admin/marc-overlay-rules.pl";
41
42
my $input = new CGI;
40
my $input = new CGI;
43
my $op = $input->param('op') || '';
41
my $op = $input->param('op') || '';
44
my $errors = [];
42
my $errors = [];
Lines 73-80 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
73
    }
71
    }
74
);
72
);
75
73
76
$template->param(script_name => $script_name);
77
78
my %cookies = parse CGI::Cookie($cookie);
74
my %cookies = parse CGI::Cookie($cookie);
79
our $sessionID = $cookies{'CGISESSID'}->value;
75
our $sessionID = $cookies{'CGISESSID'}->value;
80
76
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt (-4 / +3 lines)
Lines 64-77 Link Here
64
                    <h3>Remove rule?</h3>
64
                    <h3>Remove rule?</h3>
65
                    <p>Are you sure you want to remove the selected rule(s)?</p>
65
                    <p>Are you sure you want to remove the selected rule(s)?</p>
66
66
67
                    <form action="[% script_name | uri %]" method="GET">
67
                    <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="GET">
68
                        <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not remove</button>
68
                        <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not remove</button>
69
                    </form>
69
                    </form>
70
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
70
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
71
                </div>
71
                </div>
72
                [% END %]
72
                [% END %]
73
73
74
                <form action="[% script_name | uri %]" method="POST" id="marc-overlay-rules-form">
74
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
75
                    <table id="marc-overlay-rules">
75
                    <table id="marc-overlay-rules">
76
                        <thead><tr>
76
                        <thead><tr>
77
                            <th>Rule</th>
77
                            <th>Rule</th>
Lines 251-257 Link Here
251
                    </table>
251
                    </table>
252
                </form>
252
                </form>
253
253
254
                <form action="[% script_name | uri %]" method="post">
254
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
255
                    <input type="hidden" name="op" value="redo-matching" />
255
                    <input type="hidden" name="op" value="redo-matching" />
256
                </form>
256
                </form>
257
257
258
- 

Return to bug 14957