MantisBT: master 7d0f5b9b

Author Committer Branch Timestamp Parent
dregad dregad master 2019-07-31 16:53 master 0697951d
Changeset

New generic print_menu() API function

Prior to this, the code to generate menus was duplicated in several HTML
API functions:

  • print_manage_menu()
  • print_account_menu
  • print_doc_menu
  • print_summary_menu

This commit moves the logic in a new print_menu() function, called by
the above.

Another new function plugin_menu_items() takes care of retrieving
plugin-defined menu items for a given event.

mod - core/html_api.php Diff File
mod - core/plugin_api.php Diff File