X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=mainpage.pl;h=78daf3887d111f323dfd4f4a5225e65e5c3b8570;hb=880e3b805b0e2a27052a2900b915eefa2edd03f7;hp=f834985cfe577a66e1c6b585b9599a74b99870b8;hpb=367c4fb8815bfe4a01869a25bcd8222989c15dcd;p=koha.git diff --git a/mainpage.pl b/mainpage.pl index f834985cfe..78daf3887d 100755 --- a/mainpage.pl +++ b/mainpage.pl @@ -60,4 +60,11 @@ $template->param( pendingsuggestions => $pendingsuggestions ); +# +# warn user if he is using mysql/admin login +# +unless ($loggedinuser) { + $template->param(adminWarning => 1); +} + output_html_with_http_headers $query, $cookie, $template->output;