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 237-242 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
237
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
237
('itemBarcodeInputFilter','','whitespace|T-prefix|cuecat|libsuite8|EAN13','If set, allows specification of a item barcode input filter','Choice'),
238
('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'),
238
('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'),
239
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
239
('KohaAdminEmailAddress','root@localhost','','Define the email address where patron modification requests are sent','free'),
240
('KohaManualBaseURL','http://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'),
240
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
241
('LabelMARCView','standard','standard|economical','Define how a MARC record will display','Choice'),
241
('language','en',NULL,'Set the default language in the staff client.','Languages'),
242
('language','en',NULL,'Set the default language in the staff client.','Languages'),
242
('LetterLog','1',NULL,'If ON, log all notices sent','YesNo'),
243
('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 390-392 Enhanced Content: Link Here
390
                aws: Amazon Web Services
390
                aws: Amazon Web Services
391
                gb: Google Books
391
                gb: Google Books
392
                ol: Open Library
392
                ol: Open Library
393
- 
393
394
    Manual:
395
        -
396
            - Location of the Koha manual
397
            - pref: KohaManualBaseURL
398
            - You can specify the location of the Koha manual to use. By default it is http://koha-community.org/manual/
399
            - If starts with '/',  the value of staffClientBaseURL will be used as a prefix.
400
            - Note that it will be suffixed by the version / the language / the format (/17.11/en/html)

Return to bug 19817