[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/panels/templates/ -> panels-pane.tpl.php (source)

   1  <?php
   2  /**
   3   * @file panels-pane.tpl.php
   4   * Main panel pane template
   5   *
   6   * Variables available:
   7   * - $pane->type: the content type inside this pane
   8   * - $pane->subtype: The subtype, if applicable. If a view it will be the
   9   *   view name; if a node it will be the nid, etc.
  10   * - $title: The title of the content
  11   * - $content: The actual content
  12   * - $links: Any links associated with the content
  13   * - $more: An optional 'more' link (destination only)
  14   * - $admin_links: Administrative links associated with the content
  15   * - $feeds: Any feed icons or associated with the content
  16   * - $display: The complete panels display object containing all kinds of
  17   *   data including the contexts and all of the other panes being displayed.
  18   */
  19  ?>
  20  <div class="<?php print $classes; ?>" <?php print $id; ?>>
  21    <?php if ($admin_links): ?>
  22      <div class="admin-links panel-hide">
  23        <?php print $admin_links; ?>
  24      </div>
  25    <?php endif; ?>
  26  
  27    <?php if ($title): ?>
  28      <h2 class="pane-title"><?php print $title; ?></h2>
  29    <?php endif; ?>
  30  
  31    <?php if ($feeds): ?>
  32      <div class="feed">
  33        <?php print $feeds; ?>
  34      </div>
  35    <?php endif; ?>
  36  
  37    <div class="pane-content">
  38      <?php print $content; ?>
  39    </div>
  40  
  41    <?php if ($links): ?>
  42      <div class="links">
  43        <?php print $links; ?>
  44      </div>
  45    <?php endif; ?>
  46  
  47    <?php if ($more): ?>
  48      <div class="more-link">
  49        <?php print $more; ?>
  50      </div>
  51    <?php endif; ?>
  52  </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7