[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

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


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7