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

(-)a/about.pl (+5 lines)
Lines 466-471 if ( C4::Context->preference('WebBasedSelfCheck') Link Here
466
    );
466
    );
467
}
467
}
468
468
469
if ( C4::Context->preference('PatronSelfRegistration') ) {
470
    $template->param( warnPrefPatronSelfRegistrationDefaultCategory => 1 )
471
        unless  Koha::Patron::Categories->find(C4::Context->preference('PatronSelfRegistrationDefaultCategory'));
472
}
473
469
# Test YAML system preferences
474
# Test YAML system preferences
470
# FIXME: This is list of current YAML formatted prefs, should by type of preference
475
# FIXME: This is list of current YAML formatted prefs, should by type of preference
471
my @yaml_prefs = (
476
my @yaml_prefs = (
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +5 lines)
Lines 267-273 Link Here
267
                        [% SET warnMissingCompiledFiles = 1 %]
267
                        [% SET warnMissingCompiledFiles = 1 %]
268
                    [% END %]
268
                    [% END %]
269
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
269
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
270
                        [% 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 %]
270
                        [% 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 %]
271
                            [% IF ( warnDbRowFormat ) %]
271
                            [% IF ( warnDbRowFormat ) %]
272
                                <h2>Database row format incorrect</h2>
272
                                <h2>Database row format incorrect</h2>
273
                                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
273
                                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
Lines 391-397 Link Here
391
                                Contact your system administrator.
391
                                Contact your system administrator.
392
                            [% END # /IF warnConnectBroker %]
392
                            [% END # /IF warnConnectBroker %]
393
393
394
                            [% 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 %]
394
                            [% 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 %]
395
                                <h2>Warnings regarding the system configuration</h2>
395
                                <h2>Warnings regarding the system configuration</h2>
396
                                <table>
396
                                <table>
397
                                    <caption>Preferences and parameters</caption>
397
                                    <caption>Preferences and parameters</caption>
Lines 448-453 Link Here
448
                                            <th scope="row"><strong>Warning</strong> </th>
448
                                            <th scope="row"><strong>Warning</strong> </th>
449
                                            <td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
449
                                            <td>System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %]</th></tr>
450
                                    [% END %]
450
                                    [% END %]
451
                                    [% IF warnPrefPatronSelfRegistrationDefaultCategory %]
452
                                        <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>
453
                                    [% END %]
451
                                    [% IF warnXSLT %]
454
                                    [% IF warnXSLT %]
452
                                        [% FOR p IN warnXSLT %]
455
                                        [% FOR p IN warnXSLT %]
453
                                            <tr>
456
                                            <tr>
454
- 

Return to bug 27634