Projet

Général

Profil

Paste
Télécharger (842 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / plugins / layouts / twocol / panels-twocol.tpl.php @ 64156087

1
<?php
2
/**
3
 * @file
4
 * Template for a 2 column panel layout.
5
 *
6
 * This template provides a two column panel display layout, with
7
 * each column roughly equal in width.
8
 *
9
 * Variables:
10
 * - $id: An optional CSS id to use for the layout.
11
 * - $content: An array of content, each item in the array is keyed to one
12
 *   panel of the layout. This layout supports the following sections:
13
 *   - $content['left']: Content in the left column.
14
 *   - $content['right']: Content in the right column.
15
 */
16
?>
17
<div class="panel-display panel-2col clearfix" <?php if (!empty($css_id)) {print "id=\"$css_id\"";} ?>>
18
  <div class="panel-panel panel-col-first">
19
    <div class="inside"><?php print $content['left']; ?></div>
20
  </div>
21

    
22
  <div class="panel-panel panel-col-last">
23
    <div class="inside"><?php print $content['right']; ?></div>
24
  </div>
25
</div>