@@ -, +, @@ multi-lingual jquery.ime input method support to Koha client. system preference. Open the refresh the staff client window and click inside any input text or textarea field after the page loads. You should see small keyboard graphics attached to the bottom right edge of the text field. language. The drop-down will close. input methods available for the language selected in step 5. back to English while on that page press CTRL+M. This toggles between input methods while on the page. jQuery.IME support for the staff client. support and in the case of Indic and other asian languages Complex layout rendering support and the necessary fonts. --- installer/data/mysql/sysprefs.sql | 1 + installer/data/mysql/updatedatabase.pl | 7 +++++++ .../intranet-tmpl/prog/en/includes/doc-head-close.inc | 16 ++++++++++++++++ .../prog/en/modules/admin/preferences/i18n_l10n.pref | 8 ++++++++ 4 files changed, 32 insertions(+) --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -426,6 +426,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('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'), ('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'), ('UsejQueryIMEonOPAC','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the OPAC','YesNo'), +('UsejQueryIMEonStaff','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the staff client','YesNo'), ('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'), ('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'), ('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'), --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -8676,6 +8676,13 @@ if ( CheckVersion($DBversion) ) { SetVersion ($DBversion); } +$DBversion = "3.17.00.XXX"; +if ( CheckVersion($DBversion) ) { + $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')"); + print "Upgrade to $DBversion done (Bug 12815 - Adding support of jquery.ime to Koha staff client)\n"; + SetVersion ($DBversion); +} + =head1 FUNCTIONS --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -3,6 +3,11 @@ + +[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %] + +[% END %] + [% INCLUDE intranetstylesheet.inc %] [% IF ( bidi ) %] @@ -16,6 +21,17 @@ +[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %] + + +[% END %] + [% IF ( login ) %] [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref @@ -58,3 +58,11 @@ I18N/L10N: yes: Enable no: "Do no enable" - on the OPAC. + - + - "Enable jQuery.IME " + - pref: UsejQueryIMEonStaff + default: 0 + choices: + yes: Enable + no: "Do no enable" + - on the staff client. --