Bugzilla 1080 to add enhancement for sound. Only changed circulation.tmpl/pl and...
[koha.git] / circ / circulation.pl
index 5ab3882..2b3235e 100755 (executable)
@@ -445,7 +445,7 @@ if ($borrower) {
         $it->{'itemtype'} = $itemtypeinfo->{'description'};
         $it->{'itemtype_image'} = $itemtypeinfo->{'imageurl'};
         $it->{'dd'} = format_date($it->{'date_due'});
-        $it->{'issuedate'} = format_date($it->{'issuedate'});
+        $it->{'displaydate'} = format_date($it->{'issuedate'});
         $it->{'od'} = ( $it->{'date_due'} lt $todaysdate ) ? 1 : 0 ;
         ($it->{'author'} eq '') and $it->{'author'} = ' ';
         $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}};
@@ -686,6 +686,7 @@ $template->param(
     CGIorganisations  => $CGIorganisations,
     is_child          => ($borrower->{'category_type'} eq 'C'),
     circview => 1,
+    soundon           => C4::Context->preference("SoundOn"),
 );
 
 # save stickyduedate to session