From 39d3c683bc7bef8cf6c58d6ae8cb5a82da5db14c Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 21 Jul 2023 09:14:56 +0700 Subject: [PATCH] Fix Title for PPPOE plans --- CHANGELOG.md | 1 + system/controllers/services.php | 3 +++ system/lan/english/common.lan.php | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c32f1d1..015de9d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Add email field to registration form - Change registration design Form - Add Setting to disable Voucher +- Fix Title for PPPOE plans ## 2023.6.20 - Hide time for Created date. diff --git a/system/controllers/services.php b/system/controllers/services.php index 35137f82..7621a535 100644 --- a/system/controllers/services.php +++ b/system/controllers/services.php @@ -238,6 +238,7 @@ switch ($action) { break; case 'pppoe': + $ui->assign('_title', $_L['PPPOE_Plans']); $ui->assign('xfooter', ''); $name = _post('name'); @@ -256,6 +257,7 @@ switch ($action) { break; case 'pppoe-add': + $ui->assign('_title', $_L['PPPOE_Plans']); $d = ORM::for_table('tbl_bandwidth')->find_many(); $ui->assign('d', $d); $p = ORM::for_table('tbl_pool')->find_many(); @@ -267,6 +269,7 @@ switch ($action) { break; case 'pppoe-edit': + $ui->assign('_title', $_L['PPPOE_Plans']); $id = $routes['2']; $d = ORM::for_table('tbl_plans')->find_one($id); if ($d) { diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php index 73f54b21..a72756a0 100644 --- a/system/lan/english/common.lan.php +++ b/system/lan/english/common.lan.php @@ -329,6 +329,6 @@ $_L['You_are_Online_Logout'] = 'You are Online, Logout?'; $_L['Connect_to_Internet'] = 'Connect to Internet?'; $_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; -$_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; -$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; -$_L['Disable_Voucher'] = 'Disable Voucher'; +$_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; +$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; +$_L['Disable_Voucher'] = 'Disable Voucher';