From d187280b1fe36af66755646ddb06a329e3603262 Mon Sep 17 00:00:00 2001 From: andryyy Date: Fri, 3 Mar 2017 22:26:59 +0100 Subject: [PATCH] Add usage to user.php --- data/web/lang/lang.de.php | 4 +++- data/web/lang/lang.en.php | 4 +++- data/web/user.php | 15 ++++++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/data/web/lang/lang.de.php b/data/web/lang/lang.de.php index c3e0f165..048cc44a 100644 --- a/data/web/lang/lang.de.php +++ b/data/web/lang/lang.de.php @@ -92,6 +92,8 @@ $lang['danger']['spam_alias_max_exceeded'] = 'Maximale Anzahl an Spam-Alias-Adre $lang['danger']['validity_missing'] = 'Bitte geben Sie eine Gültigkeitsdauer an'; $lang['user']['on'] = 'Ein'; $lang['user']['off'] = 'Aus'; +$lang['user']['messages'] = "Nachrichten"; +$lang['user']['in_use'] = "Verwendet"; $lang['user']['user_change_fn'] = ''; $lang['user']['user_settings'] = 'Benutzereinstellungen'; $lang['user']['mailbox_settings'] = 'Mailbox-Einstellungen'; @@ -108,7 +110,7 @@ $lang['user']['alias'] = 'Alias'; $lang['user']['aliases'] = 'Aliasse'; $lang['user']['domain_aliases'] = 'Domain-Alias Adressen'; $lang['user']['is_catch_all'] = 'Ist Catch-All Adresse für Domain(s)'; -$lang['user']['aliases_also_send_as'] = 'Darf außerdem versenden als Benutzer'; +$lang['user']['aliases_also_send_as'] = 'Darf außerdem versenden als'; $lang['user']['aliases_send_as_all'] = 'Absender für folgende Domains und zugehörige Alias-Domains nicht prüfen'; $lang['user']['alias_create_random'] = 'Zufälligen Alias generieren'; $lang['user']['alias_extend_all'] = 'Gültigkeit +1h'; diff --git a/data/web/lang/lang.en.php b/data/web/lang/lang.en.php index 4c54438d..8c65a99f 100644 --- a/data/web/lang/lang.en.php +++ b/data/web/lang/lang.en.php @@ -94,6 +94,8 @@ $lang['danger']['spam_alias_max_exceeded'] = "Max. allowed spam alias addresses $lang['danger']['validity_missing'] = 'Please assign a period of validity'; $lang['user']['on'] = "On"; $lang['user']['off'] = "Off"; +$lang['user']['messages'] = "messages"; // "123 messages" +$lang['user']['in_use'] = "Used"; $lang['user']['user_change_fn'] = ""; $lang['user']['user_settings'] = 'User settings'; $lang['user']['mailbox_settings'] = 'Mailbox settings'; @@ -110,7 +112,7 @@ $lang['user']['alias'] = 'Alias'; $lang['user']['aliases'] = 'Aliases'; $lang['user']['domain_aliases'] = 'Domain alias addresses'; $lang['user']['is_catch_all'] = 'Catch-all for domain/s'; -$lang['user']['aliases_also_send_as'] = 'Also allowed to send as user'; +$lang['user']['aliases_also_send_as'] = 'Also allowed to send as'; $lang['user']['aliases_send_as_all'] = 'Do not check sender access for the following domain(s) and its alias domains'; $lang['user']['alias_create_random'] = 'Generate random alias'; $lang['user']['alias_extend_all'] = 'Extend aliases by 1 hour'; diff --git a/data/web/user.php b/data/web/user.php index 86cacae9..94f2a762 100644 --- a/data/web/user.php +++ b/data/web/user.php @@ -31,7 +31,7 @@ if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'doma foreach ($tfa_data['additional'] as $key_info): ?>
-
🔑 []
+
?? []
@@ -63,6 +63,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == ' $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; $username = $_SESSION['mailcow_cc_username']; $get_tls_policy = get_tls_policy($_SESSION['mailcow_cc_username']); + $mailboxdata = mailbox_get_mailbox_details($username); ?>

@@ -109,6 +110,18 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '

+
+
:
+
+
+
+ % +
+
+

/ ,

+
+
+