Projet

Général

Profil

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

root / drupal7 / sites / all / modules / ds / layouts / ds_2col_stacked_fluid / ds-2col-stacked-fluid.tpl.php @ 651307cd

1
<?php
2

    
3
/**
4
 * @file
5
 * Display Suite fluid 2 column stacked 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-stacked-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 print $header_wrapper ?> class="group-header<?php print $header_classes; ?>">
20
    <?php print $header; ?>
21
  </<?php print $header_wrapper ?>>
22

    
23
  <?php if ($left): ?>
24
    <<?php print $left_wrapper ?> class="group-left<?php print $left_classes; ?>">
25
      <?php print $left; ?>
26
    </<?php print $left_wrapper ?>>
27
  <?php endif; ?>
28

    
29
  <?php if ($right): ?>
30
    <<?php print $right_wrapper ?> class="group-right<?php print $right_classes; ?>">
31
      <?php print $right; ?>
32
    </<?php print $right_wrapper ?>>
33
  <?php endif; ?>
34

    
35
  <<?php print $footer_wrapper ?> class="group-footer<?php print $footer_classes; ?>">
36
    <?php print $footer; ?>
37
  </<?php print $footer_wrapper ?>>
38

    
39
</<?php print $layout_wrapper ?>>
40

    
41
<?php if (!empty($drupal_render_children)): ?>
42
  <?php print $drupal_render_children ?>
43
<?php endif; ?>