Projet

Général

Profil

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

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

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
    <<?php print $title_heading; ?><?php print $title_attributes; ?>>
31
      <?php print $title; ?>
32
    </<?php print $title_heading; ?>>
33
  <?php endif; ?>
34
  <?php print render($title_suffix); ?>
35

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

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

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

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