[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/themes/fusion/fusion_core/ -> panels-pane.tpl.php (source)

   1  <?php
   2  // $Id: panels-pane.tpl.php,v 1.1.2.1 2009/11/05 03:20:35 sociotech 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  /**

  22   * $skinr variable, <div class="inner">, and 'content' in

  23   * <div class="pane-content content"> added for Fusion theming

  24   */
  25  
  26  ?>
  27  <div class="<?php print $classes; ?> <?php print $skinr; ?>" <?php print $id; ?>>
  28    <div class="inner">
  29      <?php if ($admin_links): ?>
  30        <div class="admin-links panel-hide">
  31          <?php print $admin_links; ?>
  32        </div>
  33      <?php endif; ?>
  34  
  35      <?php if ($title): ?>
  36        <h2 class="pane-title block-title"><?php print $title; ?></h2>
  37      <?php endif; ?>
  38  
  39      <?php if ($feeds): ?>
  40        <div class="feed">
  41          <?php print $feeds; ?>
  42        </div>
  43      <?php endif; ?>
  44  
  45      <div class="pane-content content">
  46        <?php print $content; ?>
  47      </div>
  48  
  49      <?php if ($links): ?>
  50        <div class="links">
  51          <?php print $links; ?>
  52        </div>
  53      <?php endif; ?>
  54  
  55      <?php if ($more): ?>
  56        <div class="more-link">
  57          <?php print $more; ?>
  58        </div>
  59      <?php endif; ?>
  60    </div>
  61  </div>


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