123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * @file
- * Default theme implementation to display a page in the overlay.
- *
- * Available variables:
- * - $title: the (sanitized) title of the page.
- * - $page: The rendered page content.
- * - $tabs (array): Tabs linking to any sub-pages beneath the current page
- * (e.g., the view and edit tabs when displaying a node).
- *
- * Helper variables:
- * - $classes_array: Array of html class attribute values. It is flattened
- * into a string within the variable $classes.
- *
- * @see template_preprocess()
- * @see template_preprocess_overlay()
- * @see template_process()
- *
- * @ingroup themeable
- */
- ?>
- <?php print render($disable_overlay); ?>
- <div id="overlay" <?php print $attributes; ?>>
- <div id="overlay-titlebar" class="clearfix">
- <div id="overlay-title-wrapper" class="clearfix">
- <h1 id="overlay-title"<?php print $title_attributes; ?>><?php print $title; ?></h1>
- </div>
- <div id="overlay-close-wrapper">
- <a id="overlay-close" href="#" class="overlay-close"><span class="element-invisible"><?php print t('Close overlay'); ?></span></a>
- </div>
- <?php if ($tabs): ?><h2 class="element-invisible"><?php print t('Primary tabs'); ?></h2><ul id="overlay-tabs"><?php print render($tabs); ?></ul><?php endif; ?>
- </div>
- <div id="overlay-content"<?php print $content_attributes; ?>>
- <?php print $page; ?>
- </div>
- </div>
|