garmentbox /garmentbox/themes/garmentbox_omega/layouts/garmentbox_split_page/garmentbox-split-page.tpl.php

Language PHP Lines 28
MD5 Hash 82437d7f593673b62cc03e01a23ef359
Repository https://github.com/torenware/garmentbox.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
 * @file garmentbox.tpl.php
 * Template for garmentbox split pages.
 *
 * Variables:
 * - $id: An optional CSS id to use for the layout.
 * - $content: An array of content, each item in the array is keyed to one
 *   panel of the layout. This layout supports the following sections:
 *   - $content['content_first']: First content section.
 *   - $content['content_last']: Second content section.
 */

?>

<section class="content clearfix">
  <?php if($content['content_first']): ?>
    <div class="panel-col-first">
      <?php print $content['content_first']; ?>
    </div>
  <?php endif; ?>
  <?php if($content['content_last']): ?>
    <div class="panel-col-last">
      <?php print $content['content_last']; ?>
    </div>
  <?php endif; ?>
</section>
Back to Top