removing useless code
authorPaul POULAIN <paul@koha-fr.org>
Wed, 24 Oct 2007 18:40:28 +0000 (13:40 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 24 Oct 2007 22:03:38 +0000 (17:03 -0500)
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 <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
48 files changed:
acqui/booksellers.pl
acqui/histsearch.pl
acqui/newordersuggestion.pl
acqui/orderreceive.pl
acqui/parcels.pl
admin/aqbookfund.pl
admin/aqbudget.pl
admin/auth_subfields_structure.pl
admin/auth_tag_structure.pl
admin/authorised_values.pl
admin/authtypes.pl
admin/biblio_framework.pl
admin/branches.pl
admin/categorie.pl
admin/checkmarc.pl
admin/currency.pl
admin/koha2marclinks.pl
admin/marctagstructure.pl
admin/stopwords.pl
admin/z3950servers.pl
authorities/detail-biblio-search.pl
authorities/detail.pl
catalogue/MARCdetail.pl
catalogue/dictionary.pl
catalogue/suggest.pl
circ/bookcount.pl
circ/returns.pl
circ/selectbranchprinter.pl
labels/label-create-layout.pl
labels/label-create-template.pl
labels/label-edit-layout.pl
labels/label-edit-template.pl
labels/label-manager.pl
labels/label-templates.pl
members/member-flags.pl
members/member-password.pl
members/member.pl
members/members-home.pl
reports/catalogue_out.pl
reports/inventory.pl
reports/manager.pl
serials/claims.pl
serials/receipt.pl
serials/serials-edit.pl
serials/serials-recieve.pl
suggestion/acceptorreject.pl
tools/inventory.pl
virtualshelves/addbybiblionumber.pl

index 54ef329..91756f1 100755 (executable)
@@ -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;
index c7e3c32..2c4685a 100755 (executable)
@@ -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(),
 );
 
index 8be5b45..cb8c2dc 100755 (executable)
@@ -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;
index 84728f1..38951f2 100755 (executable)
@@ -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"),
     );
 
 }
index 0e6de93..14e4013 100755 (executable)
@@ -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;
index 778bf11..391f97d 100755 (executable)
@@ -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;
index 3a6c2f6..5fe1370 100755 (executable)
@@ -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;
 
index eefc481..3d1bea1 100755 (executable)
@@ -516,8 +516,4 @@ if ($op eq 'add_form') {
                $template->param(next => "<a href=\"$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;
index d33054d..cfa54e0 100755 (executable)
@@ -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;
index 60d8c57..85ae4e0 100755 (executable)
@@ -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;
index 141313b..baeb27c 100755 (executable)
@@ -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:
index 97d364b..4568a17 100755 (executable)
@@ -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:
index 4f314bd..fecc030 100755 (executable)
@@ -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:
index 886260a..9cdf8be 100755 (executable)
@@ -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;
 
index 6fb4a94..9c1ef51 100755 (executable)
@@ -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;
index 75bd964..4140635 100755 (executable)
@@ -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;
 
index 3a0ee11..90da842 100755 (executable)
@@ -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;
index 7d8268c..78cc6eb 100755 (executable)
@@ -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;
 
index 41e49d3..3589093 100755 (executable)
@@ -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;
 
index 9f9308e..a02714b 100755 (executable)
@@ -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;
index 0f3b976..b421b80 100755 (executable)
@@ -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;
 
index 4c3b2f5..e2849ba 100755 (executable)
@@ -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;
 
index a592a83..8f671ec 100755 (executable)
@@ -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;
index f6a137e..e420fc7 100755 (executable)
@@ -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
index 266ea02..b9373d5 100755 (executable)
@@ -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;
index 383b69b..6894f8b 100755 (executable)
@@ -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;
index 31ff40f..e06a8ce 100755 (executable)
@@ -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!
index 637f133..8b83b88 100755 (executable)
@@ -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;
index 14caeae..d0a5190 100755 (executable)
@@ -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;
index bd9a5c2..9ac01ec 100755 (executable)
@@ -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"),
     );
 
 }
index 665cc4b..537afb8 100755 (executable)
@@ -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;
index b4ec950..2aae476 100755 (executable)
@@ -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;
index c666d72..450135a 100755 (executable)
@@ -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;
index ce18734..1c0e6b7 100755 (executable)
@@ -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;
index bfc74b3..8ba5ff4 100755 (executable)
@@ -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;
index 0e5fa15..d600c07 100755 (executable)
@@ -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;
index 24429cd..0e0b5b5 100755 (executable)
@@ -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;
index a029ffa..a5f6c8e 100755 (executable)
@@ -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;
index 5237cb9..cc28dcb 100755 (executable)
@@ -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
index c72adbb..44197a2 100755 (executable)
@@ -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;
index a21f629..21251fd 100755 (executable)
@@ -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")) {
index 87e597e..ab53e50 100755 (executable)
@@ -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;
index 29770e8..b4dc9dd 100755 (executable)
@@ -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;
 
index 233d600..e59ea7a 100755 (executable)
@@ -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;
index f6019a4..b64a6ae 100755 (executable)
@@ -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,
index ed7aee9..704f2c5 100755 (executable)
@@ -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;
index e0fe667..b8206a3 100755 (executable)
@@ -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;
index 2354458..00a5f81 100755 (executable)
@@ -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;