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

(-)a/circ/circulation.pl (-1 / +1 lines)
Lines 547-553 $template->param( Link Here
547
    inprocess         => $inprocess,
547
    inprocess         => $inprocess,
548
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
548
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
549
    circview => 1,
549
    circview => 1,
550
    soundon           => C4::Context->preference("SoundOn"),
550
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
551
    fast_cataloging   => $fast_cataloging,
551
    fast_cataloging   => $fast_cataloging,
552
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
552
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
553
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
553
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
(-)a/circ/returns.pl (-1 / +1 lines)
Lines 596-602 $template->param( Link Here
596
    dropboxmode    => $dropboxmode,
596
    dropboxmode    => $dropboxmode,
597
    dropboxdate    => output_pref($dropboxdate),
597
    dropboxdate    => output_pref($dropboxdate),
598
    overduecharges => $overduecharges,
598
    overduecharges => $overduecharges,
599
    soundon        => C4::Context->preference("SoundOn"),
599
    AudioAlerts        => C4::Context->preference("AudioAlerts"),
600
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
600
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
601
);
601
);
602
602
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 364-370 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
364
('SlipCSS','',NULL,'Slips CSS url.','free'),
364
('SlipCSS','',NULL,'Slips CSS url.','free'),
365
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
365
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
366
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
366
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
367
('soundon','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
367
('AudioAlerts','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
368
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
368
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
369
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
369
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
370
('SpineLabelAutoPrint','0','','If this setting is turned on, a print dialog will automatically pop up for the quick spine label printer.','YesNo'),
370
('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 8570-8575 if ( CheckVersion($DBversion) ) { Link Here
8570
    SetVersion($DBversion);
8570
    SetVersion($DBversion);
8571
}
8571
}
8572
8572
8573
$DBversion = "3.17.00.XXX";
8574
if ( CheckVersion($DBversion) ) {
8575
    $dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'});
8576
8577
    print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n";
8578
    SetVersion($DBversion);
8579
}
8580
8573
=head1 FUNCTIONS
8581
=head1 FUNCTIONS
8574
8582
8575
=head2 TableExists($table)
8583
=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 619-621 Circulation: Link Here
619
                  yes: Use
613
                  yes: Use
620
                  no: "Don't use"
614
                  no: "Don't use"
621
            - course reserves
615
            - course reserves
622
- 
616
    Audio Alerts:
617
        -
618
            - pref: AudioAlerts 
619
              choices: 
620
                 yes: "Enable"
621
                 no: "Don't enable"
622
            - circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.

Return to bug 11431