| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * @file
- * Display Suite example layout 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:
- *
- * - $left: Rendered content for the "Left" region.
- * - $left_classes: String of classes that can be used to style the "Left" region.
- * - $left_wrapper: wrapper surrounding the left region.
- *
- * - $right: Rendered content for the "Right" region.
- * - $right_classes: String of classes that can be used to style the "Right" region.
- * - $right_wrapper: wrapper surrounding the right 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 endif; ?>
- <!-- regions -->
- <<?php print $left_wrapper ?> class="ds-left<?php print $left_classes; ?>">
- <?php print $left; ?>
- </<?php print $left_wrapper ?>>
- <<?php print $right_wrapper ?> class="ds-right<?php print $right_classes; ?>">
- <?php print $right; ?>
- </<?php print $right_wrapper ?>>
- <!-- These comments are required for the Drush command. You can remove them in your own copy -->
- <!-- /regions -->
- </<?php print $layout_wrapper ?>>
- <!-- Needed to activate display suite support on forms -->
- <?php if (!empty($drupal_render_children)): ?>
- <?php print $drupal_render_children ?>
- <?php endif; ?>
|