summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Weber2013-07-29 04:07:25 (GMT)
committer Alex Weber2013-07-29 04:07:25 (GMT)
commit11dcd731d8c2dbe391e60c796fe034b4eadbb08c (patch)
treef7881fb11cb612f0fbd88eceb7fbb7980221183a
parentdc8cf2dfe812265b47d4144a3cfbe6ffdd02dedf (diff)
added new "3 row" display suite layout
-rw-r--r--ds_layouts/zf_3row/zf-3row.tpl.php29
-rw-r--r--ds_layouts/zf_3row/zf_3row.inc17
-rw-r--r--ds_layouts/zf_3row/zf_3row.pngbin0 -> 9839 bytes
3 files changed, 46 insertions, 0 deletions
diff --git a/ds_layouts/zf_3row/zf-3row.tpl.php b/ds_layouts/zf_3row/zf-3row.tpl.php
new file mode 100644
index 0000000..2b8662d
--- /dev/null
+++ b/ds_layouts/zf_3row/zf-3row.tpl.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * @file
+ * Display Suite Zurb Foundation Three row layout template.
+ */
+?>
+<<?php print $layout_wrapper; print $layout_attributes; ?> class="row zf-3row <?php print $classes;?> clearfix">
+
+ <?php if (isset($title_suffix['contextual_links'])): ?>
+ <?php print render($title_suffix['contextual_links']); ?>
+ <?php endif; ?>
+
+ <<?php print $header_wrapper ?> class="group-header columns<?php print $header_classes; ?>">
+ <?php print $header; ?>
+ </<?php print $header_wrapper ?>>
+
+ <<?php print $ds_content_wrapper ?> class="group-content columns<?php print $ds_content_classes; ?>">
+ <?php print $ds_content; ?>
+ </<?php print $ds_content_wrapper ?>>
+
+ <<?php print $footer_wrapper ?> class="group-footer columns<?php print $footer_classes; ?>">
+ <?php print $footer; ?>
+ </<?php print $footer_wrapper ?>>
+
+</<?php print $layout_wrapper ?>>
+
+<?php if (!empty($drupal_render_children)): ?>
+ <?php print $drupal_render_children ?>
+<?php endif; ?>
diff --git a/ds_layouts/zf_3row/zf_3row.inc b/ds_layouts/zf_3row/zf_3row.inc
new file mode 100644
index 0000000..88bfd00
--- /dev/null
+++ b/ds_layouts/zf_3row/zf_3row.inc
@@ -0,0 +1,17 @@
+<?php
+/**
+ * @file
+ * Definition of zf_3row display suite layout.
+ */
+
+function ds_zf_3row() {
+ return array(
+ 'label' => t('Zurb Foundation Three row'),
+ 'regions' => array(
+ 'header' => t('Header'),
+ 'ds_content' => t('Content'),
+ 'footer' => t('Footer'),
+ ),
+ 'image' => TRUE,
+ );
+}
diff --git a/ds_layouts/zf_3row/zf_3row.png b/ds_layouts/zf_3row/zf_3row.png
new file mode 100644
index 0000000..ce9b5fe
--- /dev/null
+++ b/ds_layouts/zf_3row/zf_3row.png
Binary files differ