Browse Source

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 <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Paul POULAIN 15 years ago
committed by Joshua Ferraro
parent
commit
8b7085a8ab
  1. 4
      acqui/booksellers.pl
  2. 4
      acqui/histsearch.pl
  3. 4
      acqui/newordersuggestion.pl
  4. 8
      acqui/orderreceive.pl
  5. 3
      acqui/parcels.pl
  6. 6
      admin/aqbookfund.pl
  7. 4
      admin/aqbudget.pl
  8. 4
      admin/auth_subfields_structure.pl
  9. 3
      admin/auth_tag_structure.pl
  10. 4
      admin/authorised_values.pl
  11. 4
      admin/authtypes.pl
  12. 4
      admin/biblio_framework.pl
  13. 6
      admin/branches.pl
  14. 6
      admin/categorie.pl
  15. 3
      admin/checkmarc.pl
  16. 4
      admin/currency.pl
  17. 6
      admin/koha2marclinks.pl
  18. 3
      admin/marctagstructure.pl
  19. 5
      admin/stopwords.pl
  20. 4
      admin/z3950servers.pl
  21. 3
      authorities/detail-biblio-search.pl
  22. 3
      authorities/detail.pl
  23. 5
      catalogue/MARCdetail.pl
  24. 3
      catalogue/dictionary.pl
  25. 3
      catalogue/suggest.pl
  26. 4
      circ/bookcount.pl
  27. 4
      circ/returns.pl
  28. 4
      circ/selectbranchprinter.pl
  29. 5
      labels/label-create-layout.pl
  30. 4
      labels/label-create-template.pl
  31. 5
      labels/label-edit-layout.pl
  32. 5
      labels/label-edit-template.pl
  33. 5
      labels/label-manager.pl
  34. 5
      labels/label-templates.pl
  35. 3
      members/member-flags.pl
  36. 4
      members/member-password.pl
  37. 3
      members/member.pl
  38. 4
      members/members-home.pl
  39. 3
      reports/catalogue_out.pl
  40. 3
      reports/inventory.pl
  41. 3
      reports/manager.pl
  42. 3
      serials/claims.pl
  43. 3
      serials/receipt.pl
  44. 3
      serials/serials-edit.pl
  45. 3
      serials/serials-recieve.pl
  46. 3
      suggestion/acceptorreject.pl
  47. 3
      tools/inventory.pl
  48. 4
      virtualshelves/addbybiblionumber.pl

4
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;

4
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(),
);

4
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;

8
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"),
);
}

3
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;

6
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;

4
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;

4
admin/auth_subfields_structure.pl

@ -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;

3
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;

4
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;

4
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:

4
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:

6
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:

6
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;

3
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;

4
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;

6
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;

3
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;

5
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;

4
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;

3
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;

3
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;

5
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;

3
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

3
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;

4
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;

4
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!

4
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;

5
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;

4
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"),
);
}

5
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;

5
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;

5
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;

5
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;

3
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;

4
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;

3
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;

4
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;

3
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

3
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;

3
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")) {

3
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;

3
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;

3
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;

3
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,

3
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;

3
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;

4
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;

Loading…
Cancel
Save