summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2014-01-29 15:00:00 (GMT)
committerTorsten Grote <grote@kolabsys.com>2014-01-29 15:00:00 (GMT)
commitd9e4a0f1b5f45b2e3fed0908a69dad264d40b15b (patch)
tree76d774e7d2ce4ba7c0754c590a6b730b6f6ceed9 /kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php
parent5145fb6b6b03f545d7b82db89850dac1b3b49d78 (diff)
downloadkolab.org-www-d9e4a0f1b5f45b2e3fed0908a69dad264d40b15b.tar.gz
add new drupal version
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php b/kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php
new file mode 100644
index 0000000..df86337
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/overlay/overlay.tpl.php
@@ -0,0 +1,39 @@
+<?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>