From fc1cc5437807612636e394332123b1ca354889c6 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Fri, 5 Apr 2024 22:02:26 +0700
Subject: [PATCH 1/4] Update voucher.tpl
Fix unresponsive buttons on mobile phone display
---
ui/ui/voucher.tpl | 52 +++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/ui/ui/voucher.tpl b/ui/ui/voucher.tpl
index 5e3c7d35..7d9ebd6e 100644
--- a/ui/ui/voucher.tpl
+++ b/ui/ui/voucher.tpl
@@ -16,31 +16,31 @@
@@ -113,4 +113,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From 4c35e79a163ce0cf4f14af763ed9a97a65725ea5 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Fri, 5 Apr 2024 23:20:59 +0700
Subject: [PATCH 2/4] Update indonesia.json
Language improvements and additions
---
system/lan/indonesia.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/system/lan/indonesia.json b/system/lan/indonesia.json
index 50e10242..d9814f0d 100644
--- a/system/lan/indonesia.json
+++ b/system/lan/indonesia.json
@@ -141,7 +141,7 @@
"Manage_Administrator": "Kelola Administrator",
"Add_New_Administrator": "Tambahkan Administrator Baru",
"Localisation": "Lokalisasi",
- "Backup_Restore": "Cadangkan\/Pulihkan",
+ "Backup/Restore": "Cadangkan\/Pulihkan",
"General_Settings": "Pengaturan Umum",
"Date": "Tanggal",
"Login_Successful": "Berhasil Masuk",
@@ -426,5 +426,8 @@
"Select_Payment_Gateway": "Pilih Gerbang Pembayaran",
"Available_Payment_Gateway": "Gerbang Pembayaran yang Tersedia",
"Pay_Now": "Bayar sekarang",
- "Notes": "Catatan"
-}
\ No newline at end of file
+ "Notes": "Catatan",
+ "Clear Cache": "Bersihkan Sampah"
+ "Privacy Policy": "Kebijakan Privasi"
+ "Terms and Conditions": "Syarat dan Ketentuan"
+}
From 11c111805de30e1c4185ffec114c649496cc4923 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Fri, 5 Apr 2024 23:22:59 +0700
Subject: [PATCH 3/4] Update header.tpl
Additional Privacy and toc translations
---
ui/ui/sections/header.tpl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/ui/sections/header.tpl b/ui/ui/sections/header.tpl
index 4cec6a74..87a54991 100644
--- a/ui/ui/sections/header.tpl
+++ b/ui/ui/sections/header.tpl
@@ -312,9 +312,9 @@
{Lang::T('Registration Info')}
Privacy Policy
+ href="{$_url}pages/Privacy_Policy">{Lang::T('Privacy Policy')}
Terms and Conditions
+ href="{$_url}pages/Terms_and_Conditions">{Lang::T('Terms and Conditions')}
{$_MENU_PAGES}
@@ -419,4 +419,4 @@
}
});
-{/if}
\ No newline at end of file
+{/if}
From 1a40606720de1d79bbba9267f701158654e3a411 Mon Sep 17 00:00:00 2001
From: AGSTR <144728914+agstrxyz@users.noreply.github.com>
Date: Sun, 14 Apr 2024 06:40:47 +0700
Subject: [PATCH 4/4] Update cron.php
Fix auto renewal radius plan based
---
system/cron.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/cron.php b/system/cron.php
index b9ed0529..cb98500f 100644
--- a/system/cron.php
+++ b/system/cron.php
@@ -67,7 +67,7 @@ foreach ($d as $ds) {
}
}
if ($p && $p['enabled'] && $c['balance'] >= $p['price']) {
- if (Package::rechargeUser($ds['customer_id'], $p['routers'], $p['id'], 'Customer', 'Balance')) {
+ if (Package::rechargeUser($ds['customer_id'], $ds['routers'], $p['id'], 'Customer', 'Balance')) {
// if success, then get the balance
Balance::min($ds['customer_id'], $p['price']);
echo "plan enabled: $p[enabled] | User balance: $c[balance] | price $p[price]\n";