diff --git a/customer_mysql.php b/customer_mysql.php index d285b332..f806d147 100644 --- a/customer_mysql.php +++ b/customer_mysql.php @@ -40,7 +40,7 @@ use Froxlor\UI\Response; use Froxlor\CurrentUser; // redirect if this customer page is hidden via settings or no resources given -if (Settings::IsInList('panel.customer_hide_options', 'mysql') || $userinfo['mysqls'] == 0) +if (Settings::IsInList('panel.customer_hide_options', 'mysql') || $userinfo['mysqls'] == 0) { Response::redirectTo('customer_index.php'); } diff --git a/lng/en.lng.php b/lng/en.lng.php index 11de60c3..67d5fd9f 100644 --- a/lng/en.lng.php +++ b/lng/en.lng.php @@ -1328,6 +1328,7 @@ Yours sincerely, your administrator', 'description' => 'Select the field you want to search in' ], 'upload_import' => 'Upload and import', + 'dashboard' => 'Dashboard', ], 'phpfpm' => [ 'vhost_httpuser' => 'Local user to use for PHP-FPM (Froxlor vHost)', diff --git a/templates/Froxlor/user/index.html.twig b/templates/Froxlor/user/index.html.twig index 413e810f..7a26c595 100644 --- a/templates/Froxlor/user/index.html.twig +++ b/templates/Froxlor/user/index.html.twig @@ -1,7 +1,7 @@ {% extends "Froxlor/userarea.html.twig" %} {% block content %} - + {% if get_setting('panel.is_configured') == 0 and userinfo.adminsession == 1 and userinfo.change_serversettings == 1 %}