You are here

ds-2col-fluid.tpl.php in Display Suite 7.2

Display Suite 2 column template.

File

layouts/ds_2col_fluid/ds-2col-fluid.tpl.php
View source
<?php

/**
 * @file
 * Display Suite 2 column template.
 */

// Add sidebar classes so that we can apply the correct width in css.
if ($left && !$right || $right && !$left) {
  $classes .= ' group-one-column';
}
?>
<<?php

print $layout_wrapper;
print $layout_attributes;
?> class="ds-2col-fluid <?php

print $classes;
?> clearfix">

  <?php

if (isset($title_suffix['contextual_links'])) {
  ?>
  <?php

  print render($title_suffix['contextual_links']);
  ?>
  <?php

}
?>

  <?php

if ($left) {
  ?>
    <<?php

  print $left_wrapper;
  ?> class="group-left<?php

  print $left_classes;
  ?>">
      <?php

  print $left;
  ?>
    </<?php

  print $left_wrapper;
  ?>>
  <?php

}
?>

  <?php

if ($right) {
  ?>
    <<?php

  print $right_wrapper;
  ?> class="group-right<?php

  print $right_classes;
  ?>">
      <?php

  print $right;
  ?>
    </<?php

  print $right_wrapper;
  ?>>
  <?php

}
?>

</<?php

print $layout_wrapper;
?>>

<?php

if (!empty($drupal_render_children)) {
  ?>
  <?php

  print $drupal_render_children;
}