root / drupal7 / sites / all / themes / adaptivetheme / at_core / layouts / gpanels / three-inset-left.php @ 74f6bef0
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Gpanel snippet for the three inset left layout
|
6 |
*
|
7 |
* Gpanels are drop in multi-umn snippets for displaying blocks.
|
8 |
* Most Gpanels are stacked, meaning they have top and bottom regions
|
9 |
* by default, however you do not need to use them. You should always
|
10 |
* use all the horizonal regions or you might experience layout issues.
|
11 |
*
|
12 |
* How to use:
|
13 |
* 1. Copy and paste the code snippet into your page.tpl.php file.
|
14 |
* 2. Copy and paste the region definitions to your themes .info file.
|
15 |
* 3. Clear the cache (in Performance settings) to refresh the theme registry.
|
16 |
|
17 |
Region Deinitions:
|
18 |
|
19 |
; Three Inset Left
|
20 |
regions[three_inset_left_sidebar] = AT Inset left - sidebar
|
21 |
regions[three_inset_left_top] = AT Inset left - top
|
22 |
regions[three_inset_left_middle] = AT Inset left - middle
|
23 |
regions[three_inset_left_inset] = AT Inset left - inset
|
24 |
regions[three_inset_left_bottom] = AT Inset left - bottom
|
25 |
|
26 |
*/
|
27 |
?>
|
28 |
|
29 |
<?php if ( |
30 |
$page['three_inset_left_sidebar'] || |
31 |
$page['three_inset_left_top'] || |
32 |
$page['three_inset_left_middle'] || |
33 |
$page['three_inset_left_inset'] || |
34 |
$page['three_inset_left_bottom'] |
35 |
): ?>
|
36 |
<!-- Three inset left Gpanel -->
|
37 |
<div class="at-panel gpanel panel-display three-inset-left clearfix"> |
38 |
<?php print render($page['three_inset_left_sidebar']); ?> |
39 |
<div class="inset-wrapper clearfix"> |
40 |
<?php print render($page['three_inset_left_top']); ?> |
41 |
<?php print render($page['three_inset_left_middle']); ?> |
42 |
<?php print render($page['three_inset_left_inset']); ?> |
43 |
<?php print render($page['three_inset_left_bottom']); ?> |
44 |
</div>
|
45 |
</div>
|
46 |
<?php endif; ?> |