three-column-nested-right.tpl.php in DS Extra Layouts 7
Display Suite Three Column Nested Right template.
Available variables:
Layout:
- $classes: String of classes that can be used to style this layout.
- $contextual_links: Renderable array of contextual links.
- $layout_wrapper: wrapper surrounding the layout.
Regions:
- $header: Rendered content for the "Header" region.
- $header_classes: String of classes that can be used to style the "Header"
- region.
- $left: Rendered content for the "Left" region.
- $left_classes: String of classes that can be used to style the "Left"
- region.
- $middle: Rendered content for the "Middle" region.
- $middle_classes: String of classes that can be used to style the "Middle"
- region.
- $right: Rendered content for the "Right" region.
- $right_classes: String of classes that can be used to style the "Right"
- region.
- $footer: Rendered content for the "Footer" region.
- $footer_classes: String of classes that can be used to style the "Footer"
- region.
File
layouts/three_column_nested_right/three-column-nested-right.tpl.phpView source
<?php
/**
* @file
* Display Suite Three Column Nested Right template.
*
* Available variables:
*
* Layout:
* - $classes: String of classes that can be used to style this layout.
* - $contextual_links: Renderable array of contextual links.
* - $layout_wrapper: wrapper surrounding the layout.
*
* Regions:
*
* - $header: Rendered content for the "Header" region.
* - $header_classes: String of classes that can be used to style the "Header"
* - region.
*
* - $left: Rendered content for the "Left" region.
* - $left_classes: String of classes that can be used to style the "Left"
* - region.
*
* - $middle: Rendered content for the "Middle" region.
* - $middle_classes: String of classes that can be used to style the "Middle"
* - region.
*
* - $right: Rendered content for the "Right" region.
* - $right_classes: String of classes that can be used to style the "Right"
* - region.
*
* - $footer: Rendered content for the "Footer" region.
* - $footer_classes: String of classes that can be used to style the "Footer"
* - region.
*/
?>
<<?php
print $layout_wrapper;
print $layout_attributes;
?> class="<?php
print $classes;
?> clearfix">
<!-- Needed to activate contextual links. -->
<?php
if (isset($title_suffix['contextual_links'])) {
?>
<?php
print render($title_suffix['contextual_links']);
?>
<?php
}
?>
<<?php
print $left_wrapper;
?> class="ds-left<?php
print $left_classes;
?>">
<?php
print $left;
?>
</<?php
print $left_wrapper;
?>>
<div class="ds-nested-right">
<<?php
print $header_wrapper;
?> class="ds-header<?php
print $header_classes;
?>">
<?php
print $header;
?>
</<?php
print $header_wrapper;
?>>
<<?php
print $middle_wrapper;
?> class="ds-middle<?php
print $middle_classes;
?>">
<?php
print $middle;
?>
</<?php
print $middle_wrapper;
?>>
<<?php
print $right_wrapper;
?> class="ds-right<?php
print $right_classes;
?>">
<?php
print $right;
?>
</<?php
print $right_wrapper;
?>>
<<?php
print $footer_wrapper;
?> class="ds-footer<?php
print $footer_classes;
?>">
<?php
print $footer;
?>
</<?php
print $footer_wrapper;
?>>
</div>
</<?php
print $layout_wrapper;
?>>
<!-- Needed to activate display suite support on forms. -->
<?php
if (!empty($drupal_render_children)) {
?>
<?php
print $drupal_render_children;
}