Fix Title for PPPOE plans

This commit is contained in:
Ibnu Maksum 2023-07-21 09:14:56 +07:00
parent 5e474e4bf7
commit 39d3c683bc
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
3 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,7 @@
- Add email field to registration form - Add email field to registration form
- Change registration design Form - Change registration design Form
- Add Setting to disable Voucher - Add Setting to disable Voucher
- Fix Title for PPPOE plans
## 2023.6.20 ## 2023.6.20
- Hide time for Created date. - Hide time for Created date.

View File

@ -238,6 +238,7 @@ switch ($action) {
break; break;
case 'pppoe': case 'pppoe':
$ui->assign('_title', $_L['PPPOE_Plans']);
$ui->assign('xfooter', '<script type="text/javascript" src="ui/lib/c/pppoe.js"></script>'); $ui->assign('xfooter', '<script type="text/javascript" src="ui/lib/c/pppoe.js"></script>');
$name = _post('name'); $name = _post('name');
@ -256,6 +257,7 @@ switch ($action) {
break; break;
case 'pppoe-add': case 'pppoe-add':
$ui->assign('_title', $_L['PPPOE_Plans']);
$d = ORM::for_table('tbl_bandwidth')->find_many(); $d = ORM::for_table('tbl_bandwidth')->find_many();
$ui->assign('d', $d); $ui->assign('d', $d);
$p = ORM::for_table('tbl_pool')->find_many(); $p = ORM::for_table('tbl_pool')->find_many();
@ -267,6 +269,7 @@ switch ($action) {
break; break;
case 'pppoe-edit': case 'pppoe-edit':
$ui->assign('_title', $_L['PPPOE_Plans']);
$id = $routes['2']; $id = $routes['2'];
$d = ORM::for_table('tbl_plans')->find_one($id); $d = ORM::for_table('tbl_plans')->find_one($id);
if ($d) { if ($d) {

View File

@ -329,6 +329,6 @@ $_L['You_are_Online_Logout'] = 'You are Online, Logout?';
$_L['Connect_to_Internet'] = 'Connect to Internet?'; $_L['Connect_to_Internet'] = 'Connect to Internet?';
$_L['Your_account_not_connected_to_internet'] = 'Your account not connected 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_create_transaction_'] = 'Failed to create transaction. ';
$_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; $_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. ';
$_L['Disable_Voucher'] = 'Disable Voucher'; $_L['Disable_Voucher'] = 'Disable Voucher';