From 3aae53c4e1c5d6d47101f257c672ebac9befc904 Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 6 May 2003 14:55:39 +0000 Subject: [PATCH] authentication fixes --- admin/categorie.pl | 1 + admin/currency.pl | 3 ++- admin/printers.pl | 3 ++- admin/stopwords.pl | 11 ++++++----- admin/z3950servers.pl | 11 ++++++----- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/admin/categorie.pl b/admin/categorie.pl index 5abd5f0420..8584e65393 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -77,6 +77,7 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, + flagsrequired => {parameters => 1}, debug => 1, }); diff --git a/admin/currency.pl b/admin/currency.pl index 98cf3abe73..954e74a54d 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -83,7 +83,8 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "parameters/currency.tmpl", query => $input, type => "intranet", - authnotrequired => 0, + flagsrequired => {parameters => 1}, + authnotrequired => 0, debug => 1, }); diff --git a/admin/printers.pl b/admin/printers.pl index c8a2f340a4..3ec21ef337 100755 --- a/admin/printers.pl +++ b/admin/printers.pl @@ -84,7 +84,8 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, - debug => 1, + flagsrequired => {parameters => 1}, + debug => 1, }); diff --git a/admin/stopwords.pl b/admin/stopwords.pl index 69436e186a..10b2833eb2 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -80,11 +80,12 @@ $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "parameters/stopwords.tmpl", - query => $input, - type => "intranet", - authnotrequired => 0, - debug => 1, - }); + query => $input, + type => "intranet", + flagsrequired => {parameters => 1}, + authnotrequired => 0, + debug => 1, + }); $template->param(script_name => $script_name, searchfield => $searchfield); diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index f694243aff..b63807dde2 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -63,11 +63,12 @@ $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "parameters/z3950servers.tmpl", - query => $input, - type => "intranet", - authnotrequired => 0, - debug => 1, - }); + query => $input, + type => "intranet", + authnotrequired => 0, + flagsrequired => {parameters => 1}, + debug => 1, + }); $template->param(script_name => $script_name, -- 2.39.5