diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl
index 24597b3cc9..df8d10a211 100755
--- a/admin/auth_subfields_structure.pl
+++ b/admin/auth_subfields_structure.pl
@@ -34,7 +34,6 @@ my $tagfield = $input->param('tagfield');
my $tagsubfield = $input->param('tagsubfield');
my $authtypecode = $input->param('authtypecode');
my $op = $input->param('op') || '';
-my $script_name = "/cgi-bin/koha/admin/auth_subfields_structure.pl";
my ($template, $borrowernumber, $cookie) = get_template_and_user(
{ template_name => "admin/auth_subfields_structure.tt",
@@ -47,12 +46,12 @@ my $pagesize = 30;
$tagfield =~ s/\,//g;
if ($op) {
-$template->param(script_name => $script_name,
+ $template->param(
tagfield =>$tagfield,
authtypecode => $authtypecode,
$op => 1); # we show only the TMPL_VAR names $op
} else {
-$template->param(script_name => $script_name,
+ $template->param(
tagfield =>$tagfield,
authtypecode => $authtypecode,
else => 1); # we show only the TMPL_VAR names $op
@@ -237,7 +236,6 @@ elsif ( $op eq 'delete_confirm' ) {
);
$template->param(
ass => $ass,
- delete_link => $script_name,
);
}
elsif ( $op eq 'cud-delete_confirmed' ) {
diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl
index 7769dee914..b4d8b58fa0 100755
--- a/admin/auth_tag_structure.pl
+++ b/admin/auth_tag_structure.pl
@@ -39,8 +39,6 @@ my $op = $input->param('op') || '';
$searchfield =~ s/\,//g;
-my $script_name = "/cgi-bin/koha/admin/auth_tag_structure.pl";
-
my $dbh = C4::Context->dbh;
# open template
@@ -70,7 +68,7 @@ if (!$op or $op eq 'cud-authtype_create_confirm') {
}
}
}
-$template->param(script_name => $script_name);
+
$template->param(authority_types => $authority_types );
if ($op && $op ne 'cud-authtype_create_confirm') {
$template->param($op => 1);
diff --git a/admin/classsources.pl b/admin/classsources.pl
index 53aa3252c1..3a35860964 100755
--- a/admin/classsources.pl
+++ b/admin/classsources.pl
@@ -30,8 +30,6 @@ use Koha::ClassSources;
use Koha::ClassSortRules;
use Koha::ClassSplitRules;
-my $script_name = "/cgi-bin/koha/admin/classsources.pl";
-
my $input = CGI->new;
my $op = $input->param('op') || 'list';
my $cn_source = $input->param('cn_source');
@@ -53,7 +51,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
);
my @messages;
-$template->param( script_name => $script_name );
if ( $op eq "add_source" ) {
my $class_source =
diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl
index 70801fefa7..2b6e9fb03a 100755
--- a/admin/marc_subfields_structure.pl
+++ b/admin/marc_subfields_structure.pl
@@ -38,7 +38,6 @@ my $frameworkcode = $input->param('frameworkcode');
my $pkfield = "tagfield";
my $offset = $input->param('offset');
$offset = 0 if not defined $offset or $offset < 0;
-my $script_name = "/cgi-bin/koha/admin/marc_subfields_structure.pl";
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
{
@@ -57,7 +56,6 @@ my $framework = Koha::BiblioFrameworks->search({ frameworkcode => $frameworkcode
if ($op) {
$template->param(
- script_name => $script_name,
tagfield => $tagfield,
frameworkcode => $frameworkcode,
framework => $framework,
@@ -66,7 +64,6 @@ if ($op) {
}
else {
$template->param(
- script_name => $script_name,
tagfield => $tagfield,
frameworkcode => $frameworkcode,
framework => $framework,
@@ -320,7 +317,6 @@ elsif ( $op eq 'delete_confirm' ) {
);
$template->param(
mss => $mss,
- delete_link => $script_name,
);
# END $OP eq DELETE_CONFIRM
diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl
index 1e89615e0d..06239bfda7 100755
--- a/admin/marctagstructure.pl
+++ b/admin/marctagstructure.pl
@@ -42,8 +42,6 @@ my $op = $input->param('op') || '';
my $dspchoice = $input->cookie("marctagstructure_selectdisplay") // $input->param('select_display');
my $pagesize = 20;
-my $script_name = "/cgi-bin/koha/admin/marctagstructure.pl";
-
my $dbh = C4::Context->dbh;
my $cache = Koha::Caches->get_instance();
@@ -76,7 +74,6 @@ my $framework = $frameworks->search({ frameworkcode => $frameworkcode })->next;
$template->param(
frameworks => $frameworks,
framework => $framework,
- script_name => $script_name,
( $op || 'else' ) => 1,
);
@@ -319,13 +316,11 @@ if ($op eq 'add_form') {
$template->param(isprevpage => $offset,
prevpage=> $offset-$pagesize,
searchfield => $searchfield,
- script_name => $script_name
);
}
if ($offset+$pagesize<$cnt) {
$template->param(nextpage =>$offset+$pagesize,
searchfield => $searchfield,
- script_name => $script_name
);
}
} #---- END $OP eq DEFAULT
diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl
index 3021bdb990..ba807e05db 100755
--- a/admin/matching-rules.pl
+++ b/admin/matching-rules.pl
@@ -26,8 +26,6 @@ use C4::Context;
use C4::Output qw( output_html_with_http_headers );
use C4::Matcher qw/valid_normalization_routines/;
-my $script_name = "/cgi-bin/koha/admin/matching-rules.pl";
-
our $input = CGI->new;
my $op = $input->param('op') || '';
@@ -39,8 +37,6 @@ my ($template, $loggedinuser, $cookie)
flagsrequired => { parameters => 'manage_matching_rules' },
});
-$template->param(script_name => $script_name);
-
my $matcher_id = $input->param("matcher_id");
$template->param( max_matchpoint => 0 );
diff --git a/admin/oai_servers.pl b/admin/oai_servers.pl
index 3edb2e118c..b124fb1ad9 100755
--- a/admin/oai_servers.pl
+++ b/admin/oai_servers.pl
@@ -44,10 +44,10 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
flagsrequired => { parameters => 'manage_search_targets' },
}
);
-my $script_name = "/cgi-bin/koha/admin/oai_servers.pl";
-my $path = C4::Context->config('intrahtdocs') . "/prog/";
-$template->param( script_name => $script_name, xslt_path => $path );
+my $path = C4::Context->config('intrahtdocs') . "/prog/";
+
+$template->param( xslt_path => $path );
my $schema = Koha::Database->new()->schema();
diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl
index d591383e48..401522b604 100755
--- a/admin/patron-attr-types.pl
+++ b/admin/patron-attr-types.pl
@@ -33,8 +33,6 @@ use Koha::AuthorisedValues;
use Koha::Libraries;
use Koha::Patron::Categories;
-my $script_name = "/cgi-bin/koha/admin/patron-attr-types.pl";
-
our $input = CGI->new;
my $op = $input->param('op') || '';
@@ -47,9 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
}
);
-
-$template->param(script_name => $script_name);
-
my $code = $input->param("code");
my $display_list = 0;
diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl
index 4561ba6578..8031d1a490 100755
--- a/admin/systempreferences.pl
+++ b/admin/systempreferences.pl
@@ -223,15 +223,9 @@ my $op = $input->param('op') || '';
$searchfield =~ s/\,//g;
if ($op) {
- $template->param(
- script_name => $script_name,
- $op => 1
- ); # we show only the TMPL_VAR names $op
+ $template->param( $op => 1 ); # we show only the TMPL_VAR names $op
} else {
- $template->param(
- script_name => $script_name,
- else => 1
- ); # we show only the TMPL_VAR names $op
+ $template->param( else => 1 ); # we show only the TMPL_VAR names $op
}
if ( $op eq 'update_and_reedit' ) {
@@ -260,17 +254,11 @@ if ( $op eq 'update_and_reedit' ) {
$value = join ' ', @currentorder;
if ($orderchanged) {
$op = 'add_form';
- $template->param(
- script_name => $script_name,
- $op => 1
- ); # we show only the TMPL_VAR names $op
+ $template->param( $op => 1 ); # we show only the TMPL_VAR names $op
} else {
$op = '';
$searchfield = '';
- $template->param(
- script_name => $script_name,
- else => 1
- ); # we show only the TMPL_VAR names $op
+ $template->param( else => 1 ); # we show only the TMPL_VAR names $op
}
}
my $variable = $input->param('variable');
diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl
index d1113c8b21..710a4ae2b4 100755
--- a/admin/z3950servers.pl
+++ b/admin/z3950servers.pl
@@ -46,8 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( {
type => "intranet",
flagsrequired => { parameters => 'manage_search_targets' },
});
-my $script_name = "/cgi-bin/koha/admin/z3950servers.pl";
-$template->param( script_name => $script_name );
my $schema = Koha::Database->new()->schema();
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc
index 9a9a64bc81..42aa472a98 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc
@@ -5,7 +5,7 @@
[% WRAPPER tabs id="header_search" %]
[% WRAPPER tab_panels %]
[% WRAPPER tab_panel tabname="city_search" bt_active= 1 %]
-