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

(-)a/about.pl (+3 lines)
Lines 77-82 my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); Link Here
77
77
78
my $warnIsRootUser   = (! $loggedinuser);
78
my $warnIsRootUser   = (! $loggedinuser);
79
79
80
my $warnNoActiveCurrency = (! defined C4::Budgets->GetCurrency());
81
80
$template->param(
82
$template->param(
81
    kohaVersion   => $kohaVersion,
83
    kohaVersion   => $kohaVersion,
82
    osVersion     => $osVersion,
84
    osVersion     => $osVersion,
Lines 93-98 $template->param( Link Here
93
    warnPrefAnonymousPatron => $warnPrefAnonymousPatron,
95
    warnPrefAnonymousPatron => $warnPrefAnonymousPatron,
94
    errZebraConnection => $errZebraConnection,
96
    errZebraConnection => $errZebraConnection,
95
    warnIsRootUser => $warnIsRootUser,
97
    warnIsRootUser => $warnIsRootUser,
98
    warnNoActiveCurrency => $warnNoActiveCurrency,
96
);
99
);
97
100
98
my @components = ();
101
my @components = ();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +5 lines)
Lines 104-112 Link Here
104
            <p>Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p>
104
            <p>Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p>
105
        [% END %]
105
        [% END %]
106
            <h2>Warnings regarding the system configuration</h2>
106
            <h2>Warnings regarding the system configuration</h2>
107
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron %]
107
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnNoActiveCurrency %]
108
        <table>
108
        <table>
109
            <caption>Preferences</caption>
109
            <caption>Preferences and parameters</caption>
110
            [% IF (warnPrefBiblioAddsAuthorities) %]
110
            [% IF (warnPrefBiblioAddsAuthorities) %]
111
            <tr><th scope="row"><b>Warning</b> </th><td>System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well.</td></tr>
111
            <tr><th scope="row"><b>Warning</b> </th><td>System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well.</td></tr>
112
            [% END %]
112
            [% END %]
Lines 116-121 Link Here
116
            [% IF warnPrefAnonymousPatron %]
116
            [% IF warnPrefAnonymousPatron %]
117
                <tr><th scope="row"><b>Warning</b> </th><td>System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.</td></tr>
117
                <tr><th scope="row"><b>Warning</b> </th><td>System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.</td></tr>
118
            [% END %]
118
            [% END %]
119
            [% IF warnNoActiveCurrency %]
120
                <tr><th scope="row"><b>Warning</b> </th><td>No active currency is defined. Please go to Administration:Currencies & Exchange rates and mark one currency as active.</td></tr>
121
            [% END %]
119
        </table>
122
        </table>
120
        [% ELSE %]
123
        [% ELSE %]
121
            <p>No warnings</p>
124
            <p>No warnings</p>
122
- 

Return to bug 11772