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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 426-431 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
426
('useDaysMode','Calendar','Calendar|Days|Datedue','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Choice'),
426
('useDaysMode','Calendar','Calendar|Days|Datedue','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Choice'),
427
('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'),
427
('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'),
428
('UsejQueryIMEonOPAC','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the OPAC','YesNo'),
428
('UsejQueryIMEonOPAC','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the OPAC','YesNo'),
429
('UsejQueryIMEonStaff','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the staff client','YesNo'),
429
('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'),
430
('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'),
430
('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'),
431
('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'),
431
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
432
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 8676-8681 if ( CheckVersion($DBversion) ) { Link Here
8676
    SetVersion ($DBversion);
8676
    SetVersion ($DBversion);
8677
}
8677
}
8678
8678
8679
$DBversion = "3.17.00.XXX";
8680
if ( CheckVersion($DBversion) ) {
8681
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('UsejQueryIMEonStaff','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the Staff client','YesNo')");
8682
    print "Upgrade to $DBversion done (Bug 12815 - Adding support of jquery.ime to Koha staff client)\n";
8683
    SetVersion ($DBversion);
8684
}
8685
8679
8686
8680
=head1 FUNCTIONS
8687
=head1 FUNCTIONS
8681
8688
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (+17 lines)
Lines 3-8 Link Here
3
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" />
3
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
5
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
5
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
6
7
[% USE Koha %]
8
[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery.ime/css/jquery.ime.css" />
10
[% END %]
11
6
[% INCLUDE intranetstylesheet.inc %]
12
[% INCLUDE intranetstylesheet.inc %]
7
[% IF ( bidi ) %]
13
[% IF ( bidi ) %]
8
   <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
14
   <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
Lines 16-21 Link Here
16
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script>
22
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script>
17
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script>
23
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script>
18
24
25
[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %]
26
<script type="text/javascript" src="[% interface %]/lib/jquery.ime/jquery.ime.min.js"></script>
27
<script type="text/javascript">
28
//<![CDATA[
29
    $( document ).ready( function () {
30
        $( "input:text, textarea" ).ime();
31
    } );
32
//]]>
33
</script>
34
[% END %]
35
19
[% IF ( login ) %]
36
[% IF ( login ) %]
20
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" />
37
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" />
21
[% END %]
38
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref (-1 / +8 lines)
Lines 58-60 I18N/L10N: Link Here
58
                  yes: Enable
58
                  yes: Enable
59
                  no: "Do no enable"
59
                  no: "Do no enable"
60
            - on the OPAC.
60
            - on the OPAC.
61
- 
61
        -
62
            - "Enable jQuery.IME "
63
            - pref: UsejQueryIMEonStaff
64
              default: 0
65
              choices:
66
                  yes: Enable
67
                  no: "Do no enable"
68
            - on the staff client.

Return to bug 12815