add dashboard-language string, fix missing { in customer_mysql

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-12-21 11:54:29 +01:00
parent 4f89d7a9f0
commit a81065a1b0
3 changed files with 3 additions and 2 deletions

View File

@@ -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');
}

View File

@@ -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)',

View File

@@ -1,7 +1,7 @@
{% extends "Froxlor/userarea.html.twig" %}
{% block content %}
<h3 class="page-header">Dashboard</h3>
<h3 class="page-header">{{ lng('panel.dashboard') }}</h3>
{% if get_setting('panel.is_configured') == 0 and userinfo.adminsession == 1 and userinfo.change_serversettings == 1 %}
<div class="alert alert-info position-relative p-5">