You are here

dialog-content.tpl.php in Dialog 6

dialog-content.tpl.php

Theme implementation to display the content section of a dialog.

Available variables:

  • $help: Dynamic help text.
  • $messages: HTML for status and error messages. Should be displayed prominently.
  • $content: The main content of the current dialog.

File

dialog-content.tpl.php
View source
<?php

/**
 * @file dialog-content.tpl.php
 *
 * Theme implementation to display the content section of a dialog.
 *
 * Available variables:
 *
 * - $help: Dynamic help text.
 * - $messages: HTML for status and error messages. Should be displayed prominently.
 * - $content: The main content of the current dialog.
 *
 * @see template_preprocess_dialog_content()
 */
?>

<?php

if (!empty($messages)) {
  print $messages;
}
if (!empty($help)) {
  print $help;
}
?>

<?php

print $content;