diff --git a/admin_customers.php b/admin_customers.php
index 10bcc1a5..075b9365 100644
--- a/admin_customers.php
+++ b/admin_customers.php
@@ -104,13 +104,11 @@ if($page == 'customers'
$traffic_doublepercent = 0;
}
- $column_style = '';
- $unlock_link = '';
+ $islocked = 0;
if($row['loginfail_count'] >= $settings['login']['maxloginattempts']
&& $row['lastlogin_fail'] > (time() - $settings['login']['deactivatetime'])
) {
- $column_style = ' style="background-color: #f99122;"';
- $unlock_link = ''.$lng['panel']['unlock'].'
';
+ $islocked = 1;
}
$row = str_replace_array('-1', 'UL', $row, 'diskspace traffic mysqls emails email_accounts email_forwarders ftps tickets subdomains email_autoresponder');
diff --git a/templates/Froxlor/admin/customers/customers_customer.tpl b/templates/Froxlor/admin/customers/customers_customer.tpl
index f9f070c5..f68dc8d4 100644
--- a/templates/Froxlor/admin/customers/customers_customer.tpl
+++ b/templates/Froxlor/admin/customers/customers_customer.tpl
@@ -1,4 +1,4 @@
-
+
class="disabled">
@@ -55,6 +55,11 @@
+
+
+
+
+
|
diff --git a/templates/Froxlor/assets/css/main.css b/templates/Froxlor/assets/css/main.css
index 9db67ee2..6d610246 100644
--- a/templates/Froxlor/assets/css/main.css
+++ b/templates/Froxlor/assets/css/main.css
@@ -483,6 +483,10 @@ table tbody td {
border-right: 1px solid #666;
}
+.disabled td, .disabled td a {
+ color: #cfcfcf;
+}
+
.formtable {
width: 100%;
border-spacing: 0;
@@ -751,3 +755,25 @@ caption {
font-weight: bold;
margin-bottom: 0.2em;
}
+
+/* dataTables */
+table thead th.sorting_asc {
+ background-image: url('../img/icons/sort_down.png');
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ padding-left: 25px;
+}
+
+table thead th.sorting_desc {
+ background-image: url('../img/icons/sort_up.png');
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ padding-left: 25px;
+}
+
+table thead th.sorting {
+ background-image: url('../img/icons/sort_both.png');
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ padding-left: 25px;
+}
\ No newline at end of file
diff --git a/templates/Froxlor/assets/img/icons/unlock.png b/templates/Froxlor/assets/img/icons/unlock.png
new file mode 100644
index 00000000..80de8034
Binary files /dev/null and b/templates/Froxlor/assets/img/icons/unlock.png differ
diff --git a/templates/Sparkle/admin/admins/admins.tpl b/templates/Sparkle/admin/admins/admins.tpl
index 078e837d..97226502 100644
--- a/templates/Sparkle/admin/admins/admins.tpl
+++ b/templates/Sparkle/admin/admins/admins.tpl
@@ -22,18 +22,18 @@ $header
-
+
|
- {$lng['customer']['name']} {$arrowcode['name']}
+ {$lng['customer']['name']}
|
- {$lng['login']['username']} {$arrowcode['loginname']}
+ {$lng['login']['username']}
|
{$lng['admin']['customers']} |
- |
- {$lng['panel']['options']} |
+ |
+ {$lng['panel']['options']} |
diff --git a/templates/Sparkle/admin/customers/customers.tpl b/templates/Sparkle/admin/customers/customers.tpl
index b97ce1f8..81c534e0 100644
--- a/templates/Sparkle/admin/customers/customers.tpl
+++ b/templates/Sparkle/admin/customers/customers.tpl
@@ -11,35 +11,40 @@ $header