Projet

Général

Profil

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

root / drupal7 / sites / all / modules / ds / layouts / ds_2col_fluid / ds-2col-fluid.tpl.php @ a6e869e4

1
<?php
2

    
3
/**
4
 * @file
5
 * Display Suite 2 column template.
6
 */
7

    
8
  // Add sidebar classes so that we can apply the correct width in css.
9
  if (($left && !$right) || ($right && !$left)) {
10
    $classes .= ' group-one-column';
11
  }
12
?>
13
<<?php print $layout_wrapper; print $layout_attributes; ?> class="ds-2col-fluid <?php print $classes;?> clearfix">
14

    
15
  <?php if (isset($title_suffix['contextual_links'])): ?>
16
  <?php print render($title_suffix['contextual_links']); ?>
17
  <?php endif; ?>
18

    
19
  <?php if ($left): ?>
20
    <<?php print $left_wrapper ?> class="group-left<?php print $left_classes; ?>">
21
      <?php print $left; ?>
22
    </<?php print $left_wrapper ?>>
23
  <?php endif; ?>
24

    
25
  <?php if ($right): ?>
26
    <<?php print $right_wrapper ?> class="group-right<?php print $right_classes; ?>">
27
      <?php print $right; ?>
28
    </<?php print $right_wrapper ?>>
29
  <?php endif; ?>
30

    
31
</<?php print $layout_wrapper ?>>
32

    
33
<?php if (!empty($drupal_render_children)): ?>
34
  <?php print $drupal_render_children ?>
35
<?php endif; ?>