MantisBT: master 2ebef4ea

Author Committer Branch Timestamp Parent
dregad dregad master 2025-03-05 12:56 master c076bc56
Affected Issues  0021113: EVENT_LAYOUT_PAGE_HEADER no longer available
 0022098: Setting bottom_include_page does not include specified file
 0022250: It would be nice to remove the useless spaces in the footer
 0035402: Footer has the wrong size
Changeset

Restore included pages functionality

  • Restored working of top_include_page and bottom_include_page options.
  • Restored generation of EVENT_LAYOUT_PAGE_HEADER event.
  • Added dynamic footer resizing.

The top_include_page file is included within the navbar element, which
is fixed at the top of the page; the bottom_include_page file is
included within an existing footer or as a footer itself (on login
pages), which is also fixed at the bottom of the page. Because of this,
the include template must contain, for example, a div element with a
solid background.

Fixes 0035402, 0022250, 0022098, 0021113
PR https://github.com/mantisbt/mantisbt/pull/2102

mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File
mod - css/ace-mantis.css Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File
mod - js/common.js Diff File