PageRenderTime 54ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://github.com/torenware/garmentbox
PHP | 27 lines | 14 code | 2 blank | 11 comment | 2 complexity | 82437d7f593673b62cc03e01a23ef359 MD5 | raw file
  1. <?php
  2. /**
  3. * @file garmentbox.tpl.php
  4. * Template for garmentbox split pages.
  5. *
  6. * Variables:
  7. * - $id: An optional CSS id to use for the layout.
  8. * - $content: An array of content, each item in the array is keyed to one
  9. * panel of the layout. This layout supports the following sections:
  10. * - $content['content_first']: First content section.
  11. * - $content['content_last']: Second content section.
  12. */
  13. ?>
  14. <section class="content clearfix">
  15. <?php if($content['content_first']): ?>
  16. <div class="panel-col-first">
  17. <?php print $content['content_first']; ?>
  18. </div>
  19. <?php endif; ?>
  20. <?php if($content['content_last']): ?>
  21. <div class="panel-col-last">
  22. <?php print $content['content_last']; ?>
  23. </div>
  24. <?php endif; ?>
  25. </section>