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

(-)a/circ/circulation.pl (-1 / +1 lines)
Lines 741-747 $template->param( Link Here
741
    inprocess         => $inprocess,
741
    inprocess         => $inprocess,
742
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
742
    is_child          => ($borrowernumber && $borrower->{'category_type'} eq 'C'),
743
    circview => 1,
743
    circview => 1,
744
    soundon           => C4::Context->preference("SoundOn"),
744
    AudioAlerts           => C4::Context->preference("AudioAlerts"),
745
    fast_cataloging   => $fast_cataloging,
745
    fast_cataloging   => $fast_cataloging,
746
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
746
    CircAutoPrintQuickSlip   => C4::Context->preference("CircAutoPrintQuickSlip"),
747
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
747
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
(-)a/circ/returns.pl (-1 / +1 lines)
Lines 594-600 $template->param( Link Here
594
    dropboxmode    => $dropboxmode,
594
    dropboxmode    => $dropboxmode,
595
    dropboxdate    => output_pref($dropboxdate),
595
    dropboxdate    => output_pref($dropboxdate),
596
    overduecharges => $overduecharges,
596
    overduecharges => $overduecharges,
597
    soundon        => C4::Context->preference("SoundOn"),
597
    AudioAlerts        => C4::Context->preference("AudioAlerts"),
598
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
598
    BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"),
599
);
599
);
600
600
(-)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 8560-8565 if ( CheckVersion($DBversion) ) { Link Here
8560
    SetVersion($DBversion);
8560
    SetVersion($DBversion);
8561
}
8561
}
8562
8562
8563
$DBversion = "3.17.00.XXX";
8564
if ( CheckVersion($DBversion) ) {
8565
    $dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'});
8566
8567
    print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n";
8568
    SetVersion($DBversion);
8569
}
8570
8563
=head1 FUNCTIONS
8571
=head1 FUNCTIONS
8564
8572
8565
=head2 TableExists($table)
8573
=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 46-57 Circulation: Link Here
46
                  no: "Don't enable"
46
                  no: "Don't enable"
47
            - "the sorting of current patron checkouts on the circulation screen. <br/>NOTE: Enabling this function may slow down circulation time for patrons with many checkouts."
47
            - "the sorting of current patron checkouts on the circulation screen. <br/>NOTE: Enabling this function may slow down circulation time for patrons with many checkouts."
48
        -
48
        -
49
            - pref: soundon
50
              choices: 
51
                 yes: "Enable"
52
                 no: "Don't enable"
53
            - circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.
54
        -
55
            - pref: SpecifyDueDate
49
            - pref: SpecifyDueDate
56
              choices:
50
              choices:
57
                  yes: Allow
51
                  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