From 63bba4fa4cc89197db7dfbf6c03871e9c3a8e4f5 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 26 Feb 2017 13:23:34 +0800 Subject: [PATCH 1/5] Update mailbox.php --- data/web/mailbox.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/data/web/mailbox.php b/data/web/mailbox.php index faa8c4c0..8fe65966 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -91,7 +91,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; endforeach; else: ?> - + @@ -101,7 +101,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; ?> - + @@ -182,7 +182,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } else { ?> - + - + @@ -253,7 +253,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } else { ?> - + - + @@ -320,7 +320,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } else { ?> - + - + @@ -398,7 +398,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } else { ?> - + - + From ee1a66b0a83028a5a51a3830ac30e80269f1b7c4 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 26 Feb 2017 14:13:34 +0800 Subject: [PATCH 2/5] Message --- data/web/mailbox.php | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/data/web/mailbox.php b/data/web/mailbox.php index 8fe65966..4ba3757e 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -146,6 +146,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; + Add a domain first + @@ -229,6 +235,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; + Add a domain first + @@ -298,6 +310,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; + Add a domain first + @@ -367,6 +385,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; - - + + + Add a domain first + From 88ff43ede2dbad1490be03869f0d120d372f11cb Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 26 Feb 2017 14:29:09 +0800 Subject: [PATCH 3/5] Add language string --- data/web/lang/lang.en.php | 1 + 1 file changed, 1 insertion(+) diff --git a/data/web/lang/lang.en.php b/data/web/lang/lang.en.php index e4966855..8c8a662d 100644 --- a/data/web/lang/lang.en.php +++ b/data/web/lang/lang.en.php @@ -246,6 +246,7 @@ $lang['mailbox']['add_domain_alias'] = 'Add domain alias'; $lang['mailbox']['add_mailbox'] = 'Add mailbox'; $lang['mailbox']['add_resource'] = 'Add resource'; $lang['mailbox']['add_alias'] = 'Add alias'; +$lang['mailbox']['add_domain_record_first'] = 'Please add a domain first'; $lang['info']['no_action'] = 'No action applicable'; From 3115339c085d4c359d91e0404c0a75673822bfc9 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 26 Feb 2017 14:29:49 +0800 Subject: [PATCH 4/5] Add language string --- data/web/mailbox.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/web/mailbox.php b/data/web/mailbox.php index 4ba3757e..a12a078f 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -189,7 +189,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } } else { ?> - Add a domain first + @@ -266,7 +266,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } } else { ?> - Add a domain first + @@ -339,7 +339,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } } else { ?> - Add a domain first + @@ -423,7 +423,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; } } else { ?> - Add a domain first + From 9196e00d7f8872f580d556c33630a0842a3d425d Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 26 Feb 2017 14:42:17 +0800 Subject: [PATCH 5/5] Max width is too small --- data/web/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/user.php b/data/web/user.php index 253715b6..86cacae9 100644 --- a/data/web/user.php +++ b/data/web/user.php @@ -402,7 +402,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == ' Log - +