MantisBT: master edb40eab

Author Committer Branch Timestamp Parent
dregad dregad master 2020-04-18 06:41:44 master 55833c9d
Affected Issues  0026887: Project Menu Bar does not indent subprojects properly
 0026888: Refactor printing of project selection menus

Function to display formatted project selection links

New project_link_for_menu() function added to Project API, to avoid code
duplication when displaying project selection links in the navbar menu
and the project menu bar.

Handles the indentation logic based on the subproject's level in the
hierarchy, selection of the active project as well as context-specific
formatting ($p_class parameter).

Fixes 0026887, 0026888

mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/project_api.php Diff File