re-moving label-home.pl to the right spot ...
This commit is contained in:
parent
288e2f442b
commit
82ee6bcb60
|
|
@ -8,6 +8,8 @@ use C4::Interface::CGI::Output;
|
|||
use C4::Context;
|
||||
use HTML::Template;
|
||||
|
||||
#use Data::Dumper;
|
||||
|
||||
my $query = new CGI;
|
||||
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
||||
{
|
||||
|
|
@ -28,26 +30,32 @@ $sth->execute();
|
|||
my $data = $sth->fetchrow_hashref;
|
||||
$sth->finish;
|
||||
|
||||
# next line passes a var like 'EAN13_cheched' to the tmpl ,
|
||||
# which makes the barcodetype sticky in the dropbox
|
||||
$template->param( guidebox => 1 ) if ( $data->{'guidebox'} );
|
||||
|
||||
$data->{'printingtype'} = 'both' if ( !$data->{'printingtype'} );
|
||||
$template->param( "printingtype_$data->{'printingtype'}" => 1 );
|
||||
|
||||
$template->param( "$data->{'barcodetype'}_checked" => 1 );
|
||||
$template->param( "startrow" . $data->{'startrow'} . "_checked" => 1 );
|
||||
$template->param(
|
||||
itemtype => $data->{'itemtype'},
|
||||
papertype => $data->{'papertype'},
|
||||
author => $data->{'author'},
|
||||
barcode => $data->{'barcode'},
|
||||
id => $data->{'id'},
|
||||
barcodetype => $data->{'barcodetype'},
|
||||
title => $data->{'title'},
|
||||
isbn => $data->{'isbn'},
|
||||
dewey => $data->{'dewey'},
|
||||
class => $data->{'class'},
|
||||
startrow => $data->{'startrow'},
|
||||
itemtype => $data->{'itemtype'},
|
||||
papertype => $data->{'papertype'},
|
||||
author => $data->{'author'},
|
||||
barcode => $data->{'barcode'},
|
||||
id => $data->{'id'},
|
||||
barcodetype => $data->{'barcodetype'},
|
||||
title => $data->{'title'},
|
||||
isbn => $data->{'isbn'},
|
||||
dewey => $data->{'dewey'},
|
||||
class => $data->{'class'},
|
||||
subclass => $data->{'subclass'},
|
||||
itemcallnumber => $data->{'itemcallnumber'},
|
||||
startrow => $data->{'startrow'},
|
||||
|
||||
intranetcolorstylesheet =>
|
||||
C4::Context->preference("intranetcolorstylesheet"),
|
||||
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
|
||||
IntranetNav => C4::Context->preference("IntranetNav"),
|
||||
);
|
||||
warn "ITEMCALLNO".$data->{'itemcallnumber'};
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue