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

(-)a/circ/circulation.pl (-1 / +1 lines)
Lines 542-548 $template->param( Link Here
542
    inprocess         => $inprocess,
542
    inprocess         => $inprocess,
543
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
543
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
544
    circview => 1,
544
    circview => 1,
545
    soundon           => C4::Context->preference("SoundOn"),
545
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
546
    fast_cataloging   => $fast_cataloging,
546
    fast_cataloging   => $fast_cataloging,
547
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
547
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
548
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
548
    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 363-369 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
363
('SlipCSS','',NULL,'Slips CSS url.','free'),
363
('SlipCSS','',NULL,'Slips CSS url.','free'),
364
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
364
('SMSSendDriver','','','Sets which SMS::Send driver is used to send SMS messages.','free'),
365
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
365
('SocialNetworks','0','','Enable/Disable social networks links in opac detail pages','YesNo'),
366
('soundon','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
366
('AudioAlerts','0','','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','YesNo'),
367
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
367
('SpecifyDueDate','1','','Define whether to display \"Specify Due Date\" form in Circulation','YesNo'),
368
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
368
('SpecifyReturnDate',1,'','Define whether to display \"Specify Return Date\" form in Circulation','YesNo'),
369
('SpineLabelAutoPrint','0','','If this setting is turned on, a print dialog will automatically pop up for the quick spine label printer.','YesNo'),
369
('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 8613-8618 if ( CheckVersion($DBversion) ) { Link Here
8613
    SetVersion($DBversion);
8613
    SetVersion($DBversion);
8614
}
8614
}
8615
8615
8616
$DBversion = "3.17.00.XXX";
8617
if ( CheckVersion($DBversion) ) {
8618
    $dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'});
8619
8620
    print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n";
8621
    SetVersion($DBversion);
8622
}
8623
8616
=head1 FUNCTIONS
8624
=head1 FUNCTIONS
8617
8625
8618
=head2 TableExists($table)
8626
=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 625-627 Circulation: Link Here
625
                  yes: Use
619
                  yes: Use
626
                  no: "Don't use"
620
                  no: "Don't use"
627
            - course reserves
621
            - course reserves
628
- 
622
    Audio Alerts:
623
        -
624
            - pref: AudioAlerts
625
              choices:
626
                 yes: "Enable"
627
                 no: "Don't enable"
628
            - circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.

Return to bug 11431