cms/drupal/modules/overlay/overlay.tpl.php
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * @file
       
     5  * Default theme implementation to display a page in the overlay.
       
     6  *
       
     7  * Available variables:
       
     8  * - $title: the (sanitized) title of the page.
       
     9  * - $page: The rendered page content.
       
    10  * - $tabs (array): Tabs linking to any sub-pages beneath the current page
       
    11  *   (e.g., the view and edit tabs when displaying a node).
       
    12  *
       
    13  * Helper variables:
       
    14  * - $classes_array: Array of html class attribute values. It is flattened
       
    15  *   into a string within the variable $classes.
       
    16  *
       
    17  * @see template_preprocess()
       
    18  * @see template_preprocess_overlay()
       
    19  * @see template_process()
       
    20  *
       
    21  * @ingroup themeable
       
    22  */
       
    23 ?>
       
    24 
       
    25 <?php print render($disable_overlay); ?>
       
    26 <div id="overlay" <?php print $attributes; ?>>
       
    27   <div id="overlay-titlebar" class="clearfix">
       
    28     <div id="overlay-title-wrapper" class="clearfix">
       
    29       <h1 id="overlay-title"<?php print $title_attributes; ?>><?php print $title; ?></h1>
       
    30     </div>
       
    31     <div id="overlay-close-wrapper">
       
    32       <a id="overlay-close" href="#" class="overlay-close"><span class="element-invisible"><?php print t('Close overlay'); ?></span></a>
       
    33     </div>
       
    34     <?php if ($tabs): ?><h2 class="element-invisible"><?php print t('Primary tabs'); ?></h2><ul id="overlay-tabs"><?php print render($tabs); ?></ul><?php endif; ?>
       
    35   </div>
       
    36   <div id="overlay-content"<?php print $content_attributes; ?>>
       
    37     <?php print $page; ?>
       
    38   </div>
       
    39 </div>