From 01d966082c2a19ae27bad1c6a6a6e045657e27e7 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Wed, 5 Feb 2025 09:20:54 +0700 Subject: [PATCH] fix test wa email sms --- ui/ui/admin/settings/app.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/admin/settings/app.tpl b/ui/ui/admin/settings/app.tpl index c990038b..593a9f53 100644 --- a/ui/ui/admin/settings/app.tpl +++ b/ui/ui/admin/settings/app.tpl @@ -1253,14 +1253,14 @@ function testWa() { var target = prompt("Phone number\nSave First before Test", ""); if (target != null) { - window.location.href = '{$_url}settings/app&testWa=' + target; + window.location.href = '{Text::url('settings/app&testWa=')}' + target; } } function testSms() { var target = prompt("Phone number\nSave First before Test", ""); if (target != null) { - window.location.href = '{$_url}settings/app&testSms=' + target; + window.location.href = '{Text::url('settings/app&testSms=')}' + target; } } @@ -1268,12 +1268,12 @@ function testEmail() { var target = prompt("Email\nSave First before Test", ""); if (target != null) { - window.location.href = '{$_url}settings/app&testEmail=' + target; + window.location.href = '{Text::url('settings/app&testEmail=')}' + target; } } function testTg() { - window.location.href = '{$_url}settings/app&testTg=test'; + window.location.href = '{Text::url('settings/app&testTg=test')}'; }