View | Details | Raw Unified | Return to bug 11431
Collapse All | Expand All

(-)a/circ/circulation.pl (-1 / +1 lines)
Lines 597-603 $template->param( Link Here
597
    inprocess         => $inprocess,
597
    inprocess         => $inprocess,
598
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
598
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
599
    circview => 1,
599
    circview => 1,
600
    soundon           => C4::Context->preference("SoundOn"),
600
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
601
    fast_cataloging   => $fast_cataloging,
601
    fast_cataloging   => $fast_cataloging,
602
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
602
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
603
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
603
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
(-)a/circ/returns.pl (-1 / +1 lines)
Lines 591-597 $template->param( Link Here
591
    dropboxmode    => $dropboxmode,
591
    dropboxmode    => $dropboxmode,
592
    dropboxdate    => output_pref($dropboxdate),
592
    dropboxdate    => output_pref($dropboxdate),
593
    overduecharges => $overduecharges,
593
    overduecharges => $overduecharges,
594
    soundon        => C4::Context->preference("SoundOn"),
594
    AudioAlerts        => C4::Context->preference("AudioAlerts"),
595
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
595
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
596
);
596
);
597
597
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 383-389 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
383
('SlipCSS','',NULL,'Slips CSS url.','free'),
383
('SlipCSS','',NULL,'Slips CSS url.','free'),
384
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
384
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
385
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
385
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
386
('soundon','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
386
('AudioAlerts','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
387
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
387
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
388
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
388
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
389
('SpineLabelAutoPrint','0','','If this setting is turned on, a print dialog will automatically pop up for the quick spine label printer.','YesNo'),
389
('SpineLabelAutoPrint','0','','If this setting is turned on, a print dialog will automatically pop up for the quick spine label printer.','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 9608-9613 if ( CheckVersion($DBversion) ) { Link Here
9608
    SetVersion ($DBversion);
9608
    SetVersion ($DBversion);
9609
}
9609
}
9610
9610
9611
$DBversion = "3.19.00.XXX";
9612
if ( CheckVersion($DBversion) ) {
9613
    $dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'});
9614
9615
    print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n";
9616
    SetVersion($DBversion);
9617
}
9618
9611
=head1 FUNCTIONS
9619
=head1 FUNCTIONS
9612
9620
9613
=head2 TableExists($table)
9621
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (-1 / +1 lines)
Lines 62-68 Link Here
62
    </script>
62
    </script>
63
[% END %]
63
[% END %]
64
64
65
[% IF soundon %]
65
[% IF AudioAlerts %]
66
    <script type="text/javascript">
66
    <script type="text/javascript">
67
        //<![CDATA[
67
        //<![CDATA[
68
            var TMPL_SOUND_PATH = "[% interface %]/[% theme %]/sound/";
68
            var TMPL_SOUND_PATH = "[% interface %]/[% theme %]/sound/";
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-7 / +7 lines)
Lines 40-51 Circulation: Link Here
40
                  desc: latest to earliest
40
                  desc: latest to earliest
41
            - due date.
41
            - due date.
42
        -
42
        -
43
            - pref: soundon
44
              choices: 
45
                 yes: "Enable"
46
                 no: "Don't enable"
47
            - circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.
48
        -
49
            - pref: SpecifyDueDate
43
            - pref: SpecifyDueDate
50
              choices:
44
              choices:
51
                  yes: Allow
45
                  yes: Allow
Lines 701-703 Circulation: Link Here
701
                  yes: Use
695
                  yes: Use
702
                  no: "Don't use"
696
                  no: "Don't use"
703
            - course reserves
697
            - course reserves
704
- 
698
    Audio Alerts:
699
        -
700
            - pref: AudioAlerts
701
              choices:
702
                 yes: "Enable"
703
                 no: "Don't enable"
704
            - circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.

Return to bug 11431