public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Web] Minor fixes, some style adjustments
f2ae0db9
data/web/inc/functions.mailbox.inc.php | 6 +++---
data/web/js/build/014-mailcow.js | 7 +++++++
data/web/js/site/admin.js | 5 -----
3 files changed, 10 insertions(+), 8 deletions(-)
Diff
diff --git a/data/web/inc/functions.mailbox.inc.php b/data/web/inc/functions.mailbox.inc.php
index 0c368835..4fe6fb4a 100644
--- a/data/web/inc/functions.mailbox.inc.php
+++ b/data/web/inc/functions.mailbox.inc.php
@@ -614,7 +614,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
- 'msg' => 'alias_invalid'
+ 'msg' => array('alias_invalid', $address)
);
continue;
}
@@ -1713,7 +1713,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
- 'msg' => 'alias_invalid'
+ 'msg' => array('alias_invalid', $address)
);
continue;
}
@@ -1733,7 +1733,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
- 'msg' => 'alias_invalid'
+ 'msg' => array('alias_invalid', $address)
);
continue;
}
diff --git a/data/web/js/build/014-mailcow.js b/data/web/js/build/014-mailcow.js
index 26602714..0c49efaf 100644
--- a/data/web/js/build/014-mailcow.js
+++ b/data/web/js/build/014-mailcow.js
@@ -56,6 +56,13 @@ $(document).ready(function() {
'use strict';
if ($('a[data-toggle="tab"]').length) {
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
+ $("ul.nav-tabs li a").parent().find("a").each(function(){
+ var t = $(this).text();
+ t = t.replace(/^⤏ /, '');
+ $(this).text(t);
+ });
+ $(this).prepend("⤏ ");
+
if ($(this).data('dont-remember') == 1) {
return true;
}
diff --git a/data/web/js/site/admin.js b/data/web/js/site/admin.js
index cb83361e..8a3ece31 100644
--- a/data/web/js/site/admin.js
+++ b/data/web/js/site/admin.js
@@ -62,11 +62,6 @@ jQuery(function($){
draw_table = $(this).data('draw');
eval(draw_table + '()');
});
- if (localStorage.getItem("current_page") === null) {
- var current_page = {};
- } else {
- var current_page = JSON.parse(localStorage.getItem('current_page'));
- }
function table_admin_ready(ft, name) {
heading = ft.$el.parents('.panel').find('.panel-heading')
var ft_paging = ft.use(FooTable.Paging)