mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-24 12:54:31 +02:00
widget multiple section
This commit is contained in:
parent
5b9cdd6681
commit
693d7f4acf
5 changed files with 62 additions and 26 deletions
|
@ -105,6 +105,8 @@ if ($action == 'add') {
|
|||
r2(getUrl('widgets'), 's', 'Widget order Saved Successfully');
|
||||
} else {
|
||||
$widgets = ORM::for_table('tbl_widgets')->selects("position", 1)->order_by_asc("orders")->find_many();
|
||||
$max = ORM::for_table('tbl_widgets')->max('position');
|
||||
$ui->assign('widgets', $widgets);
|
||||
$ui->assign('max', $max);
|
||||
$ui->display('admin/settings/widgets.tpl');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue