pane-messages.tpl.php in Panels Everywhere 6
Same filename and directory in other branches
Theme implementation to display the messages area, which is normally included roughly in the content area of a page.
This utilizes the following variables thata re normally found in page.tpl.php:
- $tabs
- $messages
- $help
Additional items can be added via theme_preprocess_pane_messages(). See template_preprocess_pane_messages() for examples.
1 theme call to pane-messages.tpl.php
- panels_everywhere_pane_messages_content_type_render in plugins/
content_types/ pane_messages.inc - Output function for the 'pane_tabs' content type.
File
theme/pane-messages.tpl.phpView source
<?php
/**
* @file
*
* Theme implementation to display the messages area, which is normally
* included roughly in the content area of a page.
*
* This utilizes the following variables thata re normally found in
* page.tpl.php:
* - $tabs
* - $messages
* - $help
*
* Additional items can be added via theme_preprocess_pane_messages(). See
* template_preprocess_pane_messages() for examples.
*/
if (!empty($tabs)) {
?>
<div class="tabs"><?php
print $tabs;
?></div>
<?php
}
if (!empty($messages)) {
print $messages;
}
if (!empty($help)) {
print $help;
}