Lines 34-40
use C4::Koha;
Link Here
|
34 |
use C4::Auth qw/get_session/; |
34 |
use C4::Auth qw/get_session/; |
35 |
use C4::Members; |
35 |
use C4::Members; |
36 |
use C4::Output; |
36 |
use C4::Output; |
37 |
use C4::Dates qw/format_date/; |
37 |
use Koha::DateUtils; |
38 |
use C4::Tags qw(get_tags); |
38 |
use C4::Tags qw(get_tags); |
39 |
use C4::Csv; |
39 |
use C4::Csv; |
40 |
use C4::XSLT; |
40 |
use C4::XSLT; |
Lines 270-276
sub shelfpage {
Link Here
|
270 |
# and itemtypes tables, so I'm commenting them out for now to quiet the log -crn |
270 |
# and itemtypes tables, so I'm commenting them out for now to quiet the log -crn |
271 |
#$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype} }->{'imageurl'}; |
271 |
#$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype} }->{'imageurl'}; |
272 |
#$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'}; |
272 |
#$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'}; |
273 |
$this_item->{'dateadded'} = format_date( $this_item->{'dateadded'} ); |
273 |
$this_item->{'dateadded'} = output_pref({ dt => dt_from_string( $this_item->{'dateadded'} ), dateformat => 'iso', dateonly => 1 }); |
274 |
$this_item->{'imageurl'} = getitemtypeinfo( $this_item->{'itemtype'}, $type )->{'imageurl'}; |
274 |
$this_item->{'imageurl'} = getitemtypeinfo( $this_item->{'itemtype'}, $type )->{'imageurl'}; |
275 |
$this_item->{'coins'} = GetCOinSBiblio( $record ); |
275 |
$this_item->{'coins'} = GetCOinSBiblio( $record ); |
276 |
$this_item->{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($this_item->{'biblionumber'})); |
276 |
$this_item->{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($this_item->{'biblionumber'})); |
277 |
- |
|
|