diff --git a/ui/ui/balance.tpl b/ui/ui/balance.tpl index 63858031..59c91038 100644 --- a/ui/ui/balance.tpl +++ b/ui/ui/balance.tpl @@ -39,7 +39,7 @@ {Lang::moneyFormat($ds['price'])} {Lang::T('Edit')} - {Lang::T('Delete')} + {/foreach} diff --git a/ui/ui/bandwidth.tpl b/ui/ui/bandwidth.tpl index cda79b08..86c1edd4 100644 --- a/ui/ui/bandwidth.tpl +++ b/ui/ui/bandwidth.tpl @@ -41,7 +41,7 @@ {$ds['rate_up']} {$ds['rate_up_unit']} {Lang::T('Edit')} - {Lang::T('Delete')} + {/foreach} diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl index 6e684ef6..f827d875 100644 --- a/ui/ui/hotspot.tpl +++ b/ui/ui/hotspot.tpl @@ -73,7 +73,7 @@ class="btn btn-info btn-xs">{Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/pool.tpl b/ui/ui/pool.tpl index c15e8e9e..da90b528 100644 --- a/ui/ui/pool.tpl +++ b/ui/ui/pool.tpl @@ -55,7 +55,7 @@ {Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl index 6ce4c46c..b2f8e289 100644 --- a/ui/ui/pppoe.tpl +++ b/ui/ui/pppoe.tpl @@ -68,7 +68,7 @@ class="btn btn-info btn-xs">{Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/prepaid.tpl b/ui/ui/prepaid.tpl index 379ddd49..541fc1a5 100644 --- a/ui/ui/prepaid.tpl +++ b/ui/ui/prepaid.tpl @@ -65,7 +65,7 @@ class="btn btn-warning btn-xs">{Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/radius-nas.tpl b/ui/ui/radius-nas.tpl index 9e2b6cc8..d7c2b4b5 100644 --- a/ui/ui/radius-nas.tpl +++ b/ui/ui/radius-nas.tpl @@ -57,7 +57,7 @@ {Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/routers.tpl b/ui/ui/routers.tpl index b01af175..f34d820c 100644 --- a/ui/ui/routers.tpl +++ b/ui/ui/routers.tpl @@ -54,7 +54,7 @@ class="btn btn-info btn-xs">{Lang::T('Edit')} {Lang::T('Delete')} + class="btn btn-danger btn-xs"> {/foreach} diff --git a/ui/ui/sections/header.tpl b/ui/ui/sections/header.tpl index 631da4b0..50c3a604 100644 --- a/ui/ui/sections/header.tpl +++ b/ui/ui/sections/header.tpl @@ -260,23 +260,29 @@ {$_MENU_AFTER_PAGES} -
  • - - {Lang::T('Settings')} - - - - - +
  • + {if in_array($_admin['user_type'],['SuperAdmin','Admin'])} {$_MENU_AFTER_SETTINGS}
  • @@ -313,14 +321,14 @@ {$_MENU_LOGS}
  • - {$_MENU_AFTER_LOGS} -
  • - - - {Lang::T('Community')} - -
  • {/if} + {$_MENU_AFTER_LOGS} +
  • + + + {Lang::T('Community')} + +
  • diff --git a/ui/ui/users.tpl b/ui/ui/users.tpl index a4cd2096..b60a5190 100644 --- a/ui/ui/users.tpl +++ b/ui/ui/users.tpl @@ -54,10 +54,10 @@ {Lang::dateTimeFormat($ds['last_login'])} {Lang::T('Edit')} + class="btn btn-info btn-xs">{Lang::T('Edit')} {if ($_admin['username']) neq ($ds['username'])} {Lang::T('Delete')} + class="btn btn-danger btn-xs" onclick="return confirm('{Lang::T('Delete')}?')"> {/if} diff --git a/ui/ui/voucher.tpl b/ui/ui/voucher.tpl index f58cdfc5..acc80633 100644 --- a/ui/ui/voucher.tpl +++ b/ui/ui/voucher.tpl @@ -71,7 +71,7 @@ {Lang::T('Delete')} + onclick="return confirm('{Lang::T('Delete')}?')"> {/foreach}