Bug 28591: Don't pass debug to get_template_and_user
There is a "debug" parameter we are passing from the controller scripts to C4::Auth::get_template_and_user, but it's not actually used! Test plan: Confirm the assumption Review the changes from this patch Generated with: perl -p -i -e 's#\s*debug\s*=\>\s*(0|1),?\s*##gms' **/*.pl git checkout misc/devel/update_dbix_class_files.pl # Wrong catch + Manual fix in acqui/neworderempty.pl Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
512c7ba7e4
commit
6f204fdf96
328 changed files with 1 additions and 340 deletions
1
about.pl
1
about.pl
|
@ -68,7 +68,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -219,7 +219,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user({
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $cgiparams = $input->Vars;
|
||||
|
|
|
@ -86,7 +86,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ our ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {acquisition => 'group_manage'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
sub BasketTotal {
|
||||
|
|
|
@ -64,7 +64,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'acquisition' => 'order_manage' },
|
||||
debug => 1,
|
||||
} );
|
||||
|
||||
my $action = $input->param('action');
|
||||
|
|
|
@ -38,7 +38,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
{ template_name => "acqui/ajax.tt",
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
debug => 1, } );
|
||||
} );
|
||||
|
||||
my $budget = GetBudget($budget_id);
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@ else {
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
$template->param( eans => \@eans );
|
||||
|
|
|
@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $q,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => 'edi_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $q,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => 'edi_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
my $msg_id = $q->param('id');
|
||||
|
|
|
@ -69,7 +69,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'acquisition' => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'acquisition' => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'acquisition' => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_receive' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'acquisition' => '*' },
|
||||
debug => 1,
|
||||
} );
|
||||
|
||||
my $op = $input->param('op');
|
||||
|
|
|
@ -116,7 +116,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -591,7 +590,6 @@ sub Load_Duplicate {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
# debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -97,7 +97,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {acquisition => 'order_receive'},
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -81,7 +81,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {acquisition => 'order_receive'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $op = $input->param('op') // '';
|
||||
|
|
|
@ -93,7 +93,6 @@ our ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => 'order_receive' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { acquisition => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
my $booksellerid = $query->param('booksellerid');
|
||||
|
|
|
@ -62,7 +62,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'order_manage' },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $booksellerid = $input->param('booksellerid');
|
||||
|
|
|
@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => \%flagsrequired,
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_keyboard_shortcuts' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -83,7 +83,6 @@ my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'period_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'budget_manage' },
|
||||
debug => 0,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'contracts_manage' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { acquisition => 'planning_manage' },
|
||||
debug => 0,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $cgi,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_audio_alerts' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
my $pagesize = 30;
|
||||
|
|
|
@ -50,7 +50,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {parameters => 'manage_marc_frameworks'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypecode'] } );
|
||||
|
|
|
@ -44,7 +44,6 @@ our ($template, $borrowernumber, $cookie)= get_template_and_user({
|
|||
flagsrequired => {parameters => 'manage_auth_values'},
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
################## ADD_FORM ##################################
|
||||
|
|
|
@ -37,7 +37,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => $flags_required,
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {parameters => 'manage_transfers'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
|
|
@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_libraries' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_patron_categories' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
{ template_name => "acqui/ajax.tt",
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
debug => 0,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
{ template_name => "acqui/ajax.tt",
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
debug => 0,
|
||||
}
|
||||
);
|
||||
my ($period, $parent , $budget);
|
||||
|
|
|
@ -33,7 +33,6 @@ my ($template, $borrowernumber, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
|
|
@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_cities' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_classifications' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {parameters => 'manage_circ_rules'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $frombranch = $input->param("frombranch");
|
||||
|
|
|
@ -14,7 +14,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_column_config' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_accounts' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_accounts' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
type => "intranet",
|
||||
authnotrequired => 0,
|
||||
flagsrequired => { parameters => 'manage_libraries' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {parameters => 'manage_didyoumean'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $opacplugins = from_json(C4::Context->preference('OPACdidyoumean') || '[]');
|
||||
|
|
|
@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_itemtypes' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user (
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $cgi,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_libraries' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
flagsrequired => { parameters => 'manage_itemtypes' },
|
||||
query => $query,
|
||||
type => "intranet",
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
my $cache = Koha::Caches->get_instance();
|
||||
|
|
|
@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_marc_frameworks' },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] });
|
||||
|
|
|
@ -38,7 +38,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_matching_rules' },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
$template->param(script_name => $script_name);
|
||||
|
|
|
@ -45,7 +45,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'parameters' => 'manage_oai_sets' },
|
||||
debug => 1,
|
||||
} );
|
||||
|
||||
my $id = $input->param('id');
|
||||
|
|
|
@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( {
|
|||
query => $input,
|
||||
type => 'intranet',
|
||||
flagsrequired => { 'parameters' => 'manage_oai_sets' },
|
||||
debug => 1,
|
||||
} );
|
||||
|
||||
my $op = $input->param('op');
|
||||
|
|
|
@ -334,7 +334,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_sysprefs' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_mana' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {parameters => 'manage_circ_rules'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $type=$input->param('type');
|
||||
|
|
|
@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $cgi,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_sms_providers' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -216,7 +216,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_sysprefs' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
my $pagesize = 100;
|
||||
|
|
|
@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_transfers' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_transfers' },
|
||||
debug => 1,
|
||||
});
|
||||
my $use_transport_cost_matrix = C4::Context->preference("UseTransportCostMatrix");
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_usage_stats' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'manage_search_targets' },
|
||||
debug => 1,
|
||||
});
|
||||
my $script_name = "/cgi-bin/koha/admin/z3950servers.pl";
|
||||
$template->param( script_name => $script_name );
|
||||
|
|
|
@ -55,7 +55,6 @@ if ( $op eq "delete" ) {
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -105,7 +104,6 @@ if ( $op eq "do_search" ) {
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -203,7 +201,6 @@ if ( $op eq '' ) {
|
|||
query => $query,
|
||||
type => 'intranet',
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -581,7 +581,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editauthorities => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param(nonav => $nonav,index=>$myindex,authtypecode=>$authtypecode,breedingid=>$breedingid);
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -175,7 +175,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -83,7 +83,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $op=$query->param("op");
|
||||
|
|
|
@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { catalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -430,7 +430,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => $userflags},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => 'edit_catalogue' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => 'edit_items' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => '*'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $BASE_CALLNUMBER_RE = qr/^(\w+) (\w+)$/;
|
||||
|
|
|
@ -69,7 +69,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => '*'},
|
||||
debug => 1,
|
||||
});
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
|
|
@ -161,7 +161,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => '*'},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param(BIGLOOP=>\@BIGLOOP);
|
||||
$template->param("index"=>$index);
|
||||
|
|
|
@ -59,7 +59,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
$result = "a|||||r|||| 00| 0 " unless $result;
|
||||
|
|
|
@ -58,7 +58,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -139,7 +139,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -80,7 +80,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => '*'},
|
||||
debug => 1,
|
||||
});
|
||||
my $dateentered = date_entered();
|
||||
$result = "$dateentered$defaultval" unless $result;
|
||||
|
|
|
@ -69,7 +69,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
});
|
||||
my $dateentered = date_entered();
|
||||
$result = "$dateentered$defaultval" unless $result;
|
||||
|
|
|
@ -62,7 +62,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
$result = " nam a22 7a 4500" unless $result;
|
||||
|
|
|
@ -65,7 +65,6 @@ my $launcher = sub {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
$result = " nz a22 n 4500" unless $result;
|
||||
|
|
|
@ -79,7 +79,6 @@ my $launcher = sub {
|
|||
query => $query,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => '*' },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -191,7 +190,6 @@ my $launcher = sub {
|
|||
{ template_name => "cataloguing/value_builder/marc21_linking_section.tt",
|
||||
query => $query,
|
||||
type => 'intranet',
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$result = "ta" unless $result;
|
||||
my $f0 = substr($result,0,1);
|
||||
|
|
|
@ -78,7 +78,6 @@ sub plugin {
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { editcatalogue => 1 },
|
||||
debug => 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ my ($template, $loggedinuser, $cookie)
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => {editcatalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$result = " nam a22 1 4500" unless $result;
|
||||
my $f5 = substr($result,5,1);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue