Projet

Général

Profil

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

root / drupal7 / sites / all / themes / adaptivetheme / at_core / layouts / gpanels / six-6x16.php @ 74f6bef0

1
<?php
2

    
3
/**
4
 * @file
5
 * Gpanel snippet for the six column 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
; 6 col
20
regions[six_first]  = AT Six column 6x16 - 1
21
regions[six_second] = AT Six column 6x16 - 2
22
regions[six_third]  = AT Six column 6x16 - 3
23
regions[six_fourth] = AT Six column 6x16 - 4
24
regions[six_fifth]  = AT Six column 6x16 - 5
25
regions[six_sixth]  = AT Six column 6x16 - 6
26

27
 */
28
?>
29

    
30
<?php if (
31
  $page['six_first'] ||
32
  $page['six_second'] ||
33
  $page['six_third'] ||
34
  $page['six_fourth'] ||
35
  $page['six_fifth'] ||
36
  $page['six_sixth']
37
  ): ?>
38
  <!-- Six column Gpanel -->
39
  <div class="at-panel gpanel panel-display six-6x16 clearfix">
40
    <div class="panel-row row-1 clearfix">
41
      <?php print render($page['six_first']); ?>
42
      <?php print render($page['six_second']); ?>
43
    </div>
44
    <div class="panel-row row-2 clearfix">
45
      <?php print render($page['six_third']); ?>
46
      <?php print render($page['six_fourth']); ?>
47
    </div>
48
    <div class="panel-row row-3 clearfix">
49
      <?php print render($page['six_fifth']); ?>
50
      <?php print render($page['six_sixth']); ?>
51
    </div>
52
  </div>
53
<?php endif; ?>