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 131-137 Link Here
131
131
132
        <div id="sysinfo">
132
        <div id="sysinfo">
133
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
133
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
134
          warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError %]
134
          warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %]
135
        [% IF (warnIsRootUser) %]
135
        [% IF (warnIsRootUser) %]
136
            <h2>Warning regarding current user</h2>
136
            <h2>Warning regarding current user</h2>
137
            <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>
137
            <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 139-145 Link Here
139
        [% END %]
139
        [% END %]
140
140
141
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
141
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist ||
142
              warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError%]
142
              warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %]
143
            <h2>Warnings regarding the system configuration</h2>
143
            <h2>Warnings regarding the system configuration</h2>
144
            <table>
144
            <table>
145
                <caption>Preferences and parameters</caption>
145
                <caption>Preferences and parameters</caption>
Lines 183-188 Link Here
183
                    The patron used for the self checkout module at the OPAC has too many permissions. They should only have circulate => self_checkout.
183
                    The patron used for the self checkout module at the OPAC has too many permissions. They should only have circulate => self_checkout.
184
                    </td></tr>
184
                    </td></tr>
185
                [% END %]
185
                [% END %]
186
                [% IF warnNoTemplateCaching %]
187
                    <tr><th scope="row"><b>Warning</b> </th><td>
188
                    You are missing the &lt;template_cache_dir&gt; entry in your koha-conf.xml file.
189
                    That will bring a performance boost to enable it.
190
                    </td></tr>
191
                [% END %]
186
            </table>
192
            </table>
187
        [% END %]
193
        [% END %]
188
194
189
- 

Return to bug 7533