From 8b7085a8abd9226f5dbb3cb5b295e4bc9e4b9cba Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Wed, 24 Oct 2007 13:40:28 -0500 Subject: [PATCH] removing useless code the 3 parameters : intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), intranetstylesheet => C4::Context->preference("intranetstylesheet"), IntranetNav => C4::Context->preference("IntranetNav"), are filled by Auth.pm automatically, removing them in templates Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- acqui/booksellers.pl | 4 ---- acqui/histsearch.pl | 4 ---- acqui/newordersuggestion.pl | 4 ---- acqui/orderreceive.pl | 8 -------- acqui/parcels.pl | 3 --- admin/aqbookfund.pl | 6 ------ admin/aqbudget.pl | 4 ---- admin/auth_subfields_structure.pl | 4 ---- admin/auth_tag_structure.pl | 3 --- admin/authorised_values.pl | 4 ---- admin/authtypes.pl | 4 ---- admin/biblio_framework.pl | 4 ---- admin/branches.pl | 6 ------ admin/categorie.pl | 6 ------ admin/checkmarc.pl | 3 --- admin/currency.pl | 4 ---- admin/koha2marclinks.pl | 6 ------ admin/marctagstructure.pl | 3 --- admin/stopwords.pl | 5 ----- admin/z3950servers.pl | 4 ---- authorities/detail-biblio-search.pl | 3 --- authorities/detail.pl | 3 --- catalogue/MARCdetail.pl | 5 ----- catalogue/dictionary.pl | 3 --- catalogue/suggest.pl | 3 --- circ/bookcount.pl | 4 ---- circ/returns.pl | 4 ---- circ/selectbranchprinter.pl | 4 ---- labels/label-create-layout.pl | 5 ----- labels/label-create-template.pl | 4 ---- labels/label-edit-layout.pl | 5 ----- labels/label-edit-template.pl | 5 ----- labels/label-manager.pl | 5 ----- labels/label-templates.pl | 5 ----- members/member-flags.pl | 3 --- members/member-password.pl | 4 ---- members/member.pl | 3 --- members/members-home.pl | 4 ---- reports/catalogue_out.pl | 3 --- reports/inventory.pl | 3 --- reports/manager.pl | 3 --- serials/claims.pl | 3 --- serials/receipt.pl | 3 --- serials/serials-edit.pl | 3 --- serials/serials-recieve.pl | 3 --- suggestion/acceptorreject.pl | 3 --- tools/inventory.pl | 3 --- virtualshelves/addbybiblionumber.pl | 4 ---- 48 files changed, 192 deletions(-) diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index 54ef3297dd..91756f1a74 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -124,10 +124,6 @@ $template->param( loop_suppliers => \@loop_suppliers, supplier => $supplier, count => $count, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index c7e3c32aae..2c4685af9c 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -88,10 +88,6 @@ $template->param( name => $name, from_placed_on => $from_placed_on, to_placed_on => $to_placed_on, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), DHTMLcalendar_dateformat => get_date_format_string_for_DHTMLcalendar(), ); diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl index 8be5b450f7..cb8c2dc725 100755 --- a/acqui/newordersuggestion.pl +++ b/acqui/newordersuggestion.pl @@ -133,10 +133,6 @@ $template->param( basketno => $basketno, supplierid => $supplierid, "op_$op" => 1, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl index 84728f19bd..38951f2e67 100755 --- a/acqui/orderreceive.pl +++ b/acqui/orderreceive.pl @@ -192,10 +192,6 @@ if ( $count == 1 ) { unitprice => $results[0]->{'unitprice'}, invoice => $invoice, daterecieved => $daterecieved, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); } else { @@ -220,10 +216,6 @@ else { supplierid => $supplierid, invoice => $invoice, daterecieved => $daterecieved, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); } diff --git a/acqui/parcels.pl b/acqui/parcels.pl index 0e6de935ee..14e4013e67 100755 --- a/acqui/parcels.pl +++ b/acqui/parcels.pl @@ -162,9 +162,6 @@ $template->param(orderby=>$order, filter=>$code, datefrom=>$datefrom,dateto=>$da $template->param( name => $booksellers[0]->{'name'}, supplierid => $supplierid, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/aqbookfund.pl b/admin/aqbookfund.pl index 778bf11856..391f97d259 100755 --- a/admin/aqbookfund.pl +++ b/admin/aqbookfund.pl @@ -280,10 +280,4 @@ else { # DEFAULT ) ); } #---- END $OP eq DEFAULT -$template->param( - intranetcolorstylesheet =>C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); - output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/aqbudget.pl b/admin/aqbudget.pl index 3a6c2f665c..5fe1370c98 100755 --- a/admin/aqbudget.pl +++ b/admin/aqbudget.pl @@ -428,9 +428,5 @@ SELECT aqbudgetid, ) ); } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl index eefc481705..3d1bea1b73 100755 --- a/admin/auth_subfields_structure.pl +++ b/admin/auth_subfields_structure.pl @@ -516,8 +516,4 @@ if ($op eq 'add_form') { $template->param(next => ""); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index d33054d898..cfa54e0ffd 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -250,9 +250,6 @@ if ($op eq 'add_form') { } #---- END $OP eq DEFAULT $template->param(loggeninuser => $loggedinuser, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 60d8c5738d..85ae4e0e61 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -203,8 +203,4 @@ if ($op eq 'add_form') { ); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/authtypes.pl b/admin/authtypes.pl index 141313b4ca..baeb27c20b 100755 --- a/admin/authtypes.pl +++ b/admin/authtypes.pl @@ -168,10 +168,6 @@ if ($op eq 'add_form') { $template->param(next => "$script_name?offset=".$nextpage); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; # Local Variables: diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl index 97d364b18b..4568a17101 100755 --- a/admin/biblio_framework.pl +++ b/admin/biblio_framework.pl @@ -167,10 +167,6 @@ if ($op eq 'add_form') { $template->param(next => "$script_name?offset=".$nextpage); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; # Local Variables: diff --git a/admin/branches.pl b/admin/branches.pl index 4f314bd26f..fecc030df0 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -450,12 +450,6 @@ sub branchcategoriestable { } } -$template->param( - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), -); output_html_with_http_headers $input, $cookie, $template->output; # Local Variables: diff --git a/admin/categorie.pl b/admin/categorie.pl index 886260a226..9cdf8be2b1 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -213,11 +213,5 @@ if ($op eq 'add_form') { } #---- END $OP eq DEFAULT - - -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl index 6fb4a946f6..9c1ef51a8e 100755 --- a/admin/checkmarc.pl +++ b/admin/checkmarc.pl @@ -182,8 +182,5 @@ if ($res) { } $template->param(total => $total, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/currency.pl b/admin/currency.pl index 75bd964475..414063552e 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -190,9 +190,5 @@ if ($op eq 'add_form') { nextpage => $offset+$pagesize); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 3a0ee1166e..90da842672 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -178,10 +178,4 @@ else { # DEFAULT ) ); } #---- END $OP eq DEFAULT -$template->param( - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), -); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 7d8268c567..78cc6eb6b6 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -336,9 +336,6 @@ if ($op eq 'add_form') { } #---- END $OP eq DEFAULT $template->param(loggeninuser => $loggedinuser, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/stopwords.pl b/admin/stopwords.pl index 41e49d3e2d..358909338e 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -155,10 +155,5 @@ if ($op eq 'add_form') { } } -$template->param( - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index 9f9308e8b7..a02714b824 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -193,8 +193,4 @@ if ($op eq 'add_form') { nextpage => $offset+$pagesize); } } #---- END $OP eq DEFAULT -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/authorities/detail-biblio-search.pl b/authorities/detail-biblio-search.pl index 0f3b97689c..b421b805ff 100755 --- a/authorities/detail-biblio-search.pl +++ b/authorities/detail-biblio-search.pl @@ -132,9 +132,6 @@ foreach my $thisauthtype (keys %$authtypes) { $template->param(authid => $authid, authtypesloop => \@authtypesloop, index => $index, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/authorities/detail.pl b/authorities/detail.pl index 4c3b2f542f..e2849ba56e 100755 --- a/authorities/detail.pl +++ b/authorities/detail.pl @@ -523,9 +523,6 @@ $template->param(authid => $authid, biblio_fields => $biblio_fields, authtypetext => $authtypes->{$authtypecode}{'authtypetext'}, authtypesloop => \@authtypesloop, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index a592a83cd4..8f671eca7b 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -343,11 +343,6 @@ $template->param ( biblionumber => $biblionumber, popup => $popup, hide_marc => C4::Context->preference('hide_marc'), - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/catalogue/dictionary.pl b/catalogue/dictionary.pl index f6a137ee1c..e420fc7c52 100755 --- a/catalogue/dictionary.pl +++ b/catalogue/dictionary.pl @@ -251,9 +251,6 @@ $template->param(search => $search[0], marclist =>$field, type=>$type, anindex => $input->param('index'), - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); # Print the page diff --git a/catalogue/suggest.pl b/catalogue/suggest.pl index 266ea028e1..b9373d50db 100755 --- a/catalogue/suggest.pl +++ b/catalogue/suggest.pl @@ -52,9 +52,6 @@ my ($template, $loggedinuser, $cookie) debug => 1, }); $template->param("loop" => \@loop_suggests, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/circ/bookcount.pl b/circ/bookcount.pl index 383b69b661..6894f8bb31 100755 --- a/circ/bookcount.pl +++ b/circ/bookcount.pl @@ -92,10 +92,6 @@ $template->param( lastdate => format_date($lastdate), count => $count, branchloop => \@branchloop, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/circ/returns.pl b/circ/returns.pl index 31ff40f3dc..e06a8cece7 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -522,10 +522,6 @@ $template->param( branchname => $branches->{C4::Context->userenv->{'branch'}}->{'branchname'}, printer => $printer, errmsgloop => \@errmsgloop, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); # actually print the page! diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index 637f1338e6..8b83b884b2 100755 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -113,10 +113,6 @@ $template->param( branchname => $branchname, printerloop => \@printerloop, branchloop => \@branchloop, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/labels/label-create-layout.pl b/labels/label-create-layout.pl index 14caeaef4e..d0a5190540 100755 --- a/labels/label-create-layout.pl +++ b/labels/label-create-layout.pl @@ -74,11 +74,6 @@ batches => \@batches, startlabel => $data->{'startlabel'}, fontsize => $active_template->{'fontsize'}, - - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/labels/label-create-template.pl b/labels/label-create-template.pl index bd9a5c2d9c..9ac01ec79e 100755 --- a/labels/label-create-template.pl +++ b/labels/label-create-template.pl @@ -61,10 +61,6 @@ if ( $op eq 'blank' ) { $template->param( units => \@units, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); } diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl index 665cc4b2ab..537afb888b 100755 --- a/labels/label-edit-layout.pl +++ b/labels/label-edit-layout.pl @@ -76,11 +76,6 @@ startlabel => $startlabel, tx_classif => \@class, tx_subclass => \@subclass, tx_itemcallnumber => \@itemcallnumber, - - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl index b4ec950f49..2aae476fe5 100755 --- a/labels/label-edit-template.pl +++ b/labels/label-edit-template.pl @@ -70,11 +70,6 @@ $template->param( rowgap => $tmpl->{'rowgap'}, fontsize => $tmpl->{'fontsize'}, active => $tmpl->{'active'}, - - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/labels/label-manager.pl b/labels/label-manager.pl index c666d727ae..450135a8da 100755 --- a/labels/label-manager.pl +++ b/labels/label-manager.pl @@ -186,10 +186,5 @@ $template->param( # startrow => $startrow, # sheets => $sheets_needed, # labels_remaining => $labels_remaining, - - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/labels/label-templates.pl b/labels/label-templates.pl index ce18734046..1c0e6b7e63 100755 --- a/labels/label-templates.pl +++ b/labels/label-templates.pl @@ -72,11 +72,6 @@ $template->param( active_template_name => $active_template_name, resultsloop => \@resultsloop, - - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/members/member-flags.pl b/members/member-flags.pl index bfc74b31f7..8ba5ff4d19 100755 --- a/members/member-flags.pl +++ b/members/member-flags.pl @@ -74,9 +74,6 @@ if ($input->param('newflags')) { surname => $bor->{'surname'}, firstname => $bor->{'firstname'}, loop => \@loop, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/members/member-password.pl b/members/member-password.pl index 0e5fa15c89..d600c07b5f 100755 --- a/members/member-password.pl +++ b/members/member-password.pl @@ -78,9 +78,5 @@ if ( $newpassword ) { } $template->param( member => $member, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/members/member.pl b/members/member.pl index 24429cd0a6..0e0b5b5796 100755 --- a/members/member.pl +++ b/members/member.pl @@ -114,9 +114,6 @@ $template->param( member => $member, numresults => $count, resultsloop => \@resultsdata, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/members/members-home.pl b/members/members-home.pl index a029ffaeae..a5f6c8ed9c 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -47,8 +47,4 @@ if($quicksearch){ }); } -$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), - ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl index 5237cb9268..cc28dcb8e8 100755 --- a/reports/catalogue_out.pl +++ b/reports/catalogue_out.pl @@ -58,9 +58,6 @@ my ($template, $borrowernumber, $cookie) debug => 1, }); $template->param(do_it => $do_it, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); if ($do_it) { # Displaying results diff --git a/reports/inventory.pl b/reports/inventory.pl index c72adbb39a..44197a2063 100755 --- a/reports/inventory.pl +++ b/reports/inventory.pl @@ -62,9 +62,6 @@ $template->param(minlocation => $minlocation, offset => $offset, pagesize => $pagesize, datelastseen => $datelastseen, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); if ($uploadbarcodes && length($uploadbarcodes)>0){ my $dbh=C4::Context->dbh; diff --git a/reports/manager.pl b/reports/manager.pl index a21f629057..21251fd668 100755 --- a/reports/manager.pl +++ b/reports/manager.pl @@ -40,9 +40,6 @@ my ($template, $borrowernumber, $cookie) }); $template->param(do_it => $do_it, report_name => $report_name, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); my $cgidir = C4::Context->config('intranetdir')."/cgi-bin/reports/"; unless (opendir(DIR, "$cgidir")) { diff --git a/serials/claims.pl b/serials/claims.pl index 87e597e823..ab53e50ef9 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -88,8 +88,5 @@ $template->param( claimletter => $claimletter, singlesupplier => $singlesupplier, supplierloop => \@supplierinfo, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/serials/receipt.pl b/serials/receipt.pl index 29770e8775..b4dc9ddc6c 100755 --- a/serials/receipt.pl +++ b/serials/receipt.pl @@ -132,9 +132,6 @@ my ($template, $loggedinuser, $cookie) from=>$from, to=>$to, numbers=>\@numbers, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 233d6000d6..e59ea7aa9e 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -273,8 +273,5 @@ $template->param( bibliotitle => $bibdata->{'title'}, biblionumber =>$serialdatalist[0]->{'biblionumber'}, serialslist => \@serialdatalist, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/serials/serials-recieve.pl b/serials/serials-recieve.pl index f6019a45a9..b64a6ae5e6 100755 --- a/serials/serials-recieve.pl +++ b/serials/serials-recieve.pl @@ -274,9 +274,6 @@ $template->param( biblionumber => $subs->{biblionumber}, hassubscriptionexpired =>$hassubscriptionexpired, abouttoexpire =>$abouttoexpire, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), routing => $routing, missingseq => $manualissue, frommissing => $manualstatus, diff --git a/suggestion/acceptorreject.pl b/suggestion/acceptorreject.pl index ed7aee9204..704f2c5754 100755 --- a/suggestion/acceptorreject.pl +++ b/suggestion/acceptorreject.pl @@ -148,9 +148,6 @@ foreach my $suggestion (@$suggestions) { $template->param( suggestions_loop => \@suggestions_loop, "op_$op" => 1, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/tools/inventory.pl b/tools/inventory.pl index e0fe667f94..b8206a3119 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -94,9 +94,6 @@ $template->param(branchloop => \@branch_loop, offset => $offset, pagesize => $pagesize, datelastseen => $datelastseen, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); if ($uploadbarcodes && length($uploadbarcodes)>0){ my $dbh=C4::Context->dbh; diff --git a/virtualshelves/addbybiblionumber.pl b/virtualshelves/addbybiblionumber.pl index 2354458967..00a5f81032 100755 --- a/virtualshelves/addbybiblionumber.pl +++ b/virtualshelves/addbybiblionumber.pl @@ -115,10 +115,6 @@ else { # this shelf doesn't already exist. title => $biblios[0]->{'title'}, author => $biblios[0]->{'author'}, CGIvirtualshelves => $CGIvirtualshelves, - intranetcolorstylesheet => - C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.2