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

(-)a/about.pl (+2 lines)
Lines 128-133 my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); Link Here
128
my $warnIsRootUser   = (! $loggedinuser);
128
my $warnIsRootUser   = (! $loggedinuser);
129
129
130
my $warnNoActiveCurrency = (! defined Koha::Acquisition::Currencies->get_active);
130
my $warnNoActiveCurrency = (! defined Koha::Acquisition::Currencies->get_active);
131
131
my @xml_config_warnings;
132
my @xml_config_warnings;
132
133
133
my $context = new C4::Context;
134
my $context = new C4::Context;
Lines 307-312 $template->param( Link Here
307
    errZebraConnection => $errZebraConnection,
308
    errZebraConnection => $errZebraConnection,
308
    warnIsRootUser => $warnIsRootUser,
309
    warnIsRootUser => $warnIsRootUser,
309
    warnNoActiveCurrency => $warnNoActiveCurrency,
310
    warnNoActiveCurrency => $warnNoActiveCurrency,
311
    warnNoTemplateCaching => ( C4::Context->config('template_cache_dir') ? 0 : 1 ),
310
    xml_config_warnings => \@xml_config_warnings,
312
    xml_config_warnings => \@xml_config_warnings,
311
    warnStatisticsFieldsError => $warnStatisticsFieldsError,
313
    warnStatisticsFieldsError => $warnStatisticsFieldsError,
312
);
314
);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +8 lines)
Lines 138-144 Link Here
138
138
139
        <div id="sysinfo">
139
        <div id="sysinfo">
140
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
140
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
141
          warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError %]
141
          warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %]
142
        [% IF (warnIsRootUser) %]
142
        [% IF (warnIsRootUser) %]
143
            <h2>Warning regarding current user</h2>
143
            <h2>Warning regarding current user</h2>
144
            <p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p>
144
            <p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p>
Lines 146-152 Link Here
146
        [% END %]
146
        [% END %]
147
147
148
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
148
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
149
              warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError%]
149
              warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %]
150
            <h2>Warnings regarding the system configuration</h2>
150
            <h2>Warnings regarding the system configuration</h2>
151
            <table>
151
            <table>
152
                <caption>Preferences and parameters</caption>
152
                <caption>Preferences and parameters</caption>
Lines 190-195 Link Here
190
                    The patron used for the self checkout module at the OPAC has too many permissions. They should only have circulate => self_checkout.
190
                    The patron used for the self checkout module at the OPAC has too many permissions. They should only have circulate => self_checkout.
191
                    </td></tr>
191
                    </td></tr>
192
                [% END %]
192
                [% END %]
193
                [% IF warnNoTemplateCaching %]
194
                    <tr><th scope="row"><b>Warning</b> </th><td>
195
                    You are missing the &lt;template_cache_dir&gt; entry in your koha-conf.xml file.
196
                    That will bring a performance boost to enable it.
197
                    </td></tr>
198
                [% END %]
193
            </table>
199
            </table>
194
        [% END %]
200
        [% END %]
195
201
196
- 

Return to bug 7533