@@ -, +, @@ --- about.pl | 3 +++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) --- a/about.pl +++ a/about.pl @@ -72,6 +72,8 @@ my $warnPrefEasyAnalyticalRecords = ( $prefEasyAnalyticalRecords && $prefUseCo my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); +my $warnIsRootUser = (! $loggedinuser); + $template->param( kohaVersion => $kohaVersion, osVersion => $osVersion, @@ -87,6 +89,7 @@ $template->param( warnPrefBiblioAddsAuthorities => $warnPrefBiblioAddsAuthorities, warnPrefEasyAnalyticalRecords => $warnPrefEasyAnalyticalRecords, errZebraConnection => $errZebraConnection, + warnIsRootUser => $warnIsRootUser, ); my @components = (); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -98,6 +98,11 @@
+ [% IF (warnIsRootUser) %] +

Warning regarding current user

+

It seems that you are logged in as database administrative user. A lot of things will not work with this account.

+

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.

+ [% END %]

Warnings regarding the system configuration

[% IF ( (prefNoZebra) || (warnPrefBiblioAddsAuthorities) || warnPrefEasyAnalyticalRecords ) %] --