mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 05:07:49 +02:00
Menu Plugin: small improvments
This commit is contained in:
@@ -166,12 +166,9 @@
|
|||||||
$menu->delete((int)Request::get('delete_item'));
|
$menu->delete((int)Request::get('delete_item'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Select all items
|
|
||||||
$items = $menu->select(null, 'all', null, array('id', 'name', 'link', 'target', 'order'), 'order', 'ASC');
|
|
||||||
|
|
||||||
// Display view
|
// Display view
|
||||||
View::factory('box/menu/views/backend/index')
|
View::factory('box/menu/views/backend/index')
|
||||||
->assign('items', $items)
|
->assign('items', $menu->select(null, 'all', null, array('id', 'name', 'link', 'target', 'order'), 'order', 'ASC');)
|
||||||
->display();
|
->display();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user