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

(-)a/admin/auth_subfields_structure.pl (-4 / +2 lines)
Lines 34-40 my $tagfield = $input->param('tagfield'); Link Here
34
my $tagsubfield  = $input->param('tagsubfield');
34
my $tagsubfield  = $input->param('tagsubfield');
35
my $authtypecode = $input->param('authtypecode');
35
my $authtypecode = $input->param('authtypecode');
36
my $op           = $input->param('op') || '';
36
my $op           = $input->param('op') || '';
37
my $script_name  = "/cgi-bin/koha/admin/auth_subfields_structure.pl";
38
37
39
my ($template, $borrowernumber, $cookie) = get_template_and_user(
38
my ($template, $borrowernumber, $cookie) = get_template_and_user(
40
    {   template_name   => "admin/auth_subfields_structure.tt",
39
    {   template_name   => "admin/auth_subfields_structure.tt",
Lines 47-58 my $pagesize = 30; Link Here
47
$tagfield =~ s/\,//g;
46
$tagfield =~ s/\,//g;
48
47
49
if ($op) {
48
if ($op) {
50
$template->param(script_name => $script_name,
49
    $template->param(
51
						tagfield =>$tagfield,
50
						tagfield =>$tagfield,
52
						authtypecode => $authtypecode,
51
						authtypecode => $authtypecode,
53
						$op              => 1); # we show only the TMPL_VAR names $op
52
						$op              => 1); # we show only the TMPL_VAR names $op
54
} else {
53
} else {
55
$template->param(script_name => $script_name,
54
    $template->param(
56
						tagfield =>$tagfield,
55
						tagfield =>$tagfield,
57
						authtypecode => $authtypecode,
56
						authtypecode => $authtypecode,
58
						else              => 1); # we show only the TMPL_VAR names $op
57
						else              => 1); # we show only the TMPL_VAR names $op
Lines 237-243 elsif ( $op eq 'delete_confirm' ) { Link Here
237
  );
236
  );
238
  $template->param(
237
  $template->param(
239
      ass         => $ass,
238
      ass         => $ass,
240
      delete_link => $script_name,
241
  );
239
  );
242
}
240
}
243
elsif ( $op eq 'cud-delete_confirmed' ) {
241
elsif ( $op eq 'cud-delete_confirmed' ) {
(-)a/admin/auth_tag_structure.pl (-3 / +1 lines)
Lines 39-46 my $op = $input->param('op') || ''; Link Here
39
$searchfield =~ s/\,//g;
39
$searchfield =~ s/\,//g;
40
40
41
41
42
my $script_name = "/cgi-bin/koha/admin/auth_tag_structure.pl";
43
44
my $dbh = C4::Context->dbh;
42
my $dbh = C4::Context->dbh;
45
43
46
# open template
44
# open template
Lines 70-76 if (!$op or $op eq 'cud-authtype_create_confirm') { Link Here
70
        }
68
        }
71
    }
69
    }
72
}
70
}
73
$template->param(script_name  => $script_name);
71
74
$template->param(authority_types => $authority_types );
72
$template->param(authority_types => $authority_types );
75
if ($op && $op ne 'cud-authtype_create_confirm') {
73
if ($op && $op ne 'cud-authtype_create_confirm') {
76
    $template->param($op  => 1);
74
    $template->param($op  => 1);
(-)a/admin/classsources.pl (-3 lines)
Lines 30-37 use Koha::ClassSources; Link Here
30
use Koha::ClassSortRules;
30
use Koha::ClassSortRules;
31
use Koha::ClassSplitRules;
31
use Koha::ClassSplitRules;
32
32
33
my $script_name = "/cgi-bin/koha/admin/classsources.pl";
34
35
my $input            = CGI->new;
33
my $input            = CGI->new;
36
my $op               = $input->param('op') || 'list';
34
my $op               = $input->param('op') || 'list';
37
my $cn_source        = $input->param('cn_source');
35
my $cn_source        = $input->param('cn_source');
Lines 53-59 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
53
);
51
);
54
52
55
my @messages;
53
my @messages;
56
$template->param( script_name => $script_name );
57
54
58
if ( $op eq "add_source" ) {
55
if ( $op eq "add_source" ) {
59
    my $class_source =
56
    my $class_source =
(-)a/admin/marc_subfields_structure.pl (-4 lines)
Lines 38-44 my $frameworkcode = $input->param('frameworkcode'); Link Here
38
my $pkfield       = "tagfield";
38
my $pkfield       = "tagfield";
39
my $offset        = $input->param('offset');
39
my $offset        = $input->param('offset');
40
$offset = 0 if not defined $offset or $offset < 0;
40
$offset = 0 if not defined $offset or $offset < 0;
41
my $script_name   = "/cgi-bin/koha/admin/marc_subfields_structure.pl";
42
41
43
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
42
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
44
    {
43
    {
Lines 57-63 my $framework = Koha::BiblioFrameworks->search({ frameworkcode => $frameworkcode Link Here
57
56
58
if ($op) {
57
if ($op) {
59
    $template->param(
58
    $template->param(
60
        script_name   => $script_name,
61
        tagfield      => $tagfield,
59
        tagfield      => $tagfield,
62
        frameworkcode => $frameworkcode,
60
        frameworkcode => $frameworkcode,
63
        framework     => $framework,
61
        framework     => $framework,
Lines 66-72 if ($op) { Link Here
66
}
64
}
67
else {
65
else {
68
    $template->param(
66
    $template->param(
69
        script_name   => $script_name,
70
        tagfield      => $tagfield,
67
        tagfield      => $tagfield,
71
        frameworkcode => $frameworkcode,
68
        frameworkcode => $frameworkcode,
72
        framework     => $framework,
69
        framework     => $framework,
Lines 320-326 elsif ( $op eq 'delete_confirm' ) { Link Here
320
    );
317
    );
321
    $template->param(
318
    $template->param(
322
        mss => $mss,
319
        mss => $mss,
323
        delete_link   => $script_name,
324
    );
320
    );
325
321
326
    # END $OP eq DELETE_CONFIRM
322
    # END $OP eq DELETE_CONFIRM
(-)a/admin/marctagstructure.pl (-5 lines)
Lines 42-49 my $op = $input->param('op') || ''; Link Here
42
my $dspchoice = $input->cookie("marctagstructure_selectdisplay") // $input->param('select_display');
42
my $dspchoice = $input->cookie("marctagstructure_selectdisplay") // $input->param('select_display');
43
my $pagesize = 20;
43
my $pagesize = 20;
44
44
45
my $script_name = "/cgi-bin/koha/admin/marctagstructure.pl";
46
47
my $dbh = C4::Context->dbh;
45
my $dbh = C4::Context->dbh;
48
my $cache = Koha::Caches->get_instance();
46
my $cache = Koha::Caches->get_instance();
49
47
Lines 76-82 my $framework = $frameworks->search({ frameworkcode => $frameworkcode })->next; Link Here
76
$template->param(
74
$template->param(
77
    frameworks    => $frameworks,
75
    frameworks    => $frameworks,
78
    framework     => $framework,
76
    framework     => $framework,
79
    script_name   => $script_name,
80
    ( $op || 'else' ) => 1,
77
    ( $op || 'else' ) => 1,
81
);
78
);
82
79
Lines 319-331 if ($op eq 'add_form') { Link Here
319
		$template->param(isprevpage => $offset,
316
		$template->param(isprevpage => $offset,
320
						prevpage=> $offset-$pagesize,
317
						prevpage=> $offset-$pagesize,
321
						searchfield => $searchfield,
318
						searchfield => $searchfield,
322
                        script_name => $script_name
323
		);
319
		);
324
	}
320
	}
325
	if ($offset+$pagesize<$cnt) {
321
	if ($offset+$pagesize<$cnt) {
326
		$template->param(nextpage =>$offset+$pagesize,
322
		$template->param(nextpage =>$offset+$pagesize,
327
						searchfield => $searchfield,
323
						searchfield => $searchfield,
328
                        script_name => $script_name
329
		);
324
		);
330
	}
325
	}
331
} #---- END $OP eq DEFAULT
326
} #---- END $OP eq DEFAULT
(-)a/admin/matching-rules.pl (-4 lines)
Lines 26-33 use C4::Context; Link Here
26
use C4::Output qw( output_html_with_http_headers );
26
use C4::Output qw( output_html_with_http_headers );
27
use C4::Matcher qw/valid_normalization_routines/;
27
use C4::Matcher qw/valid_normalization_routines/;
28
28
29
my $script_name = "/cgi-bin/koha/admin/matching-rules.pl";
30
31
our $input = CGI->new;
29
our $input = CGI->new;
32
my $op = $input->param('op') || '';
30
my $op = $input->param('op') || '';
33
31
Lines 39-46 my ($template, $loggedinuser, $cookie) Link Here
39
                 flagsrequired => { parameters => 'manage_matching_rules' },
37
                 flagsrequired => { parameters => 'manage_matching_rules' },
40
                 });
38
                 });
41
39
42
$template->param(script_name => $script_name);
43
44
my $matcher_id = $input->param("matcher_id");
40
my $matcher_id = $input->param("matcher_id");
45
41
46
$template->param( max_matchpoint => 0 );
42
$template->param( max_matchpoint => 0 );
(-)a/admin/oai_servers.pl (-3 / +3 lines)
Lines 44-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
        flagsrequired => { parameters => 'manage_search_targets' },
44
        flagsrequired => { parameters => 'manage_search_targets' },
45
    }
45
    }
46
);
46
);
47
my $script_name = "/cgi-bin/koha/admin/oai_servers.pl";
48
my $path        = C4::Context->config('intrahtdocs') . "/prog/";
49
47
50
$template->param( script_name => $script_name, xslt_path => $path );
48
my $path = C4::Context->config('intrahtdocs') . "/prog/";
49
50
$template->param( xslt_path => $path );
51
51
52
my $schema = Koha::Database->new()->schema();
52
my $schema = Koha::Database->new()->schema();
53
53
(-)a/admin/patron-attr-types.pl (-5 lines)
Lines 33-40 use Koha::AuthorisedValues; Link Here
33
use Koha::Libraries;
33
use Koha::Libraries;
34
use Koha::Patron::Categories;
34
use Koha::Patron::Categories;
35
35
36
my $script_name = "/cgi-bin/koha/admin/patron-attr-types.pl";
37
38
our $input = CGI->new;
36
our $input = CGI->new;
39
my $op = $input->param('op') || '';
37
my $op = $input->param('op') || '';
40
38
Lines 47-55 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
    }
45
    }
48
);
46
);
49
47
50
51
$template->param(script_name => $script_name);
52
53
my $code = $input->param("code");
48
my $code = $input->param("code");
54
49
55
my $display_list = 0;
50
my $display_list = 0;
(-)a/admin/systempreferences.pl (-16 / +4 lines)
Lines 223-237 my $op = $input->param('op') || ''; Link Here
223
$searchfield =~ s/\,//g;
223
$searchfield =~ s/\,//g;
224
224
225
if ($op) {
225
if ($op) {
226
    $template->param(
226
    $template->param( $op => 1 );    # we show only the TMPL_VAR names $op
227
        script_name => $script_name,
228
        $op         => 1
229
    );    # we show only the TMPL_VAR names $op
230
} else {
227
} else {
231
    $template->param(
228
    $template->param( else => 1 );    # we show only the TMPL_VAR names $op
232
        script_name => $script_name,
233
        else        => 1
234
    );    # we show only the TMPL_VAR names $op
235
}
229
}
236
230
237
if ( $op eq 'update_and_reedit' ) {
231
if ( $op eq 'update_and_reedit' ) {
Lines 260-276 if ( $op eq 'update_and_reedit' ) { Link Here
260
        $value = join ' ', @currentorder;
254
        $value = join ' ', @currentorder;
261
        if ($orderchanged) {
255
        if ($orderchanged) {
262
            $op = 'add_form';
256
            $op = 'add_form';
263
            $template->param(
257
            $template->param( $op => 1 );    # we show only the TMPL_VAR names $op
264
                script_name => $script_name,
265
                $op         => 1
266
            );    # we show only the TMPL_VAR names $op
267
        } else {
258
        } else {
268
            $op          = '';
259
            $op          = '';
269
            $searchfield = '';
260
            $searchfield = '';
270
            $template->param(
261
            $template->param( else => 1 );    # we show only the TMPL_VAR names $op
271
                script_name => $script_name,
272
                else        => 1
273
            );    # we show only the TMPL_VAR names $op
274
        }
262
        }
275
    }
263
    }
276
    my $variable = $input->param('variable');
264
    my $variable = $input->param('variable');
(-)a/admin/z3950servers.pl (-2 lines)
Lines 46-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { Link Here
46
    type => "intranet",
46
    type => "intranet",
47
    flagsrequired => { parameters => 'manage_search_targets' },
47
    flagsrequired => { parameters => 'manage_search_targets' },
48
});
48
});
49
my $script_name = "/cgi-bin/koha/admin/z3950servers.pl";
50
$template->param( script_name => $script_name );
51
49
52
my $schema = Koha::Database->new()->schema();
50
my $schema = Koha::Database->new()->schema();
53
51
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% WRAPPER tabs id="header_search" %]
5
[% WRAPPER tabs id="header_search" %]
6
    [% WRAPPER tab_panels %]
6
    [% WRAPPER tab_panels %]
7
        [% WRAPPER tab_panel tabname="city_search" bt_active= 1 %]
7
        [% WRAPPER tab_panel tabname="city_search" bt_active= 1 %]
8
            <form action="[% script_name | html %]" method="get">
8
            <form action="/cgi-bin/koha/admin/cities.pl" method="get">
9
                <div class="form-title">
9
                <div class="form-title">
10
                    <label class="control-label" for="city_name_filter"><span class="control-text">Search cities</span> <i class="fa fa-fw fa-building" aria-hidden="true"></i></label>
10
                    <label class="control-label" for="city_name_filter"><span class="control-text">Search cities</span> <i class="fa fa-fw fa-building" aria-hidden="true"></i></label>
11
                </div>
11
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% WRAPPER tabs id="header_search" %]
5
[% WRAPPER tabs id="header_search" %]
6
    [% WRAPPER tab_panels %]
6
    [% WRAPPER tab_panels %]
7
        [% WRAPPER tab_panel tabname="contract_description_search" bt_active= 1 %]
7
        [% WRAPPER tab_panel tabname="contract_description_search" bt_active= 1 %]
8
            <form action="[% script_name | html %]" method="get">
8
            <form action="/cgi-bin/koha/admin/aqcontract.pl" method="get">
9
                <div class="form-title">
9
                <div class="form-title">
10
                    <label class="control-label" for="searchfield"><span class="control-text">Search contracts</span> <i class="fa-solid fa-fw fa-pen-to-square" aria-hidden="true"></i></label>
10
                    <label class="control-label" for="searchfield"><span class="control-text">Search contracts</span> <i class="fa-solid fa-fw fa-pen-to-square" aria-hidden="true"></i></label>
11
                </div>
11
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% WRAPPER tabs id="header_search" %]
5
[% WRAPPER tabs id="header_search" %]
6
    [% WRAPPER tab_panels %]
6
    [% WRAPPER tab_panels %]
7
        [% WRAPPER tab_panel tabname="currency_search" bt_active= 1 %]
7
        [% WRAPPER tab_panel tabname="currency_search" bt_active= 1 %]
8
            <form action="[% script_name | html %]" method="get">
8
            <form action="/cgi-bin/koha/admin/currency.pl" method="get">
9
                <div class="form-title">
9
                <div class="form-title">
10
                    <label class="control-label" for="description"><span class="control-text">Search currencies</span> <i class="fa-solid fa-fw fa-dollar-sign" aria-hidden="true"></i></label>
10
                    <label class="control-label" for="description"><span class="control-text">Search currencies</span> <i class="fa-solid fa-fw fa-dollar-sign" aria-hidden="true"></i></label>
11
                </div>
11
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% WRAPPER tabs id="header_search" %]
5
[% WRAPPER tabs id="header_search" %]
6
    [% WRAPPER tab_panels %]
6
    [% WRAPPER tab_panels %]
7
        [% WRAPPER tab_panel tabname="desk_search" bt_active= 1 %]
7
        [% WRAPPER tab_panel tabname="desk_search" bt_active= 1 %]
8
            <form action="[% script_name|html %]" method="get">
8
            <form action="/cgi-bin/koha/admin/desks.pl" method="get">
9
                <div class="form-title">
9
                <div class="form-title">
10
                    <label class="control-label" for="search_desk_name"><span class="control-text">Search desks</span> <i class="fa fa-fw fa-desktop" aria-hidden="true"></i></label>
10
                    <label class="control-label" for="search_desk_name"><span class="control-text">Search desks</span> <i class="fa fa-fw fa-desktop" aria-hidden="true"></i></label>
11
                </div>
11
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (-1 / +1 lines)
Lines 6-12 Link Here
6
[% WRAPPER tabs id= "header_search" %]
6
[% WRAPPER tabs id= "header_search" %]
7
    [% WRAPPER tab_panels %]
7
    [% WRAPPER tab_panels %]
8
        [% WRAPPER tab_panel tabname="patron_category_search" bt_active= 1 %]
8
        [% WRAPPER tab_panel tabname="patron_category_search" bt_active= 1 %]
9
            <form action="[% script_name | html %]" method="get">
9
            <form action="/cgi-bin/koha/admin/categories.pl" method="get">
10
                <div class="form-title">
10
                <div class="form-title">
11
                    <label class="control-label" for="category_search"><span class="control-text">Search patron categories</span> <i class="fa fa-fw fa-id-card" aria-hidden="true"></i></label>
11
                    <label class="control-label" for="category_search"><span class="control-text">Search patron categories</span> <i class="fa fa-fw fa-id-card" aria-hidden="true"></i></label>
12
                </div>
12
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-1 / +1 lines)
Lines 5-11 Link Here
5
[% PROCESS 'patron-search.inc' %]
5
[% PROCESS 'patron-search.inc' %]
6
[% BLOCK csv_export %]
6
[% BLOCK csv_export %]
7
    <div class="btn-group">
7
    <div class="btn-group">
8
        <a id="exportbutton" class="btn btn-default" href="[% script_name | url %]?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
8
        <a id="exportbutton" class="btn btn-default" href="/cgi-bin/koha/acqui/basket.pl?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
9
        <button type="button" class="btn btn-default btn-sm dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
9
        <button type="button" class="btn btn-default btn-sm dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
10
            <span class="visually-hidden">Toggle dropdown</span>
10
            <span class="visually-hidden">Toggle dropdown</span>
11
        </button>
11
        </button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-4 / +4 lines)
Lines 53-63 Link Here
53
                [% IF ( grouping ) %]
53
                [% IF ( grouping ) %]
54
                    [% IF (closedbg) %]
54
                    [% IF (closedbg) %]
55
                        <div id="toolbar" class="btn-toolbar">
55
                        <div id="toolbar" class="btn-toolbar">
56
                            <div class="btn-group"><a href="[% script_name | url %]?op=reopen&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;mode=singlebg" class="btn btn-default" id="reopenbutton"><i class="fa fa-download"></i> Reopen basket group</a></div>
56
                            <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=reopen&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;mode=singlebg" class="btn btn-default" id="reopenbutton"><i class="fa fa-download"></i> Reopen basket group</a></div>
57
                            <div class="btn-group"><a href="[% script_name | url %]?op=export&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="exportbutton"><i class="fa fa-download"></i> Export basket group as CSV</a></div>
57
                            <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=export&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="exportbutton"><i class="fa fa-download"></i> Export basket group as CSV</a></div>
58
                            <div class="btn-group"><a href="[% script_name | url %]?op=print&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Print basket group in PDF</a></div>
58
                            <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=print&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Print basket group in PDF</a></div>
59
                        [% IF (ediaccount) %]
59
                        [% IF (ediaccount) %]
60
                            <div class="btn-group"><a href="[% script_name | url %]?op=ediprint&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
60
                            <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=ediprint&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
61
                        [% END %]
61
                        [% END %]
62
                        </div>
62
                        </div>
63
                    [% END %]
63
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt (-1 / +1 lines)
Lines 56-62 Link Here
56
            <h1>Edit basket [% basketname | html %]</h1>
56
            <h1>Edit basket [% basketname | html %]</h1>
57
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
57
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
58
        [% END %]
58
        [% END %]
59
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
59
    <form name="Aform" action="/cgi-bin/koha/acqui/basketheader.pl" method="post" class="validated">
60
        [% INCLUDE 'csrf-token.inc' %]
60
        [% INCLUDE 'csrf-token.inc' %]
61
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
61
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
62
        <fieldset class="rows">
62
        <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-5 / +5 lines)
Lines 11-17 Link Here
11
        </a>
11
        </a>
12
        <ul class="dropdown-menu dropdown-menu-end" role="menu" aria-labelledby="budgetmenu_[% block_budget.budget_period_id | html %]">
12
        <ul class="dropdown-menu dropdown-menu-end" role="menu" aria-labelledby="budgetmenu_[% block_budget.budget_period_id | html %]">
13
              <li>
13
              <li>
14
                  <a class="dropdown-item" href="[% script_name | url %]?op=add_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
14
                  <a class="dropdown-item" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
15
              </li>
15
              </li>
16
            [% IF block_budget.count %]
16
            [% IF block_budget.count %]
17
                <li data-bs-toggle="tooltip" data-bs-placement="left" title="[% block_budget.count | html %] fund(s) are attached to this budget. You must delete all attached funds before deleting this budget.">
17
                <li data-bs-toggle="tooltip" data-bs-placement="left" title="[% block_budget.count | html %] fund(s) are attached to this budget. You must delete all attached funds before deleting this budget.">
Lines 19-32 Link Here
19
                </li>
19
                </li>
20
            [% ELSE %]
20
            [% ELSE %]
21
                <li>
21
                <li>
22
                    <a class="dropdown-item" href="[% script_name | url %]?op=delete_confirm&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
22
                    <a class="dropdown-item" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=delete_confirm&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
23
                </li>
23
                </li>
24
            [% END %]
24
            [% END %]
25
              <li>
25
              <li>
26
                  <a class="dropdown-item" href="[% script_name | url %]?op=duplicate_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-copy"></i> Duplicate</a>
26
                  <a class="dropdown-item" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-copy"></i> Duplicate</a>
27
              </li>
27
              </li>
28
              <li>
28
              <li>
29
                  <a class="dropdown-item" href="[% script_name | url %]?op=close_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-times-circle"></i> Close</a>
29
                  <a class="dropdown-item" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=close_form&amp;budget_period_id=[% block_budget.budget_period_id | uri %]"><i class="fa fa-times-circle"></i> Close</a>
30
              </li>
30
              </li>
31
            [% IF ( block_budget.budget_period_locked ) %]
31
            [% IF ( block_budget.budget_period_locked ) %]
32
                <li data-bs-toggle="tooltip" data-bs-placement="left" title="Budget is locked">
32
                <li data-bs-toggle="tooltip" data-bs-placement="left" title="Budget is locked">
Lines 318-324 Link Here
318
    <!-- "delete" and "cancel" buttons    -->
318
    <!-- "delete" and "cancel" buttons    -->
319
    <!-- ############################################################# -->
319
    <!-- ############################################################# -->
320
320
321
    <form action="[% script_name | html %]" method="post">
321
    <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" method="post">
322
        [% INCLUDE 'csrf-token.inc' %]
322
        [% INCLUDE 'csrf-token.inc' %]
323
        <input type="hidden" name="op" value="cud-delete_confirmed" />
323
        <input type="hidden" name="op" value="cud-delete_confirmed" />
324
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
324
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-4 / +4 lines)
Lines 140-146 Link Here
140
                            <tr><th scope="row">Contract end date:</th><td>[% contractenddate | $KohaDates %]</td></tr>
140
                            <tr><th scope="row">Contract end date:</th><td>[% contractenddate | $KohaDates %]</td></tr>
141
                            <tr><th scope="row">Vendor:</th><td>[% booksellername | html %]</td></tr>
141
                            <tr><th scope="row">Vendor:</th><td>[% booksellername | html %]</td></tr>
142
                        </table>
142
                        </table>
143
                        <form action="[% script_name | html %]" method="post">
143
                        <form action="/cgi-bin/koha/admin/aqcontract.pl" method="post">
144
                            [% INCLUDE 'csrf-token.inc' %]
144
                            [% INCLUDE 'csrf-token.inc' %]
145
                            <input type="hidden" name="op" value="cud-delete_confirmed" />
145
                            <input type="hidden" name="op" value="cud-delete_confirmed" />
146
                            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
146
                            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
Lines 169-182 Link Here
169
                            [% FOREACH loo IN loop %]
169
                            [% FOREACH loo IN loop %]
170
                                <tr>
170
                                <tr>
171
                                    <td>
171
                                    <td>
172
                                        <a href="[% loo.script_name | url %]?op=add_form&amp;booksellerid=[% loo.booksellerid | uri %]&amp;contractnumber=[% loo.contractnumber | uri %]">[% loo.contractname | html %]</a>
172
                                        <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% loo.booksellerid | uri %]&amp;contractnumber=[% loo.contractnumber | uri %]">[% loo.contractname | html %]</a>
173
                                    </td>
173
                                    </td>
174
                                    <td>[% loo.contractdescription | html %]</td>
174
                                    <td>[% loo.contractdescription | html %]</td>
175
                                    <td>[% loo.contractstartdate | html %]</td>
175
                                    <td>[% loo.contractstartdate | html %]</td>
176
                                    <td>[% loo.contractenddate | html %]</td>
176
                                    <td>[% loo.contractenddate | html %]</td>
177
                                    <td class="actions">
177
                                    <td class="actions">
178
                                        <a href="[% loo.script_name | url %]?op=add_form&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
178
                                        <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
179
                                        <a href="[% loo.script_name | url %]?op=delete_confirm&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash-can"></i> Delete</a>
179
                                        <a href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash-can"></i> Delete</a>
180
                                    </td>
180
                                    </td>
181
                                </tr>
181
                                </tr>
182
                            [% END %]
182
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-2 / +2 lines)
Lines 97-103 Link Here
97
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield | html %] authority [% authtypecode | html %][% END %]
97
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield | html %] authority [% authtypecode | html %][% END %]
98
    [% ELSE %][% action | html %][% END %]</h1>
98
    [% ELSE %][% action | html %][% END %]</h1>
99
    <div class="hint">You can drag and drop the subfield tabs to change the order.</div>
99
    <div class="hint">You can drag and drop the subfield tabs to change the order.</div>
100
    <form action="[% script_name | html %]" name="Aform" method="post">
100
    <form action="/cgi-bin/koha/admin/auth_subfields_structure.pl" name="Aform" method="post">
101
        [% INCLUDE 'csrf-token.inc' %]
101
        [% INCLUDE 'csrf-token.inc' %]
102
        <input type="hidden" name="op" value="cud-add_validate" />
102
        <input type="hidden" name="op" value="cud-add_validate" />
103
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
103
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
Lines 384-390 Link Here
384
</table>
384
</table>
385
</div> <!-- /.page-section -->
385
</div> <!-- /.page-section -->
386
386
387
    <form action="[% script_name | html %]" method="get">
387
    <form action="/cgi-bin/koha/admin/auth_subfields_structure.pl" method="get">
388
    <fieldset class="action"><input type="hidden" name="op" value="add_form" />
388
    <fieldset class="action"><input type="hidden" name="op" value="add_form" />
389
    <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
389
    <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
390
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode | html %]" />
390
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-5 / +5 lines)
Lines 128-134 Link Here
128
            <span>New tag</span>
128
            <span>New tag</span>
129
        [% END %]
129
        [% END %]
130
    </h2>
130
    </h2>
131
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
131
    <form action="/cgi-bin/koha/admin/auth_tag_structure.pl" name="Aform" method="post" class="validated">
132
        [% INCLUDE 'csrf-token.inc' %]
132
        [% INCLUDE 'csrf-token.inc' %]
133
        <input type="hidden" name="op" value="cud-add_validate" />
133
        <input type="hidden" name="op" value="cud-add_validate" />
134
        [% IF ( heading_modify_tag_p ) %]<input type="hidden" name="modif" value="1" />[% END %]
134
        [% IF ( heading_modify_tag_p ) %]<input type="hidden" name="modif" value="1" />[% END %]
Lines 184-190 Link Here
184
[% IF ( delete_confirm ) %]
184
[% IF ( delete_confirm ) %]
185
    <div class="alert alert-warning">
185
    <div class="alert alert-warning">
186
        <h3>[% tx("Confirm deletion of tag '{searchfield}'", { searchfield = searchfield }) | html %]</h3>
186
        <h3>[% tx("Confirm deletion of tag '{searchfield}'", { searchfield = searchfield }) | html %]</h3>
187
        <form action="[% script_name | html %]" method="post">
187
        <form action="/cgi-bin/koha/admin/auth_tag_structure.pl" method="post">
188
            [% INCLUDE 'csrf-token.inc' %]
188
            [% INCLUDE 'csrf-token.inc' %]
189
            <table>
189
            <table>
190
                <tr><th scope="row">Tag: </th><td>[% searchfield | html %] [% liblibrarian | html %]</td></tr>
190
                <tr><th scope="row">Tag: </th><td>[% searchfield | html %] [% liblibrarian | html %]</td></tr>
Lines 194-200 Link Here
194
            <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
194
            <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
195
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
195
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
196
        </form>
196
        </form>
197
        <form action="[% script_name | html %]" method="get">
197
        <form action="/cgi-bin/koha/admin/auth_tag_structure.pl" method="get">
198
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
198
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
199
        </form>
199
        </form>
200
    </div>
200
    </div>
Lines 202-208 Link Here
202
202
203
[% IF ( authtype_create ) %]
203
[% IF ( authtype_create ) %]
204
204
205
    <form action="[% script_name | html %]" method="post">
205
    <form action="/cgi-bin/koha/admin/auth_tag_structure.pl" method="post">
206
        [% INCLUDE 'csrf-token.inc' %]
206
        [% INCLUDE 'csrf-token.inc' %]
207
        <input type="hidden" name="op" value="cud-authtype_create_confirm" />
207
        <input type="hidden" name="op" value="cud-authtype_create_confirm" />
208
        <input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
208
        <input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
Lines 223-229 Link Here
223
223
224
[% IF ( else ) %]
224
[% IF ( else ) %]
225
225
226
<form action="[% script_name | html %]" method="get">
226
<form action="/cgi-bin/koha/admin/auth_tag_structure.pl" method="get">
227
    <fieldset>
227
    <fieldset>
228
        <label for="searchfield"><strong>Search for tag:</strong></label>
228
        <label for="searchfield"><strong>Search for tag:</strong></label>
229
        <input type="text" id="searchfield" name="searchfield" size="4" value="[% searchfield | html %]" />
229
        <input type="text" id="searchfield" name="searchfield" size="4" value="[% searchfield | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-12 / +12 lines)
Lines 148-154 Link Here
148
  [% ELSE %]
148
  [% ELSE %]
149
<h1>New classification source</h1>
149
<h1>New classification source</h1>
150
  [% END %]
150
  [% END %]
151
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
151
<form action="/cgi-bin/koha/admin/classsources.pl" name="Aform" class="validated" method="post">
152
    [% INCLUDE 'csrf-token.inc' %]
152
    [% INCLUDE 'csrf-token.inc' %]
153
  <input type="hidden" name="op" value="cud-add_source_validate" />
153
  <input type="hidden" name="op" value="cud-add_source_validate" />
154
  <fieldset class="rows">
154
  <fieldset class="rows">
Lines 213-219 Link Here
213
  [% ELSE %]
213
  [% ELSE %]
214
<h1>New filing rule</h1>
214
<h1>New filing rule</h1>
215
  [% END %]
215
  [% END %]
216
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
216
<form action="/cgi-bin/koha/admin/classsources.pl" name="Aform" class="validated" method="post">
217
    [% INCLUDE 'csrf-token.inc' %]
217
    [% INCLUDE 'csrf-token.inc' %]
218
  <input type="hidden" name="op" value="cud-add_sort_rule_validate" />
218
  <input type="hidden" name="op" value="cud-add_sort_rule_validate" />
219
  <fieldset class="rows">
219
  <fieldset class="rows">
Lines 260-266 Link Here
260
  [% ELSE %]
260
  [% ELSE %]
261
<h1>New splitting rule</h1>
261
<h1>New splitting rule</h1>
262
  [% END %]
262
  [% END %]
263
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
263
<form action="/cgi-bin/koha/admin/classsources.pl" name="Aform" class="validated" method="post">
264
    [% INCLUDE 'csrf-token.inc' %]
264
    [% INCLUDE 'csrf-token.inc' %]
265
  <input type="hidden" name="op" value="cud-add_split_rule_validate" />
265
  <input type="hidden" name="op" value="cud-add_split_rule_validate" />
266
  <fieldset class="rows">
266
  <fieldset class="rows">
Lines 332-340 Link Here
332
[% IF op == 'list' %]
332
[% IF op == 'list' %]
333
333
334
<div id="toolbar" class="btn-toolbar">
334
<div id="toolbar" class="btn-toolbar">
335
    <a class="btn btn-default" id="newsource" href="[% script_name | url %]?op=add_source"><i class="fa fa-plus"></i> New classification source</a>
335
    <a class="btn btn-default" id="newsource" href="/cgi-bin/koha/admin/classsources.pl?op=add_source"><i class="fa fa-plus"></i> New classification source</a>
336
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_sort_rule"><i class="fa fa-plus"></i> New filing rule</a>
336
    <a class="btn btn-default" id="newrule" href="/cgi-bin/koha/admin/classsources.pl?op=add_sort_rule"><i class="fa fa-plus"></i> New filing rule</a>
337
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
337
    <a class="btn btn-default" id="newrule" href="/cgi-bin/koha/admin/classsources.pl?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
338
</div>
338
</div>
339
<h1>Classification configuration</h1>
339
<h1>Classification configuration</h1>
340
<div class="page-section">
340
<div class="page-section">
Lines 356-363 Link Here
356
    <td>[% class_source.class_sort_rule | html %]</td>
356
    <td>[% class_source.class_sort_rule | html %]</td>
357
    <td>[% class_source.class_split_rule | html %]</td>
357
    <td>[% class_source.class_split_rule | html %]</td>
358
    <td class="actions">
358
    <td class="actions">
359
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_source&amp;cn_source=[% class_source.cn_source | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
359
      <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/classsources.pl?op=add_source&amp;cn_source=[% class_source.cn_source | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
360
        <form action="[% script_name | url %]" method="post">
360
        <form action="/cgi-bin/koha/admin/classsources.pl" method="post">
361
            [% INCLUDE 'csrf-token.inc' %]
361
            [% INCLUDE 'csrf-token.inc' %]
362
            <input type="hidden" name="op" value="cud-delete_source_confirmed" />
362
            <input type="hidden" name="op" value="cud-delete_source_confirmed" />
363
            <input type="hidden" name="cn_source" value="[% class_source.cn_source | uri%]" />
363
            <input type="hidden" name="cn_source" value="[% class_source.cn_source | uri%]" />
Lines 384-391 Link Here
384
    <td>[% rule.description |html | html %]</td>
384
    <td>[% rule.description |html | html %]</td>
385
    <td>[% rule.sort_routine | html %]</td>
385
    <td>[% rule.sort_routine | html %]</td>
386
    <td class="actions">
386
    <td class="actions">
387
      <a class="btn btn-default btn-xs" href="[% script_name | html %]?op=add_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
387
      <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/classsources.pl?op=add_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
388
        <form action="[% script_name | url %]" method="post">
388
        <form action="/cgi-bin/koha/admin/classsources.pl" method="post">
389
            [% INCLUDE 'csrf-token.inc' %]
389
            [% INCLUDE 'csrf-token.inc' %]
390
            <input type="hidden" name="op" value="cud-delete_sort_rule" />
390
            <input type="hidden" name="op" value="cud-delete_sort_rule" />
391
            <input type="hidden" name="class_sort_rule" value="[% rule.class_sort_rule |url %]" />
391
            <input type="hidden" name="class_sort_rule" value="[% rule.class_sort_rule |url %]" />
Lines 412-419 Link Here
412
    <td>[% rule.description | html %]</td>
412
    <td>[% rule.description | html %]</td>
413
    <td>[% rule.split_routine | html %]</td>
413
    <td>[% rule.split_routine | html %]</td>
414
    <td class="actions">
414
    <td class="actions">
415
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
415
      <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/classsources.pl?op=add_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
416
        <form action="[% script_name | url %]" method="post">
416
        <form action="/cgi-bin/koha/admin/classsources.pl" method="post">
417
            [% INCLUDE 'csrf-token.inc' %]
417
            [% INCLUDE 'csrf-token.inc' %]
418
            <input type="hidden" name="op" value="cud-delete_split_rule" />
418
            <input type="hidden" name="op" value="cud-delete_split_rule" />
419
            <input type="hidden" name="class_split_rule" value="[% rule.class_split_rule | html %]" />
419
            <input type="hidden" name="class_split_rule" value="[% rule.class_split_rule | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-3 / +3 lines)
Lines 93-99 Link Here
93
                        </h1>
93
                        </h1>
94
                        <div class="hint">You can drag and drop the subfield tabs to change the order.</div>
94
                        <div class="hint">You can drag and drop the subfield tabs to change the order.</div>
95
95
96
                        <form action="[% script_name | html %]" name="Aform" method="post">
96
                        <form action="/cgi-bin/koha/admin/marc_subfields_structure.pl" name="Aform" method="post">
97
                            [% INCLUDE 'csrf-token.inc' %]
97
                            [% INCLUDE 'csrf-token.inc' %]
98
                            <input type="hidden" name="op" value="cud-add_validate" />
98
                            <input type="hidden" name="op" value="cud-add_validate" />
99
                            <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
99
                            <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
Lines 329-335 Link Here
329
                            </form>
329
                            </form>
330
330
331
331
332
                            <form action="[% script_name | html %]" method="get">
332
                            <form action="/cgi-bin/koha/admin/marc_subfields_structure.pl" method="get">
333
                                <input type="hidden" name="tagfield" value="[% mss.tagfield | html %]" />
333
                                <input type="hidden" name="tagfield" value="[% mss.tagfield | html %]" />
334
                                <input type="hidden" name="frameworkcode" value="[% mss.frameworkcode | html %]" />
334
                                <input type="hidden" name="frameworkcode" value="[% mss.frameworkcode | html %]" />
335
                                <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
335
                                <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
Lines 396-402 Link Here
396
                            </table> <!-- /#table_marcsubfieldstructure -->
396
                            </table> <!-- /#table_marcsubfieldstructure -->
397
                        </div><!-- /.page-section -->
397
                        </div><!-- /.page-section -->
398
398
399
                        <form action="[% script_name | html %]" method="get">
399
                        <form action="/cgi-bin/koha/admin/marc_subfields_structure.pl" method="get">
400
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
400
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
401
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
401
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
402
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
402
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-6 / +6 lines)
Lines 107-113 Link Here
107
107
108
[% IF ( add_form ) %]
108
[% IF ( add_form ) %]
109
109
110
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
110
    <form action="/cgi-bin/koha/admin/marctagstructure.pl" name="Aform" method="post" class="validated">
111
        [% INCLUDE 'csrf-token.inc' %]
111
        [% INCLUDE 'csrf-token.inc' %]
112
112
113
      <fieldset class="rows">
113
      <fieldset class="rows">
Lines 171-177 Link Here
171
</ol></fieldset> 
171
</ol></fieldset> 
172
    <fieldset class="action">
172
    <fieldset class="action">
173
        <input type="submit" class="btn btn-primary" value="Save changes" />
173
        <input type="submit" class="btn btn-primary" value="Save changes" />
174
        <a class="cancel" href="[% script_name | url %]?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
174
        <a class="cancel" href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
175
    </fieldset>
175
    </fieldset>
176
    </form>
176
    </form>
177
[% END %]
177
[% END %]
Lines 182-195 Link Here
182
        <h3>[% tx("Confirm deletion of tag {searchfield}?", { searchfield = searchfield }) | html %]</h3>
182
        <h3>[% tx("Confirm deletion of tag {searchfield}?", { searchfield = searchfield }) | html %]</h3>
183
        <p>Tag: [% searchfield | html %]</p>
183
        <p>Tag: [% searchfield | html %]</p>
184
        <p>Description: [% liblibrarian | html %]</p>
184
        <p>Description: [% liblibrarian | html %]</p>
185
        <form action="[% script_name | html %]" method="post">
185
        <form action="/cgi-bin/koha/admin/marctagstructure.pl" method="post">
186
            [% INCLUDE 'csrf-token.inc' %]
186
            [% INCLUDE 'csrf-token.inc' %]
187
            <input type="hidden" name="op" value="cud-delete_confirmed" />
187
            <input type="hidden" name="op" value="cud-delete_confirmed" />
188
            <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
188
            <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
189
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
189
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
190
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button>
190
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button>
191
        </form>
191
        </form>
192
        <form action="[% script_name | html %]" method="get"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
192
        <form action="/cgi-bin/koha/admin/marctagstructure.pl" method="get"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
193
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
193
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
194
        </form>
194
        </form>
195
    </div>
195
    </div>
Lines 197-203 Link Here
197
197
198
[% IF ( framework_create ) %]
198
[% IF ( framework_create ) %]
199
199
200
    <form action="[% script_name | html %]" method="post">
200
    <form action="/cgi-bin/koha/admin/marctagstructure.pl" method="post">
201
        [% INCLUDE 'csrf-token.inc' %]
201
        [% INCLUDE 'csrf-token.inc' %]
202
        <input type="hidden" name="op" value="cud-framework_create_confirm" />
202
        <input type="hidden" name="op" value="cud-framework_create_confirm" />
203
        <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
203
        <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
Lines 214-220 Link Here
214
214
215
215
216
[% IF ( else ) %]
216
[% IF ( else ) %]
217
<form name="f" action="[% script_name | html %]" method="get">
217
<form name="f" action="/cgi-bin/koha/admin/marctagstructure.pl" method="get">
218
<fieldset style="padding:.5em;">
218
<fieldset style="padding:.5em;">
219
        <label for="tag_search"><strong>Search for tag:</strong> </label>
219
        <label for="tag_search"><strong>Search for tag:</strong> </label>
220
        <input type="text" name="searchfield" id="tag_search" size="4" value="[% searchfield | html %]" />
220
        <input type="text" name="searchfield" id="tag_search" size="4" value="[% searchfield | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-6 / +6 lines)
Lines 113-119 Link Here
113
                    [% ELSE %]
113
                    [% ELSE %]
114
                        <h1>New record matching rule</h1>
114
                        <h1>New record matching rule</h1>
115
                    [% END %]
115
                    [% END %]
116
                    <form action="[% script_name | html %]" name="Aform" method="post">
116
                    <form action="/cgi-bin/koha/admin/matching-rules.pl" name="Aform" method="post">
117
                        [% INCLUDE 'csrf-token.inc' %]
117
                        [% INCLUDE 'csrf-token.inc' %]
118
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
118
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
119
                        <fieldset class="rows">
119
                        <fieldset class="rows">
Lines 428-440 Link Here
428
                [% IF ( delete_matching_rule_form ) %]
428
                [% IF ( delete_matching_rule_form ) %]
429
                    <div class="alert alert-warning">
429
                    <div class="alert alert-warning">
430
                        <h1>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
430
                        <h1>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
431
                        <form action="[% script_name | html %]" name="Aform" method="post">
431
                        <form action="/cgi-bin/koha/admin/matching-rules.pl" name="Aform" method="post">
432
                            [% INCLUDE 'csrf-token.inc' %]
432
                            [% INCLUDE 'csrf-token.inc' %]
433
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
433
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
434
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
434
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
435
                            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete record matching rule</button>
435
                            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete record matching rule</button>
436
                        </form>
436
                        </form>
437
                        <form action="[% script_name | html %]" method="get">
437
                        <form action="/cgi-bin/koha/admin/matching-rules.pl" method="get">
438
                            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
438
                            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
439
                        </form>
439
                        </form>
440
                    </div>
440
                    </div>
Lines 443-449 Link Here
443
                [% IF ( display_list ) %]
443
                [% IF ( display_list ) %]
444
444
445
                    <div id="toolbar" class="btn-toolbar">
445
                    <div id="toolbar" class="btn-toolbar">
446
                        <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
446
                        <a class="btn btn-default" id="newrule" href="/cgi-bin/koha/admin/matching-rules.pl?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
447
                    </div>
447
                    </div>
448
448
449
                    <h1>Record matching rules</h1>
449
                    <h1>Record matching rules</h1>
Lines 472-479 Link Here
472
                                        <td>[% available_matching_rule.code | html %]</td>
472
                                        <td>[% available_matching_rule.code | html %]</td>
473
                                        <td>[% available_matching_rule.description | html %]</td>
473
                                        <td>[% available_matching_rule.description | html %]</td>
474
                                        <td class="actions">
474
                                        <td class="actions">
475
                                            <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
475
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/matching-rules.pl?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
476
                                            <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
476
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/matching-rules.pl?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
477
                                        </td>
477
                                        </td>
478
                                    </tr>
478
                                    </tr>
479
                                [% END %]
479
                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt (-1 / +1 lines)
Lines 68-74 Link Here
68
[% END %]
68
[% END %]
69
69
70
[% IF ( add_form ) %]
70
[% IF ( add_form ) %]
71
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
71
    <form action="/cgi-bin/koha/admin/oai_servers.pl" name="Aform" method="post" id="serverentry">
72
        [% INCLUDE 'csrf-token.inc' %]
72
        [% INCLUDE 'csrf-token.inc' %]
73
        [% IF op == 'edit' %]
73
        [% IF op == 'edit' %]
74
            <h1>Modify OAI repository</h1>
74
            <h1>Modify OAI repository</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-6 / +6 lines)
Lines 85-91 Link Here
85
    &mdash; one with that code already exists.
85
    &mdash; one with that code already exists.
86
</div>
86
</div>
87
[% END %]
87
[% END %]
88
<form action="[% script_name | html %]" class="validated" method="post">
88
<form action="/cgi-bin/koha/admin/patron-attr-types.pl" class="validated" method="post">
89
    [% INCLUDE 'csrf-token.inc' %]
89
    [% INCLUDE 'csrf-token.inc' %]
90
  <input type="hidden" name="op" value="[% confirm_op | html %]" />
90
  <input type="hidden" name="op" value="[% confirm_op | html %]" />
91
  <fieldset class="rows">
91
  <fieldset class="rows">
Lines 273-285 Link Here
273
        <h1>
273
        <h1>
274
            [% tx("Confirm deletion of patron attribute type '{code}' ({description})?", { code = code, description = description }) | html %]
274
            [% tx("Confirm deletion of patron attribute type '{code}' ({description})?", { code = code, description = description }) | html %]
275
        </h1>
275
        </h1>
276
        <form action="[% script_name | html %]" name="Aform" method="post">
276
        <form action="/cgi-bin/koha/admin/patron-attr-types.pl" name="Aform" method="post">
277
            [% INCLUDE 'csrf-token.inc' %]
277
            [% INCLUDE 'csrf-token.inc' %]
278
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
278
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
279
            <input type="hidden" name="code" value="[% code | html %]" />
279
            <input type="hidden" name="code" value="[% code | html %]" />
280
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete patron attribute type</button>
280
            <button type="submit" class="btn btn-default approve"><i class="fa fa-fw fa-check"></i> Yes, delete patron attribute type</button>
281
        </form>
281
        </form>
282
        <form action="[% script_name | html %]" method="get">
282
        <form action="/cgi-bin/koha/admin/patron-attr-types.pl" method="get">
283
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
283
            <button type="submit" class="btn btn-default deny"><i class="fa fa-fw fa-times"></i> No, do not delete</button>
284
        </form>
284
        </form>
285
    </div>
285
    </div>
Lines 288-294 Link Here
288
[% IF ( display_list ) %]
288
[% IF ( display_list ) %]
289
289
290
<div id="toolbar" class="btn-toolbar">
290
<div id="toolbar" class="btn-toolbar">
291
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_attribute_type"><i class="fa fa-plus"></i> New patron attribute type</a>
291
    <a class="btn btn-default" id="newrule" href="/cgi-bin/koha/admin/patron-attr-types.pl?op=add_attribute_type"><i class="fa fa-plus"></i> New patron attribute type</a>
292
</div>
292
</div>
293
293
294
<h1>Patron attribute types</h1>
294
<h1>Patron attribute types</h1>
Lines 377-384 Link Here
377
                    [% END %]
377
                    [% END %]
378
                </td>
378
                </td>
379
                <td class="actions">
379
                <td class="actions">
380
                  <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=edit_attribute_type&amp;code=[% item.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
380
                  <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/patron-attr-types.pl?op=edit_attribute_type&amp;code=[% item.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
381
                  <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=delete_attribute_type&amp;code=[% item.code | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
381
                  <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/patron-attr-types.pl?op=delete_attribute_type&amp;code=[% item.code | uri %]"><i class="fa fa-trash-can"></i> Delete</a>
382
                </td>
382
                </td>
383
              </tr>
383
              </tr>
384
            [% END %]
384
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-6 / +6 lines)
Lines 93-101 Link Here
93
        </h1>
93
        </h1>
94
94
95
        [% IF ( type_upload ) %]
95
        [% IF ( type_upload ) %]
96
            <form action="[% script_name | html %]" name="Aform" method="post" enctype="multipart/form-data">
96
            <form action="/cgi-bin/koha/admin/systempreferences.pl" name="Aform" method="post" enctype="multipart/form-data">
97
        [% ELSE %]
97
        [% ELSE %]
98
            <form action="[% script_name | html %]" name="Aform" method="post">
98
            <form action="/cgi-bin/koha/admin/systempreferences.pl" name="Aform" method="post">
99
        [% END %]
99
        [% END %]
100
        [% INCLUDE 'csrf-token.inc' %]
100
        [% INCLUDE 'csrf-token.inc' %]
101
        <fieldset class="rows">
101
        <fieldset class="rows">
Lines 282-295 Link Here
282
                    <td>[% Tvalue | html %]</td>
282
                    <td>[% Tvalue | html %]</td>
283
                </tr>
283
                </tr>
284
            </table>
284
            </table>
285
            <form class="inline" action="[% script_name | html %]" method="post">
285
            <form class="inline" action="/cgi-bin/koha/admin/systempreferences.pl" method="post">
286
                [% INCLUDE 'csrf-token.inc' %]
286
                [% INCLUDE 'csrf-token.inc' %]
287
                <input type="hidden" name="op" value="cud-delete_confirmed" />
287
                <input type="hidden" name="op" value="cud-delete_confirmed" />
288
                <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
288
                <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
289
                <input type="hidden" name="Tvalue" value="[% Tvalue | html %]" />
289
                <input type="hidden" name="Tvalue" value="[% Tvalue | html %]" />
290
                <button type="submit" class="btn btn-default approve"><i class="fa fa-check" aria-hidden="true"></i> Yes, delete</button>
290
                <button type="submit" class="btn btn-default approve"><i class="fa fa-check" aria-hidden="true"></i> Yes, delete</button>
291
            </form>
291
            </form>
292
            <form class="inline" action="[% script_name | html %]" method="get">
292
            <form class="inline" action="/cgi-bin/koha/admin/systempreferences.pl" method="get">
293
                <button type="submit" class="btn btn-default deny"><i class="fa fa-remove" aria-hidden="true"></i> No, do not delete</button>
293
                <button type="submit" class="btn btn-default deny"><i class="fa fa-remove" aria-hidden="true"></i> No, do not delete</button>
294
            </form>
294
            </form>
295
        </div>
295
        </div>
Lines 298-304 Link Here
298
    [% IF ( delete_confirmed ) %]
298
    [% IF ( delete_confirmed ) %]
299
        <div class="alert alert-info">
299
        <div class="alert alert-info">
300
            <h1>Data deleted</h1>
300
            <h1>Data deleted</h1>
301
            <form action="[% script_name | html %]" method="get">
301
            <form action="/cgi-bin/koha/admin/systempreferences.pl" method="get">
302
                <button type="submit">Back to system preferences</button>
302
                <button type="submit">Back to system preferences</button>
303
            </form>
303
            </form>
304
        </div>
304
        </div>
Lines 307-313 Link Here
307
    [% IF ( else ) %]
307
    [% IF ( else ) %]
308
308
309
    <div id="toolbar" class="btn-toolbar">
309
    <div id="toolbar" class="btn-toolbar">
310
        <a class="btn btn-default" id="newstopword" href="[% script_name | url %]?op=add_form"><i class="fa fa-plus"></i> New system preference</a>
310
        <a class="btn btn-default" id="newstopword" href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form"><i class="fa fa-plus"></i> New system preference</a>
311
    </div>
311
    </div>
312
312
313
    [% IF ( tab != 'local_use' ) %]
313
    [% IF ( tab != 'local_use' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
[% END %]
82
[% END %]
83
83
84
[% IF ( add_form ) %]
84
[% IF ( add_form ) %]
85
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
85
    <form action="/cgi-bin/koha/admin/z3950servers.pl" name="Aform" method="post" id="serverentry">
86
        [% INCLUDE 'csrf-token.inc' %]
86
        [% INCLUDE 'csrf-token.inc' %]
87
        [% IF op == 'edit' %]
87
        [% IF op == 'edit' %]
88
            <h1>[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %]</h1>
88
            <h1>[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %]</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-1 / +1 lines)
Lines 227-233 Link Here
227
    <div class="row">
227
    <div class="row">
228
        <div class="col-sm-6">
228
        <div class="col-sm-6">
229
229
230
    <form method="post" action="[% SCRIPT_NAME | html %]" enctype="multipart/form-data">
230
    <form method="post" action="/cgi-bin/koha/tools/import_borrowers.pl" enctype="multipart/form-data">
231
        [% INCLUDE 'csrf-token.inc' %]
231
        [% INCLUDE 'csrf-token.inc' %]
232
        <input type="hidden" name="op" value="cud-import" />
232
        <input type="hidden" name="op" value="cud-import" />
233
        <fieldset class="rows">
233
        <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-2 / +2 lines)
Lines 575-581 Link Here
575
                                <td>[% letter.name | html %]</td>
575
                                <td>[% letter.name | html %]</td>
576
                            </tr>
576
                            </tr>
577
                        </table>
577
                        </table>
578
                        <form action="[% action | html %]" method="post">
578
                        <form action="/cgi-bin/koha/tools/letter.pl" method="post">
579
                            [% INCLUDE 'csrf-token.inc' %]
579
                            [% INCLUDE 'csrf-token.inc' %]
580
                            <input type="hidden" name="op" value="cud-delete_confirmed">
580
                            <input type="hidden" name="op" value="cud-delete_confirmed">
581
                            <input type="hidden" name="branchcode" value="[% letter.branchcode | html %]" />
581
                            <input type="hidden" name="branchcode" value="[% letter.branchcode | html %]" />
Lines 584-590 Link Here
584
                            <button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Yes, delete</button>
584
                            <button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Yes, delete</button>
585
                        </form>
585
                        </form>
586
586
587
                        <form action="[% action | html %]" method="get">
587
                        <form action="/cgi-bin/koha/tools/letter.pl" method="get">
588
                            <button type="submit" class="btn btn-default deny"><i class="fa fa-times"></i> No, do not delete</button>
588
                            <button type="submit" class="btn btn-default deny"><i class="fa fa-times"></i> No, do not delete</button>
589
                        </form>
589
                        </form>
590
                    </div>
590
                    </div>
(-)a/tags/review.pl (-1 lines)
Lines 197-203 $template->param( Link Here
197
    offset => $offset,  # req'd for EXPR
197
    offset => $offset,  # req'd for EXPR
198
    op => $op,
198
    op => $op,
199
    op_count => scalar(@tags),
199
    op_count => scalar(@tags),
200
    script_name => $script_name,
201
    approved => 0,      # dummy value (also EXPR)
200
    approved => 0,      # dummy value (also EXPR)
202
    tagloop => $tagloop,
201
    tagloop => $tagloop,
203
    pagination_bar => pagination_bar(
202
    pagination_bar => pagination_bar(
(-)a/tools/import_borrowers.pl (-2 lines)
Lines 103-110 my $dt = dt_from_string(); Link Here
103
my $timestamp = $dt->ymd('-').' '.$dt->hms(':');
103
my $timestamp = $dt->ymd('-').' '.$dt->hms(':');
104
my $patronlistname = $uploadborrowers . ' (' . $timestamp .')';
104
my $patronlistname = $uploadborrowers . ' (' . $timestamp .')';
105
105
106
$template->param( SCRIPT_NAME => '/cgi-bin/koha/tools/import_borrowers.pl' );
107
108
if ( $op eq 'cud-import' && $uploadborrowers && length($uploadborrowers) > 0 ) {
106
if ( $op eq 'cud-import' && $uploadborrowers && length($uploadborrowers) > 0 ) {
109
107
110
    my $handle   = $input->upload('uploadborrowers');
108
    my $handle   = $input->upload('uploadborrowers');
(-)a/tools/letter.pl (-3 lines)
Lines 62-68 sub protected_letters { Link Here
62
62
63
our $input       = CGI->new;
63
our $input       = CGI->new;
64
my $searchfield = $input->param('searchfield');
64
my $searchfield = $input->param('searchfield');
65
my $script_name = '/cgi-bin/koha/tools/letter.pl';
66
our $branchcode  = $input->param('branchcode');
65
our $branchcode  = $input->param('branchcode');
67
$branchcode = '' if defined $branchcode and $branchcode eq '*';
66
$branchcode = '' if defined $branchcode and $branchcode eq '*';
68
my $code        = $input->param('code');
67
my $code        = $input->param('code');
Lines 91-102 our $my_branch = C4::Context->preference("IndependentBranches") && !$staffflags- Link Here
91
90
92
$template->param(
91
$template->param(
93
    independant_branch => $my_branch,
92
    independant_branch => $my_branch,
94
    script_name        => $script_name,
95
    searchfield        => $searchfield,
93
    searchfield        => $searchfield,
96
    branchcode         => $branchcode,
94
    branchcode         => $branchcode,
97
    section            => $section,
95
    section            => $section,
98
    langtab            => $langtab,
96
    langtab            => $langtab,
99
    action             => $script_name
100
);
97
);
101
98
102
if ( $op eq 'cud-add_validate' or $op eq 'cud-copy_validate' ) {
99
if ( $op eq 'cud-add_validate' or $op eq 'cud-copy_validate' ) {
(-)a/tools/showdiffmarc.pl (-2 lines)
Lines 86-92 if( $importid ) { Link Here
86
}
86
}
87
87
88
$template->param(
88
$template->param(
89
    SCRIPT_NAME      => '/cgi-bin/koha/tools/showdiffmarc.pl',
90
    RECORDID         => $recordid,
89
    RECORDID         => $recordid,
91
    IMPORTID         => $importid,
90
    IMPORTID         => $importid,
92
    RECORDTITLE      => $recordTitle,
91
    RECORDTITLE      => $recordTitle,
93
- 

Return to bug 37826