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

(-)a/about.pl (+25 lines)
Lines 325-330 if ( C4::Context->preference('ILLModule') ) { Link Here
325
    $template->param( warnILLConfiguration => $warnILLConfiguration );
325
    $template->param( warnILLConfiguration => $warnILLConfiguration );
326
}
326
}
327
327
328
{
329
    # XSLT sysprefs
330
    my @xslt_prefs = qw(
331
        OPACXSLTDetailsDisplay
332
        OPACXSLTListsDisplay
333
        OPACXSLTResultsDisplay
334
        XSLTDetailsDisplay
335
        XSLTListsDisplay
336
        XSLTResultsDisplay
337
    );
338
    my @warnXSLT;
339
    for my $p ( @xslt_prefs ) {
340
        my $xsl_filename = C4::XSLT::get_xsl_filename( $p );
341
        next if -e $xsl_filename;
342
        push @warnXSLT,
343
          {
344
            syspref  => $p,
345
            value    => C4::Context->preference("$p"),
346
            filename => $xsl_filename
347
          };
348
    }
349
350
    $template->param( warnXSLT => \@warnXSLT ) if @warnXSLT;
351
}
352
328
if ( C4::Context->preference('SearchEngine') eq 'Elasticsearch' ) {
353
if ( C4::Context->preference('SearchEngine') eq 'Elasticsearch' ) {
329
    # Check ES configuration health and runtime status
354
    # Check ES configuration health and runtime status
330
355
(-)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