You are here

panels-onecol.tpl.php in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.3

Template for a 3 column panel layout.

This template provides a very simple "one column" panel display layout.

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['middle']: The only panel in the layout.

File

themes/vartheme/templates/layouts/panels-onecol.tpl.php
View source
<?php

/**
 * @file
 * Template for a 3 column panel layout.
 *
 * This template provides a very simple "one column" panel display layout.
 *
 * 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['middle']: The only panel in the layout.
 */
?>
<div class="panel-display panel-1col clearfix" <?php

if (!empty($css_id)) {
  print "id=\"{$css_id}\"";
}
?>>
  <div class="panel-panel panel-col">
    <div class="inside">
      <div class="row">
        <?php

print $content['middle'];
?>
      </div>
    </div>
  </div>
</div>