| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: panels-twocol-stacked.tpl.php,v 1.1.2.2 2010/07/20 19:06:04 merlinofchaos Exp $ 3 /** 4 * @file 5 * Template for a 2 column panel layout. 6 * 7 * This template provides a two column panel display layout, with 8 * additional areas for the top and the bottom. 9 * 10 * Variables: 11 * - $id: An optional CSS id to use for the layout. 12 * - $content: An array of content, each item in the array is keyed to one 13 * panel of the layout. This layout supports the following sections: 14 * - $content['top']: Content in the top row. 15 * - $content['left']: Content in the left column. 16 * - $content['right']: Content in the right column. 17 * - $content['bottom']: Content in the bottom row. 18 */ 19 ?> 20 <div class="panel-2col-stacked clear-block panel-display" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>> 21 <?php if ($content['top']): ?> 22 <div class="panel-col-top panel-panel"> 23 <div class="inside"><?php print $content['top']; ?></div> 24 </div> 25 <?php endif; ?> 26 27 <div class="center-wrapper"> 28 <div class="panel-col-first panel-panel"> 29 <div class="inside"><?php print $content['left']; ?></div> 30 </div> 31 <div class="panel-col-last panel-panel"> 32 <div class="inside"><?php print $content['right']; ?></div> 33 </div> 34 </div> 35 36 <?php if ($content['bottom']): ?> 37 <div class="panel-col-bottom panel-panel"> 38 <div class="inside"><?php print $content['bottom']; ?></div> 39 </div> 40 <?php endif; ?> 41 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |