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

(-)a/about.pl (+5 lines)
Lines 470-475 if ( C4::Context->preference('WebBasedSelfCheck') Link Here
470
    );
470
    );
471
}
471
}
472
472
473
if ( C4::Context->preference('PatronSelfRegistration') ) {
474
    $template->param( warnPrefPatronSelfRegistrationDefaultCategory => 1 )
475
        unless  Koha::Patron::Categories->find(C4::Context->preference('PatronSelfRegistrationDefaultCategory'));
476
}
477
473
# Test YAML system preferences
478
# Test YAML system preferences
474
# FIXME: This is list of current YAML formatted prefs, should by type of preference
479
# FIXME: This is list of current YAML formatted prefs, should by type of preference
475
my @yaml_prefs = (
480
my @yaml_prefs = (
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +5 lines)
Lines 269-275 Link Here
269
                        [% SET warnMissingCompiledFiles = 1 %]
269
                        [% SET warnMissingCompiledFiles = 1 %]
270
                    [% END %]
270
                    [% END %]
271
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
271
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
272
                        [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing || warnMissingCompiledFiles || warnDbRowFormat %]
272
                        [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || warnPrefPatronSelfRegistrationDefaultCategory || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing || warnMissingCompiledFiles || warnDbRowFormat %]
273
                            [% IF ( warnDbRowFormat ) %]
273
                            [% IF ( warnDbRowFormat ) %]
274
                                <h2>Database row format incorrect</h2>
274
                                <h2>Database row format incorrect</h2>
275
                                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
275
                                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
Lines 393-399 Link Here
393
                                Contact your system administrator.
393
                                Contact your system administrator.
394
                            [% END # /IF warnConnectBroker %]
394
                            [% END # /IF warnConnectBroker %]
395
395
396
                            [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || 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 || warnFastCataloging %]
396
                            [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || warnPrefPatronSelfRegistrationDefaultCategory || invalid_yesno.count || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || warnXSLT || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnFastCataloging %]
397
                                <h2>Warnings regarding the system configuration</h2>
397
                                <h2>Warnings regarding the system configuration</h2>
398
                                <table>
398
                                <table>
399
                                    <caption>Preferences and parameters</caption>
399
                                    <caption>Preferences and parameters</caption>
Lines 450-455 Link Here
450
                                            <th scope="row"><strong>Warning</strong> </th>
450
                                            <th scope="row"><strong>Warning</strong> </th>
451
                                            <td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
451
                                            <td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
452
                                    [% END %]
452
                                    [% END %]
453
                                    [% IF warnPrefPatronSelfRegistrationDefaultCategory %]
454
                                        <tr><th scope="row"><strong>Warning</strong> </th><td>System preference 'PatronSelfRegistration' is set but 'PatronSelfRegistrationDefaultCategory' does not contain a valid patron category code. Patron self-registration is disabled.</td></tr>
455
                                    [% END %]
453
                                    [% IF warnXSLT %]
456
                                    [% IF warnXSLT %]
454
                                        [% FOR p IN warnXSLT %]
457
                                        [% FOR p IN warnXSLT %]
455
                                            <tr>
458
                                            <tr>
456
- 

Return to bug 27634