EVENT_LAYOUT_RESOURCES (Output)
This event allows plugins to output HTML code from inside the<head>
tag, for use with CSS, Javascript, RSS, or any other similar resources. Note that this event is signaled after all other CSS and Javascript resources are linked by MantisBT.Return Value
<String>: HTML code to output.
EVENT_LAYOUT_BODY_BEGIN (Output)
This event allows plugins to output HTML code immediately after the<body>
tag is opened, so that MantisBT may be integrated within another website's template, or other similar use.Return Value
<String>: HTML code to output.
EVENT_LAYOUT_PAGE_HEADER (Output)
This event allows plugins to output HTML code immediately after the MantisBT header content, such as the logo image.Return Value
<String>: HTML code to output.
EVENT_LAYOUT_CONTENT_BEGIN (Output)
This event allows plugins to output HTML code after the top main menu, but before any page-specific content begins.Return Value
<String>: HTML code to output.
EVENT_LAYOUT_CONTENT_END (Output)
This event allows plugins to output HTML code after any page- specific content has completed, but before the bottom menu bar (or footer).Return Value
<String>: HTML code to output.
EVENT_LAYOUT_PAGE_FOOTER (Output)
This event allows plugins to output HTML code after the MantisBT version, copyright, and webmaster information, but before the query information.Return Value
<String>: HTML code to output.
EVENT_LAYOUT_BODY_END (Output)
This event allows plugins to output HTML code immediately before the</body>
end tag, to so that MantisBT may be integrated within another website's template, or other similar use.Return Value
<String>: HTML code to output.
EVENT_VIEW_BUG_ATTACHMENT (Output)
This event allows plugins to output HTML code immediately after the line of an attachment. Receives the attachment data as a parameter, in the form of an attachment array from within the array returned by thefile_get_visible_attachments()
function.Parameters
<Array>: the attachment data as an array (seecore/file_api.php
)Return Value
<String>: HTML code to output.