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

(-)a/help.pl (-2 / +5 lines)
Lines 36-44 if ( $help_version =~ m|^(\d+)\.(\d{2}).*$| ) { Link Here
36
    $help_version = "$version.$major";
36
    $help_version = "$version.$major";
37
}
37
}
38
38
39
# FIXME remote url must be a pref
40
# FIXME /en/ must be configurable (or guessed)
39
# FIXME /en/ must be configurable (or guessed)
41
our $base_url = 'http://koha-community.org/manual/' . $help_version . '/en/html';
40
my $KohaManualBaseURL = C4::Context->preference('KohaManualBaseURL') || 'http://koha-community.org/manual';
41
if ( $KohaManualBaseURL =~ m|^/| ) {
42
    $KohaManualBaseURL = C4::Context->preference('staffClientBaseURL') . $KohaManualBaseURL;
43
}
44
our $base_url = $KohaManualBaseURL . '/' . $help_version . '/en/html';
42
our $mapping = {
45
our $mapping = {
43
    'about'                                    => '/14_plugins.html#about-koha',
46
    'about'                                    => '/14_plugins.html#about-koha',
44
    'acqui/acqui-home'                         => '/09_acquisitions.html',
47
    'acqui/acqui-home'                         => '/09_acquisitions.html',
(-)a/installer/data/mysql/atomicupdate/bug_19817.sql (+2 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
2
VALUES ('KohaManualBaseURL','http://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 240-245 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
240
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
240
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
241
('itemcallnumber','082ab',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
241
('itemcallnumber','082ab',NULL,'The MARC field/subfield that is used to calculate the itemcallnumber (Dewey would be 082ab or 092ab; LOC would be 050ab or 090ab) could be 852hi from an item record','free'),
242
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
242
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
243
('KohaManualBaseURL','http://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'),
243
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
244
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
244
('language','en',NULL,'Set the default language in the staff client.','Languages'),
245
('language','en',NULL,'Set the default language in the staff client.','Languages'),
245
('LetterLog','1',NULL,'If ON, log all notices sent','YesNo'),
246
('LetterLog','1',NULL,'If ON, log all notices sent','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref (-1 / +8 lines)
Lines 396-398 Enhanced Content: Link Here
396
                aws: Amazon Web Services
396
                aws: Amazon Web Services
397
                gb: Google Books
397
                gb: Google Books
398
                ol: Open Library
398
                ol: Open Library
399
- 
399
400
    Manual:
401
        -
402
            - Location of the Koha manual
403
            - pref: KohaManualBaseURL
404
            - You can specify the location of the Koha manual to use. By default it is http://koha-community.org/manual/
405
            - If starts with '/',  the value of staffClientBaseURL will be used as a prefix.
406
            - Note that it will be suffixed by the version / the language / the format (/17.11/en/html)

Return to bug 19817