From 5ae4dde522312efa2773b964ac65e515dfb9db93 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:23:14 +0700 Subject: [PATCH 01/16] Update hotspot-edit.tpl --- ui/ui/hotspot-edit.tpl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl index 75de4635..1100e4aa 100644 --- a/ui/ui/hotspot-edit.tpl +++ b/ui/ui/hotspot-edit.tpl @@ -15,8 +15,8 @@ data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?
- Enable - Disable + {Lang::T('Enable')} + {Lang::T('Disable')}
@@ -28,9 +28,9 @@
- Prepaid + {Lang::T('Prepaid')} Postpaid + {if $d['prepaid'] == 'no'}checked{/if}> {Lang::T('Postpaid')}
@@ -42,9 +42,9 @@
- Personal + {Lang::T('Personal')} Business + {if $d['plan_type'] == 'Business'}checked{/if}> {Lang::T('Business')}
{if $_c['radius_enable'] and $d['is_radius']} @@ -234,7 +234,7 @@
-
on-logout / on-down
+
{Lang::T('on-logout / on-down')}
@@ -333,4 +333,4 @@ }); -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From fa27ccf5cac8589f51e818d471df08cef12b0dc3 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:31:18 +0700 Subject: [PATCH 02/16] Update orderBalance.tpl --- ui/ui/user-ui/orderBalance.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/user-ui/orderBalance.tpl b/ui/ui/user-ui/orderBalance.tpl index d7f5edc9..d68316ae 100644 --- a/ui/ui/user-ui/orderBalance.tpl +++ b/ui/ui/user-ui/orderBalance.tpl @@ -23,7 +23,7 @@
Buy + class="btn btn-sm btn-block btn-primary">{Lang::T('Buy')}
@@ -34,4 +34,4 @@ -{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="user-ui/footer.tpl"} From e4c8be2c16c2a50fa30726bb73e07040d035510e Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:35:07 +0700 Subject: [PATCH 03/16] Update orderPlan.tpl --- ui/ui/user-ui/orderPlan.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/ui/user-ui/orderPlan.tpl b/ui/ui/user-ui/orderPlan.tpl index 74dda812..bb435c1c 100644 --- a/ui/ui/user-ui/orderPlan.tpl +++ b/ui/ui/user-ui/orderPlan.tpl @@ -39,7 +39,7 @@
Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']} Buy + class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="user-ui/footer.tpl"} From 49f3c1a1419cfe45c7e7a3734c17a98b48dd8b2c Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:40:17 +0700 Subject: [PATCH 04/16] Update selectGateway.tpl --- ui/ui/user-ui/selectGateway.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/user-ui/selectGateway.tpl b/ui/ui/user-ui/selectGateway.tpl index 621fdb24..aa61a529 100644 --- a/ui/ui/user-ui/selectGateway.tpl +++ b/ui/ui/user-ui/selectGateway.tpl @@ -15,7 +15,7 @@ @@ -66,4 +66,4 @@ -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From d0b60d5e7d482326728850b3a48fd2f16638025f Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:48:29 +0700 Subject: [PATCH 06/16] Update logs.tpl --- ui/ui/logs.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/logs.tpl b/ui/ui/logs.tpl index c43864db..3aba4804 100644 --- a/ui/ui/logs.tpl +++ b/ui/ui/logs.tpl @@ -32,12 +32,12 @@
- Keep Logs + {Lang::T('Keep Logs')} - Days + {Lang::T('Days')}
+ onclick="return confirm('Clear old logs?')">{Lang::T('Clean Logs')}
  @@ -63,4 +63,4 @@ -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From c41fe7435fdddf21f63adb57dbe0c82f9edc494e Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:54:22 +0700 Subject: [PATCH 07/16] Update message-bulk.tpl --- ui/ui/message-bulk.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/ui/message-bulk.tpl b/ui/ui/message-bulk.tpl index e28230ce..3dc59c12 100644 --- a/ui/ui/message-bulk.tpl +++ b/ui/ui/message-bulk.tpl @@ -90,24 +90,24 @@ {if $batchStatus} -

Total SMS Sent: {$totalSMSSent} Total SMS - Failed: {$totalSMSFailed} Total WhatsApp Sent: - {$totalWhatsappSent} Total WhatsApp Failed: +

{Lang::T('Total SMS Sent')}: {$totalSMSSent} {Lang::T('Total SMS + Failed')}: {$totalSMSFailed} {Lang::T('Total WhatsApp Sent')}: + {$totalWhatsappSent} {Lang::T('Total WhatsApp Failed')}: {$totalWhatsappFailed}

{/if}
-

Message Results

+

{Lang::T('Message Results')}

- - - - + + + + @@ -139,4 +139,4 @@ -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 1d4eff11baeac8d21660dbf8130fbd0a9233c3fd Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:58:09 +0700 Subject: [PATCH 08/16] Update paymentgateway-audit-view.tpl --- ui/ui/paymentgateway-audit-view.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/paymentgateway-audit-view.tpl b/ui/ui/paymentgateway-audit-view.tpl index a72838a7..77bfd923 100644 --- a/ui/ui/paymentgateway-audit-view.tpl +++ b/ui/ui/paymentgateway-audit-view.tpl @@ -10,7 +10,7 @@
  • - TRX ID  {$pg['id']}  + {Lang::T('TRX ID')}  {$pg['id']} 
  • {Lang::T('Invoice')}   @@ -65,7 +65,7 @@
    - Response when request payment + {Lang::T('Response when request payment')}
NamePhoneMessageStatus{Lang::T('Name')}{Lang::T('Phone')}{Lang::T('Message')}{Lang::T('Status')}
@@ -80,7 +80,7 @@
- Response when payment PAID + {Lang::T('Response when payment PAID')}
@@ -94,4 +94,4 @@ -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 34ea48fd7d3bce17df3af7409d9c77e7d13df3a8 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:00:19 +0700 Subject: [PATCH 09/16] Update paymentgateway-audit.tpl --- ui/ui/paymentgateway-audit.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/ui/paymentgateway-audit.tpl b/ui/ui/paymentgateway-audit.tpl index e10de7d3..08d49722 100644 --- a/ui/ui/paymentgateway-audit.tpl +++ b/ui/ui/paymentgateway-audit.tpl @@ -17,8 +17,8 @@
- - + + @@ -46,7 +46,7 @@ @@ -63,8 +63,8 @@
TRX IDPG ID{Lang::T('TRX ID')}{Lang::T('PG ID')} {Lang::T('Username')} {Lang::T('Plan Name')} {Lang::T('Routers')} {if $pg['pg_url_payment']} open + rel="noopener noreferrer">{Lang::T('open')} {/if} {$pg['payment_method']} - {$pg['payment_channel']}
{include file="pagination.tpl"} -
kembali + {Lang::T('back')}
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From ee7aa609796d3d8f0b40860df4d537b5bac083fc Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:08:05 +0700 Subject: [PATCH 10/16] Update plugin-manager.tpl --- ui/ui/plugin-manager.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/ui/plugin-manager.tpl b/ui/ui/plugin-manager.tpl index 3a3e20d5..4a4f48c9 100644 --- a/ui/ui/plugin-manager.tpl +++ b/ui/ui/plugin-manager.tpl @@ -1,8 +1,8 @@ {include file="sections/header.tpl"} {if empty($_c['github_token'])} -

To download from private/paid repository, Set - your Github Authentication first

+

{Lang::T('To download from private/paid repository')}, + {Lang::T('Set your Github Authentication first')}

{/if}
- +
@@ -31,7 +31,7 @@

- +
@@ -41,10 +41,10 @@
@@ -61,7 +61,7 @@
{$plugin['description']}
- {if $_c['radius_enable']} -

For Radius, you need to add Pool Name in Mikrotik manually

+

{Lang::T('For Radius, you need to add')} Pool {Lang::T('Name')} {Lang::T('in Mikrotik manually')}

{/if} From aeeb9a2b63ed9712f42659ceeda96c58ba51dc9c Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:13:33 +0700 Subject: [PATCH 12/16] Update pool-edit.tpl --- ui/ui/pool-edit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui/pool-edit.tpl b/ui/ui/pool-edit.tpl index 38673927..6e0f722f 100644 --- a/ui/ui/pool-edit.tpl +++ b/ui/ui/pool-edit.tpl @@ -32,7 +32,7 @@ {if $_c['radius_enable']} -

{Lang::T('For Radius, you need to add')} Pool {Lang::T('Name')} {Lang::T('in Mikrotik manually')}

+

{Lang::T('For Radius, you need to add')} {Lang::T('Name')} Pool {Lang::T('in Mikrotik manually')}

{/if} From 1801b5b43655a8d4d5e8716d8c9f1ee0acdffa2f Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:19:34 +0700 Subject: [PATCH 13/16] Update pool.tpl --- ui/ui/pool.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/ui/pool.tpl b/ui/ui/pool.tpl index 3d537b81..f40708b4 100644 --- a/ui/ui/pool.tpl +++ b/ui/ui/pool.tpl @@ -65,12 +65,12 @@ {include file="pagination.tpl"}
-

Create expired Internet Plan

-

When customer expired, you can move it to Expired Internet Plan

+

{Lang::T('Create expired Internet Plan')}

+

{Lang::T('When customer expired, you can move it to Expired Internet Plan')}

-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 7643b24f312c687ab28d0c90e08f126305b68d79 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:21:49 +0700 Subject: [PATCH 14/16] Update pppoe-add.tpl --- ui/ui/pppoe-add.tpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/ui/pppoe-add.tpl b/ui/ui/pppoe-add.tpl index 9403da6a..1c5d54d0 100644 --- a/ui/ui/pppoe-add.tpl +++ b/ui/ui/pppoe-add.tpl @@ -13,8 +13,8 @@ data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?
- Enable - Disable + {Lang::T('Enable')} + {Lang::T('Disable')}
@@ -24,8 +24,8 @@ data-content="Postpaid will have fix expired date">?
- Prepaid - Postpaid + {Lang::T('Prepaid')} + {Lang::T('Postpaid')}
@@ -35,8 +35,8 @@ data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?
- Personal - Business + {Lang::T('Personal')} + {Lang::T('Business')}
{if $_c['radius_enable']} @@ -198,4 +198,4 @@ {/literal} {/if} -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From a96f808318325bf8a58f8e381d67ba6342d5e017 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:26:43 +0700 Subject: [PATCH 15/16] Update pppoe-edit.tpl --- ui/ui/pppoe-edit.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/ui/pppoe-edit.tpl b/ui/ui/pppoe-edit.tpl index b737dea5..448b9b6b 100644 --- a/ui/ui/pppoe-edit.tpl +++ b/ui/ui/pppoe-edit.tpl @@ -14,8 +14,8 @@ data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?
- Enable - Disable + {Lang::T('Enable')} + {Lang::T('Disable')}
@@ -27,9 +27,9 @@
- Prepaid + {Lang::T('Prepaid')} Postpaid + {if $d['prepaid'] == 'no'}checked{/if}> {Lang::T('Postpaid')}
@@ -41,9 +41,9 @@
- Personal + {Lang::T('Personal')} Business + {if $d['plan_type'] == 'Business'}checked{/if}> {Lang::T('Business')}
{if $_c['radius_enable'] and $d['is_radius']} @@ -187,14 +187,14 @@ {if !$d['is_radius']}
-
on-login / on-up
+
{Lang::T('on-login / on-up')}
-
on-logout / on-down
+
{Lang::T('on-logout / on-down')}
@@ -252,4 +252,4 @@ }); -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 75907d5c3f887383b34cedb7364c3bfc692a7834 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:30:08 +0700 Subject: [PATCH 16/16] Update pppoe.tpl --- ui/ui/pppoe.tpl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl index a35904e0..dc1da881 100644 --- a/ui/ui/pppoe.tpl +++ b/ui/ui/pppoe.tpl @@ -26,9 +26,9 @@
@@ -88,8 +88,8 @@
@@ -133,13 +133,13 @@ {foreach $d as $ds} {$ds['name_plan']} - {$ds['plan_type']} {if $ds['prepaid'] != 'yes'}Postpaid{else}Prepaid{/if} + {$ds['plan_type']} {if $ds['prepaid'] != 'yes'}{Lang::T('Postpaid')}{else}{Lang::T('Prepaid')}{/if} {$ds['name_bw']} {Lang::moneyFormat($ds['price'])} {$ds['validity']} {$ds['validity_unit']} {$ds['pool']} {if $ds['plan_expired']}Yes{else}No + href="{$_url}services/edit/{$ds['plan_expired']}">{Lang::T('Yes')}{else}{Lang::T('No')} {/if} {if $ds['prepaid'] == no}{$ds['expired_date']}{/if} @@ -168,12 +168,12 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"}