diff --git a/README.md b/README.md index 003d9d8..5d130cc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -> 🪞 **Repositori utama:** [Gitea](https://gitea.oxpoe.xyz/oxpoe/open-isp). — rilis & unduhan ada di sana. GitHub hanya cermin kode. +> 🪞 **Repositori utama:** [Gitea](https://gitea.oxpoe.xyz/oxpoe/open-isp) — rilis & unduhan ada di sana. **Forgejo** (forgejo.oxpoe.xyz) hanya **mirror read-only**.

OPEN-ISP diff --git a/app-customer.js b/app-customer.js index 91e55eb..465fe86 100644 --- a/app-customer.js +++ b/app-customer.js @@ -1973,13 +1973,8 @@ function ensureDonationOrderQrisUnique(baseAmount, donorPhone, donorName, notes) // Halaman Publik Donasi QRIS Statis app.get(['/donasi', '/donate', '/public/donasi'], (req, res) => { - const settings = getSettingsWithCache(); - res.render('donate', { - settings, - company: settings.company_header || 'OPEN-ISP', - lang: req.session?.lang || 'id', - t: res.locals.t || ((k, d) => d) - }); + // Halaman dukungan dialihkan ke situs eksternal agar bisa dikustomisasi. + return res.redirect(302, 'https://oxpoe.xyz'); }); // Endpoint Buat Pesanan Donasi dengan Kode Unik diff --git a/locales/en.json b/locales/en.json index 17607f6..f769be1 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1283,20 +1283,20 @@ "st_visible": "Visible", "st_hidden": "Hide", "st_locked": "Lock", - "pass_label": "Activation Code (Free)", - "pass_ph": "Enter the activation password before saving", - "pass_hint": "Sidebar menu status changes are saved only if the activation password is correct.", - "no_pass": "No activation code yet?", - "get_donation": "Get a FREE activation code on the OPEN-ISP Support page", - "or_contact": "or contact", + "pass_label": "Menu activation", + "pass_ph": "Not required", + "pass_hint": "Not required.", + "no_pass": "Menus can be shown/hidden from this page.", + "get_donation": "Support OPEN-ISP development", + "or_contact": "", "donation_page": "Free Activation Code (OPEN-ISP Support)", "save": "Save Sidebar Settings", "only_admin": "Only the main admin can change sidebar menu status.", "notes": "Notes", - "note_lock": "If a Locked menu is clicked from the sidebar, the system shows how to get a FREE activation code or contact", + "note_lock": "A locked menu stays closed until enabled from this page.", "note1": "Hidden status removes the menu from the sidebar and denies direct URL access.", "note2": "Locked status keeps the menu visible but cannot be opened until changed on this page.", - "note3": "Menu status changes can only be saved after entering the correct activation password." + "note3": "" }, "acsdev": { "title": "Device Detail", diff --git a/locales/id.json b/locales/id.json index b32a5a6..2b2a9d7 100644 --- a/locales/id.json +++ b/locales/id.json @@ -1283,20 +1283,20 @@ "st_visible": "Tampil", "st_hidden": "Sembunyikan", "st_locked": "Kunci", - "pass_label": "Kode Aktivasi (Gratis)", - "pass_ph": "Masukkan password aktivasi sebelum menyimpan", - "pass_hint": "Perubahan status menu sidebar hanya akan disimpan jika password aktivasi benar.", - "no_pass": "Belum punya kode aktivasi?", - "get_donation": "Dapatkan kode aktivasi GRATIS di halaman Dukungan OPEN-ISP", - "or_contact": "atau hubungi", + "pass_label": "Aktivasi menu", + "pass_ph": "Tidak diperlukan", + "pass_hint": "Tidak diperlukan.", + "no_pass": "Menu bisa ditampilkan/disembunyikan dari halaman ini.", + "get_donation": "Dukung pengembangan OPEN-ISP", + "or_contact": "", "donation_page": "Kode Aktivasi Gratis (Dukungan OPEN-ISP)", "save": "Simpan Pengaturan Sidebar", "only_admin": "Hanya admin utama yang dapat mengubah status menu sidebar.", "notes": "Catatan", - "note_lock": "Jika menu berstatus Kunci diklik dari sidebar, sistem menampilkan cara mengambil kode aktivasi GRATIS atau menghubungi", + "note_lock": "Menu berstatus Kunci tidak dapat dibuka sampai diaktifkan.", "note1": "Status Sembunyikan akan menghilangkan menu dari sidebar dan menolak akses URL langsung.", "note2": "Status Kunci tetap menampilkan menu, tetapi tidak bisa dibuka sampai statusnya diubah di halaman ini.", - "note3": "Perubahan status menu hanya dapat disimpan setelah memasukkan password aktivasi yang benar." + "note3": "" }, "acsdev": { "title": "Detail Perangkat", diff --git a/scripts/test-admin.js b/scripts/test-admin.js index 2642aa3..a113cea 100644 --- a/scripts/test-admin.js +++ b/scripts/test-admin.js @@ -48,7 +48,7 @@ function testIsAdminNumber(number) { // Test beberapa nomor const testNumbers = [ '6281947215703', - '081947215703', + '083807665697', '082218094778', '081234567890' // Nomor test yang bukan admin