Projet

Général

Profil

Paste
Télécharger (1,61 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / templates / panels-pane.tpl.php @ 5a7e6170

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
<?php if ($pane_prefix): ?>
21
  <?php print $pane_prefix; ?>
22
<?php endif; ?>
23
<div class="<?php print $classes; ?>" <?php print $id; ?> <?php print $attributes; ?>>
24
  <?php if ($admin_links): ?>
25
    <?php print $admin_links; ?>
26
  <?php endif; ?>
27

    
28
  <?php print render($title_prefix); ?>
29
  <?php if ($title): ?>
30
    <h2<?php print $title_attributes; ?>><?php print $title; ?></h2>
31
  <?php endif; ?>
32
  <?php print render($title_suffix); ?>
33

    
34
  <?php if ($feeds): ?>
35
    <div class="feed">
36
      <?php print $feeds; ?>
37
    </div>
38
  <?php endif; ?>
39

    
40
  <div class="pane-content">
41
    <?php print render($content); ?>
42
  </div>
43

    
44
  <?php if ($links): ?>
45
    <div class="links">
46
      <?php print $links; ?>
47
    </div>
48
  <?php endif; ?>
49

    
50
  <?php if ($more): ?>
51
    <div class="more-link">
52
      <?php print $more; ?>
53
    </div>
54
  <?php endif; ?>
55
</div>
56
<?php if ($pane_suffix): ?>
57
  <?php print $pane_suffix; ?>
58
<?php endif; ?>