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

(-)a/about.pl (+14 lines)
Lines 49-54 use Koha::BiblioFrameworks; Link Here
49
use Koha::Biblios;
49
use Koha::Biblios;
50
use Koha::Email;
50
use Koha::Email;
51
use Koha::I18N;
51
use Koha::I18N;
52
use Koha::Notice::Templates;
52
use Koha::Patron::Categories;
53
use Koha::Patron::Categories;
53
use Koha::Patrons;
54
use Koha::Patrons;
54
use Koha::Caches;
55
use Koha::Caches;
Lines 588-593 if ( $tab eq 'sysinfo' ) { Link Here
588
        $template->param( warnDbRowFormat => C4::Installer->has_non_dynamic_row_format );
589
        $template->param( warnDbRowFormat => C4::Installer->has_non_dynamic_row_format );
589
    }
590
    }
590
591
592
    # NotifyPasswordChange
593
    if ( C4::Context->preference('NotifyPasswordChange') ) {
594
595
        $template->param( warnPassChangeNoticeMissing => 1 )
596
            unless Koha::Notice::Templates->find_effective_template(
597
            {
598
                module                 => 'members',
599
                code                   => 'PASSWORD_CHANGE',
600
                message_transport_type => 'email',
601
            }
602
            );
603
    }
604
591
    $template->param(
605
    $template->param(
592
        prefRequireChoosingExistingAuthority                  => $prefRequireChoosingExistingAuthority,
606
        prefRequireChoosingExistingAuthority                  => $prefRequireChoosingExistingAuthority,
593
        prefAutoCreateAuthorities                             => $prefAutoCreateAuthorities,
607
        prefAutoCreateAuthorities                             => $prefAutoCreateAuthorities,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +11 lines)
Lines 328-334 Link Here
328
        [% SET warnMissingCompiledFiles = 1 %]
328
        [% SET warnMissingCompiledFiles = 1 %]
329
    [% END %]
329
    [% END %]
330
    [% WRAPPER tab_panel tabname= "sysinfo" bt_active = 1 %]
330
    [% WRAPPER tab_panel tabname= "sysinfo" bt_active = 1 %]
331
        [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || warnPrefPatronSelfRegistrationDefaultCategory || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || warnI18nMissing || 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 %]
331
        [% IF weasyprint_missing || warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || warnPrefPatronSelfRegistrationDefaultCategory || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || warnI18nMissing || 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 || warnPassChangeNoticeMissing %]
332
            [% IF ( warnDbRowFormat ) %]
332
            [% IF ( warnDbRowFormat ) %]
333
                <h2>Database row format incorrect</h2>
333
                <h2>Database row format incorrect</h2>
334
                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
334
                <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
Lines 473-479 Link Here
473
                Contact your system administrator.
473
                Contact your system administrator.
474
            [% END # /IF warnConnectBroker %]
474
            [% END # /IF warnConnectBroker %]
475
475
476
            [% 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 %]
476
            [% 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 || warnPassChangeNoticeMissing %]
477
                <h2>Warnings regarding the system configuration</h2>
477
                <h2>Warnings regarding the system configuration</h2>
478
                <table>
478
                <table>
479
                    <caption>Preferences and parameters</caption>
479
                    <caption>Preferences and parameters</caption>
Lines 592-597 Link Here
592
                            <td> The PO directory has not been found. See <a href="https://wiki.koha-community.org/wiki/Translation_files">the dedicated wiki page</a> for more information. </td>
592
                            <td> The PO directory has not been found. See <a href="https://wiki.koha-community.org/wiki/Translation_files">the dedicated wiki page</a> for more information. </td>
593
                        </tr>
593
                        </tr>
594
                    [% END %]
594
                    [% END %]
595
                    [% IF warnPassChangeNoticeMissing %]
596
                        <tr>
597
                            <th scope="row"><strong>Warning</strong> </th>
598
                            <td
599
                                >System preference 'NotifyPasswordChange' is enabled, but the PASSWORD_CHANGE notice template is missing. Password changes will fail. Please create the PASSWORD_CHANGE notice template in
600
                                <a href="/cgi-bin/koha/tools/letter.pl">Tools &gt; Notices and slips</a>.</td
601
                            >
602
                        </tr>
603
                    [% END %]
595
                    [% IF warnILLConfiguration %]
604
                    [% IF warnILLConfiguration %]
596
                        [% IF no_ill_backends %]
605
                        [% IF no_ill_backends %]
597
                            <tr>
606
                            <tr>
598
- 

Return to bug 40608