From: hdl Date: Fri, 24 Feb 2006 11:15:01 +0000 (+0000) Subject: changing parameters template directory to admin X-Git-Tag: dev_week~1052 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=b810e2d71e12b82f95c2e8775b6158764351271d;p=koha.git changing parameters template directory to admin --- diff --git a/admin/admin-home.pl b/admin/admin-home.pl index 30b1dec4ef..17f93e33ed 100755 --- a/admin/admin-home.pl +++ b/admin/admin-home.pl @@ -10,7 +10,7 @@ use HTML::Template; my $query = new CGI; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/admin-home.tmpl", + = get_template_and_user({template_name => "admin/admin-home.tmpl", query => $query, type => "intranet", authnotrequired => 0, diff --git a/admin/aqbookfund.pl b/admin/aqbookfund.pl index ad9734c3ad..6527dd118a 100755 --- a/admin/aqbookfund.pl +++ b/admin/aqbookfund.pl @@ -88,7 +88,7 @@ my $op = $input->param('op') || ''; $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/aqbookfund.tmpl", + = get_template_and_user({template_name => "admin/aqbookfund.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/aqbudget.pl b/admin/aqbudget.pl index 9ba8d9e556..36766b6365 100755 --- a/admin/aqbudget.pl +++ b/admin/aqbudget.pl @@ -78,7 +78,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/aqbudget.tmpl", + = get_template_and_user({template_name => "admin/aqbudget.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl index a172c25dd3..50425351d3 100755 --- a/admin/auth_subfields_structure.pl +++ b/admin/auth_subfields_structure.pl @@ -55,7 +55,7 @@ my $offset=$input->param('offset'); my $script_name="/cgi-bin/koha/admin/auth_subfields_structure.pl"; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/auth_subfields_structure.tmpl", + = get_template_and_user({template_name => "admin/auth_subfields_structure.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index 5f362c736f..f69b6a591c 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -50,7 +50,7 @@ my $dbh = C4::Context->dbh; # open template my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/auth_tag_structure.tmpl", + = get_template_and_user({template_name => "admin/auth_tag_structure.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 97a0e8c778..efd1cf7707 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -55,7 +55,7 @@ my $script_name="/cgi-bin/koha/admin/authorised_values.pl"; my $dbh = C4::Context->dbh; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/authorised_values.tmpl", + = get_template_and_user({template_name => "admin/authorised_values.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/authtypes.pl b/admin/authtypes.pl index 0195190efa..ad68d1973c 100755 --- a/admin/authtypes.pl +++ b/admin/authtypes.pl @@ -56,7 +56,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/authtypes.tmpl", + = get_template_and_user({template_name => "admin/authtypes.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl index c81c698a1f..f8a64954e8 100755 --- a/admin/biblio_framework.pl +++ b/admin/biblio_framework.pl @@ -56,7 +56,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/biblio_framework.tmpl", + = get_template_and_user({template_name => "admin/biblio_framework.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/branches.pl b/admin/branches.pl index fd804b1447..4ebf9d4011 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -69,7 +69,7 @@ my $categorycode = $input->param('categorycode'); my $op = $input->param('op') || ''; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/branches.tmpl", + = get_template_and_user({template_name => "admin/branches.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/categorie.pl b/admin/categorie.pl index e54410076b..faee98a172 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -69,7 +69,7 @@ my $categorycode=$input->param('categorycode'); my $op = $input->param('op'); my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/categorie.tmpl", + = get_template_and_user({template_name => "admin/categorie.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/categoryitem.pl b/admin/categoryitem.pl index 0d7b7d5e6b..a1e40b77cb 100644 --- a/admin/categoryitem.pl +++ b/admin/categoryitem.pl @@ -71,7 +71,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/categoryitem.tmpl", + = get_template_and_user({template_name => "admin/categoryitem.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl index 2469f91d78..707e5ed8d5 100755 --- a/admin/checkmarc.pl +++ b/admin/checkmarc.pl @@ -31,7 +31,7 @@ use HTML::Template; my $input = new CGI; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/checkmarc.tmpl", + = get_template_and_user({template_name => "admin/checkmarc.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/currency.pl b/admin/currency.pl index 2bfc235612..8a0a8b2d25 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -77,7 +77,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/currency.tmpl", + = get_template_and_user({template_name => "admin/currency.tmpl", query => $input, type => "intranet", flagsrequired => {parameters => 1, management => 1}, diff --git a/admin/issuingrules.pl b/admin/issuingrules.pl index c27dccbb78..9b548bc391 100755 --- a/admin/issuingrules.pl +++ b/admin/issuingrules.pl @@ -39,7 +39,7 @@ my $op = $input->param('op'); # my $flagsrequired; # $flagsrequired->{circulation}=1; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/issuingrules.tmpl", + = get_template_and_user({template_name => "admin/issuingrules.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/itemtypecategory.pl b/admin/itemtypecategory.pl index 3b1f6cceb0..b1dd35dd5d 100644 --- a/admin/itemtypecategory.pl +++ b/admin/itemtypecategory.pl @@ -74,7 +74,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/itemtypecategory.tmpl", + = get_template_and_user({template_name => "admin/itemtypecategory.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 1a9c507d99..10fbe39b40 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -73,7 +73,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/itemtypes.tmpl", + = get_template_and_user({template_name => "admin/itemtypes.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/itemtypesubcategory.pl b/admin/itemtypesubcategory.pl index 3b25aea076..baddc8ad58 100644 --- a/admin/itemtypesubcategory.pl +++ b/admin/itemtypesubcategory.pl @@ -74,7 +74,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/itemtypesubcategory.tmpl", + = get_template_and_user({template_name => "admin/itemtypesubcategory.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 0a64bc700f..7a572252be 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -36,7 +36,7 @@ my $op=$input->param('op'); my $script_name = 'koha2marclinks.pl'; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/koha2marclinks.tmpl", + = get_template_and_user({template_name => "admin/koha2marclinks.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index e7f3644beb..79ca9a3af0 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -57,7 +57,7 @@ my $offset=$input->param('offset'); my $script_name="/cgi-bin/koha/admin/marc_subfields_structure.pl"; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/marc_subfields_structure.tmpl", + = get_template_and_user({template_name => "admin/marc_subfields_structure.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 9f0c721986..22adcb44b7 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -51,7 +51,7 @@ my $dbh = C4::Context->dbh; # open template my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/marctagstructure.tmpl", + = get_template_and_user({template_name => "admin/marctagstructure.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/mediatype.pl b/admin/mediatype.pl index f953632976..f617a4b22f 100644 --- a/admin/mediatype.pl +++ b/admin/mediatype.pl @@ -75,7 +75,7 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/mediatype.tmpl", + = get_template_and_user({template_name => "admin/mediatype.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/printers.pl b/admin/printers.pl index 5c5c39c2a6..1ea86cb3b9 100755 --- a/admin/printers.pl +++ b/admin/printers.pl @@ -80,7 +80,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/printers.tmpl", + = get_template_and_user({template_name => "admin/printers.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/stopwords.pl b/admin/stopwords.pl index af1a027a0b..5a1e50df72 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -76,7 +76,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/stopwords.tmpl", + = get_template_and_user({template_name => "admin/stopwords.tmpl", query => $input, type => "intranet", flagsrequired => {parameters => 1, management => 1}, diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 56cb5fcbbf..f586eb6214 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -130,7 +130,7 @@ my $offset=$input->param('offset'); my $script_name="/cgi-bin/koha/admin/systempreferences.pl"; my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/systempreferences.tmpl", + = get_template_and_user({template_name => "admin/systempreferences.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/thesaurus.pl b/admin/thesaurus.pl index c1aa2181d8..76ca6c778e 100755 --- a/admin/thesaurus.pl +++ b/admin/thesaurus.pl @@ -45,7 +45,7 @@ my $dbh = C4::Context->dbh; my $authoritysep = C4::Context->preference("authoritysep"); my ($template, $borrowernumber, $cookie) - = get_template_and_user({template_name => "parameters/thesaurus.tmpl", + = get_template_and_user({template_name => "admin/thesaurus.tmpl", query => $input, type => "intranet", authnotrequired => 0, diff --git a/admin/viewlog.pl b/admin/viewlog.pl index e3c4992a31..1991e6af27 100755 --- a/admin/viewlog.pl +++ b/admin/viewlog.pl @@ -42,7 +42,7 @@ plugin that shows a stats on borrowers my $input = new CGI; my $do_it=$input->param('do_it'); -my $fullreportname = "parameters/viewlog.tmpl"; +my $fullreportname = "admin/viewlog.tmpl"; my $modulename = $input->param("module"); my $userfilter = $input->param("user"); my $actionfilter = $input->param("action"); diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index 9baba6c462..084bcdf659 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -57,7 +57,7 @@ my $op = $input->param('op'); $searchfield=~ s/\,//g; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "parameters/z3950servers.tmpl", + = get_template_and_user({template_name => "admin/z3950servers.tmpl", query => $input, type => "intranet", authnotrequired => 0,