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

(-)a/installer/data/mysql/atomicupdate/mana_02-add_Mana_syspref.sql (-1 / +1 lines)
Lines 1-2 Link Here
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
2
('Mana','1',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo');
2
('Mana','2',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo');
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 275-281 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
275
('LocalHoldsPriorityItemControl',  'holdingbranch',  'holdingbranch|homebranch',  'decides if the feature operates using the item''s home or holding library.',  'Choice'),
275
('LocalHoldsPriorityItemControl',  'holdingbranch',  'holdingbranch|homebranch',  'decides if the feature operates using the item''s home or holding library.',  'Choice'),
276
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
276
('LocalHoldsPriorityPatronControl',  'PickupLibrary',  'HomeLibrary|PickupLibrary',  'decides if the feature operates using the library set as the patron''s home library, or the library set as the pickup library for the given hold.',  'Choice'),
277
('makePreviousSerialAvailable','0','','make previous serial automatically available when collecting a new serial. Please note that the item-level_itypes syspref must be set to specific item.','YesNo'),
277
('makePreviousSerialAvailable','0','','make previous serial automatically available when collecting a new serial. Please note that the item-level_itypes syspref must be set to specific item.','YesNo'),
278
('Mana','1',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo'),
278
('Mana','2',NULL,'request to Mana Webservice. Mana centralize common information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana.','YesNo'),
279
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
279
('ManInvInNoissuesCharge','1',NULL,'MANUAL_INV charges block checkouts (added to noissuescharge).','YesNo'),
280
('MARCAuthorityControlField008','|| aca||aabn           | a|a     d',NULL,'Define the contents of MARC21 authority control field 008 position 06-39','Textarea'),
280
('MARCAuthorityControlField008','|| aca||aabn           | a|a     d',NULL,'Define the contents of MARC21 authority control field 008 position 06-39','Textarea'),
281
('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. "MARC21" or "UNIMARC". {FIELD} = field number, eg. "000" or "048". {LANG} = user language, eg. "en" or "fi-FI"', 'free'),
281
('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. "MARC21" or "UNIMARC". {FIELD} = field number, eg. "000" or "048". {LANG} = user language, eg. "en" or "fi-FI"', 'free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-1 / +7 lines)
Lines 22-28 Link Here
22
                        <a href=/cgi-bin/koha/admin/share_content.pl>here.</a>
22
                        <a href=/cgi-bin/koha/admin/share_content.pl>here.</a>
23
                    </p>
23
                    </p>
24
                </div>
24
                </div>
25
           [% END %]
25
            [% END %]
26
            [% IF ( Koha.Preference('Mana') == 2 ) %]
27
                <div class="dialog alert">
28
                    <p><center> You haven't decided if you want to activate Mana Knowlede Base, please let us know by clicking<center></p>
29
                    <a href=/cgi-bin/koha/admin/share_content.pl><center>Here</center></a>
30
                </div>
31
            [% END %]
26
        <h1>Koha administration</h1>
32
        <h1>Koha administration</h1>
27
        <div class="row">
33
        <div class="row">
28
            <div class="col-md-6 sysprefs">
34
            <div class="col-md-6 sysprefs">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref (+1 lines)
Lines 65-70 Web services: Link Here
65
              choices:
65
              choices:
66
                yes: Enable
66
                yes: Enable
67
                no: Disable
67
                no: Disable
68
                2: No, let me think about it
68
            - request to Mana Webservice. Mana centralize commun information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana. The informations shared with Mana KB are shared under the CC-0 license. More infos about CC-0 license on https://creativecommons.org/choose/zero/
69
            - request to Mana Webservice. Mana centralize commun information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana. The informations shared with Mana KB are shared under the CC-0 license. More infos about CC-0 license on https://creativecommons.org/choose/zero/
69
        -
70
        -
70
             - "Security token used to authenticate on mana:"
71
             - "Security token used to authenticate on mana:"
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt (+5 lines)
Lines 63-68 Well done! You successfully created your Mana KB account. Check your mailbox and Link Here
63
                                    [% ELSE %]
63
                                    [% ELSE %]
64
                                        <option value="1">Yes</option>
64
                                        <option value="1">Yes</option>
65
                                    [% END %]
65
                                    [% END %]
66
                                    [% IF Koha.Preference('Mana') == 2 %]
67
                                        <option value="2" selected="selected">No, let me think about it</option>
68
                                    [% ELSE %]
69
                                        <option value="2">No, let me think about it</option>
70
                                    [% END %]
66
                                </select>
71
                                </select>
67
                                <div class="hint">Enable Mana allow you to search, import and comment content from Mana server, and, to share your own.</div>
72
                                <div class="hint">Enable Mana allow you to search, import and comment content from Mana server, and, to share your own.</div>
68
                            </li>
73
                            </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-3 / +1 lines)
Lines 220-226 width: 300px; /* not enough for IE7 apparently */ Link Here
220
                        <a href=/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=request+to+mana+webservice>here</a></center></p>
220
                        <a href=/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=request+to+mana+webservice>here</a></center></p>
221
                    </fieldset>
221
                    </fieldset>
222
                [% END %]
222
                [% END %]
223
224
                        <div hidden id="mana_search" class="dialog message">
223
                        <div hidden id="mana_search" class="dialog message">
225
                        </div>
224
                        </div>
226
                        <div id="subscription_form_planning">
225
                        <div id="subscription_form_planning">
Lines 528-534 width: 300px; /* not enough for IE7 apparently */ Link Here
528
        [% FOREACH field IN dont_export_field_loop %]
527
        [% FOREACH field IN dont_export_field_loop %]
529
            tags.push("[% field.fieldid | html %]");
528
            tags.push("[% field.fieldid | html %]");
530
        [% END %]
529
        [% END %]
531
        var mana_enabled = [% IF (Koha.Preference('Mana') && mana_url) %]1[% ELSE %]0[% END %];
530
        var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[% ELSE %]0[% END %];
532
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
531
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
533
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
532
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
534
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
533
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
535
- 

Return to bug 17047