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

(-)a/about.pl (+3 lines)
Lines 72-77 my $warnPrefEasyAnalyticalRecords = ( $prefEasyAnalyticalRecords && $prefUseCo Link Here
72
72
73
my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode();
73
my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode();
74
74
75
my $warnIsRootUser   = (! $loggedinuser);
76
75
$template->param(
77
$template->param(
76
    kohaVersion   => $kohaVersion,
78
    kohaVersion   => $kohaVersion,
77
    osVersion     => $osVersion,
79
    osVersion     => $osVersion,
Lines 87-92 $template->param( Link Here
87
    warnPrefBiblioAddsAuthorities => $warnPrefBiblioAddsAuthorities,
89
    warnPrefBiblioAddsAuthorities => $warnPrefBiblioAddsAuthorities,
88
    warnPrefEasyAnalyticalRecords  => $warnPrefEasyAnalyticalRecords,
90
    warnPrefEasyAnalyticalRecords  => $warnPrefEasyAnalyticalRecords,
89
    errZebraConnection => $errZebraConnection,
91
    errZebraConnection => $errZebraConnection,
92
    warnIsRootUser => $warnIsRootUser,
90
);
93
);
91
94
92
my @components = ();
95
my @components = ();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-1 / +5 lines)
Lines 98-103 Link Here
98
        </div>
98
        </div>
99
99
100
        <div id="sysinfo">
100
        <div id="sysinfo">
101
        [% IF (warnIsRootUser) %]
102
            <h2>Warning regarding current user</h2>
103
            <p>It seems that you are logged in as database administrative user. A lot of things will not work with this account.</p>
104
            <p>Usually you need to log in with a regular staff account. To create a staff account, create a branch, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p>
105
        [% END %]
101
            <h2>Warnings regarding the system configuration</h2>
106
            <h2>Warnings regarding the system configuration</h2>
102
        [% IF ( (prefNoZebra) || (warnPrefBiblioAddsAuthorities) || warnPrefEasyAnalyticalRecords ) %]
107
        [% IF ( (prefNoZebra) || (warnPrefBiblioAddsAuthorities) || warnPrefEasyAnalyticalRecords ) %]
103
        <table>
108
        <table>
104
- 

Return to bug 8641