Projet

Général

Profil

Paste
Télécharger (1,42 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / adaptivetheme / at_core / layouts / gpanels / three-3x33.php @ fbb05e21

1
<?php
2

    
3
/**
4
 * @file
5
 * Gpanel snippet for the three column 3x33 layout
6
 *
7
 * Gpanels are drop in multi-column 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
; 3 col 3x33
20
regions[three_33_top]    = AT Three column 3x33 - top
21
regions[three_33_first]  = AT Three column 3x33 - left
22
regions[three_33_second] = AT Three column 3x33 - center
23
regions[three_33_third]  = AT Three column 3x33 - right
24
regions[three_33_bottom] = AT Three column 3x33 - bottom
25

26
 */
27
?>
28

    
29
<?php if (
30
  $page['three_33_top'] ||
31
  $page['three_33_first'] ||
32
  $page['three_33_second'] ||
33
  $page['three_33_third'] ||
34
  $page['three_33_bottom']
35
  ): ?>
36
  <!-- Three column 3x33 Gpanel -->
37
  <div class="at-panel gpanel panel-display three-3x33 clearfix">
38
    <?php print render($page['three_33_top']); ?>
39
    <?php print render($page['three_33_first']); ?>
40
    <?php print render($page['three_33_second']); ?>
41
    <?php print render($page['three_33_third']); ?>
42
    <?php print render($page['three_33_bottom']); ?>
43
  </div>
44
<?php endif; ?>