mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 04:39:28 +00:00
7a9eda3912
- Method _setNavigationMenuFreigegeben of system/infocenter/InfoCenter controller now generate only the menu entry "Home" - Added new const CUSTOM_MENU to FiltersLib to represent new FilterWidget parameter to specify if the menu for this filter is custom - Added new consts NAV_MENU_FILTER_KEY, NAV_MENU_FILTER_NAME, NAV_MENU_CUSTOM_FILTER_KEY and NAV_MENU_CUSTOM_FILTER_NAME to FiltersLib as name and array keys of the filters menu array - Added new const NAVIGATION_PAGE to FiltersLib which represents the navigation page parameter name - Added new public method generateFilterMenu to FiltersLib to generate the filters menu structure array and stores it into the session - Fixed methods setElementSessionMenu and setElementSessionHeader in NavigationLib - Added new public method getFiltersByAppDatasetName to Filters_model to load all filters by their app and dataset_name - Added new private property _customMenu to FilterWidget - If _customMenu is NOT true then the new private method _setFilterMenu is called - View infocenter/infocenterData.php: arranged the code differently and set customMenu as true - View infocenter/infocenterFreigegebenData.php: arranged the code differently - Added new global function refreshSideMenuHook to FilterWidget.js - Renamed private method _getNavigationWidgetCalled to getNavigationPage in NavigationWidget.js - Method refreshSideMenuHook of NavigationWidget.js now can accept parameters to give them to the ajax call - In infocenterPersonDataset.js the function refreshSideMenuHook is declared only if the page is the index page