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

(-)a/about.pl (+25 lines)
Lines 326-331 if ( C4::Context->preference('ILLModule') ) { Link Here
326
    $template->param( warnILLConfiguration => $warnILLConfiguration );
326
    $template->param( warnILLConfiguration => $warnILLConfiguration );
327
}
327
}
328
328
329
{
330
    # XSLT sysprefs
331
    my @xslt_prefs = qw(
332
        OPACXSLTDetailsDisplay
333
        OPACXSLTListsDisplay
334
        OPACXSLTResultsDisplay
335
        XSLTDetailsDisplay
336
        XSLTListsDisplay
337
        XSLTResultsDisplay
338
    );
339
    my @warnXSLT;
340
    for my $p ( @xslt_prefs ) {
341
        my $xsl_filename = C4::XSLT::get_xsl_filename( $p );
342
        next if -e $xsl_filename;
343
        push @warnXSLT,
344
          {
345
            syspref  => $p,
346
            value    => C4::Context->preference("$p"),
347
            filename => $xsl_filename
348
          };
349
    }
350
351
    $template->param( warnXSLT => \@warnXSLT ) if @warnXSLT;
352
}
353
329
if ( C4::Context->preference('SearchEngine') eq 'Elasticsearch' ) {
354
if ( C4::Context->preference('SearchEngine') eq 'Elasticsearch' ) {
330
    # Check ES configuration health and runtime status
355
    # Check ES configuration health and runtime status
331
356
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-2 / +6 lines)
Lines 299-305 Link Here
299
            Contact your system administrator.
299
            Contact your system administrator.
300
        [% END %]
300
        [% END %]
301
301
302
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
302
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || warnXSLT || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
303
            <h2>Warnings regarding the system configuration</h2>
303
            <h2>Warnings regarding the system configuration</h2>
304
            <table>
304
            <table>
305
                <caption>Preferences and parameters</caption>
305
                <caption>Preferences and parameters</caption>
Lines 327-332 Link Here
327
                [% IF warnPrefOpacHiddenItems %]
327
                [% IF warnPrefOpacHiddenItems %]
328
                    <tr><th scope="row"><strong>Warning</strong> </th><td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
328
                    <tr><th scope="row"><strong>Warning</strong> </th><td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
329
                [% END %]
329
                [% END %]
330
                [% IF warnXSLT %]
331
                    [% FOR p IN warnXSLT %]
332
                        <tr><th scope="row"><strong>Warning</strong> </th><td>System preference '[% p.syspref | html %]' is '[% p.value | html %]', but the file '[% p.filename | html %]' does not exist.</th></tr>
333
                    [% END %]
334
                [% END %]
330
                [% IF invalid_yesno.count %]
335
                [% IF invalid_yesno.count %]
331
                    [% FOR p IN invalid_yesno %]
336
                    [% FOR p IN invalid_yesno %]
332
                        <tr><th scope="row"><strong>Warning</strong> </th><td>System preference '[% p.variable | html %]' must be '0' or '1', but is [% IF p.value.defined %]'[% p.value | html%]'[% ELSE %]NULL[% END %].</td></tr>
337
                        <tr><th scope="row"><strong>Warning</strong> </th><td>System preference '[% p.variable | html %]' must be '0' or '1', but is [% IF p.value.defined %]'[% p.value | html%]'[% ELSE %]NULL[% END %].</td></tr>
333
- 

Return to bug 12561