mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
- Added navigation.php in application/config to configure menus used by NavigationWidget
- Addded controller system/Navigation to retrive menus via ajax - Renamed method _setNavigationMenuArray to setNavigationMenuArray and set as public in system/infocenter/InfoCenter - Now the InfoCenter menu is stored in the session - The menu is generated by the widget NavigationWidget via JS - No need anymore to give as parameters to the views the menu arrays
This commit is contained in:
@@ -5,14 +5,11 @@
|
||||
*/
|
||||
class NavigationWidget extends Widget
|
||||
{
|
||||
const NAVIGATION_HEADER = 'navigationHeader'; //
|
||||
const NAVIGATION_MENU = 'navigationMenu'; //
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function display($widgetData)
|
||||
{
|
||||
$this->view('widgets/navigation', array('widgetData' => $widgetData));
|
||||
$this->view('widgets/navigation');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user