Fix Title for PPPOE plans

This commit is contained in:
Ibnu Maksum
2023-07-21 09:14:56 +07:00
parent 5e474e4bf7
commit 39d3c683bc
3 changed files with 7 additions and 3 deletions

View File

@ -238,6 +238,7 @@ switch ($action) {
break;
case 'pppoe':
$ui->assign('_title', $_L['PPPOE_Plans']);
$ui->assign('xfooter', '<script type="text/javascript" src="ui/lib/c/pppoe.js"></script>');
$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) {