Projet

Général

Profil

Paste
Télécharger (5,43 ko) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / themes / sky / templates / page.tpl.php @ 6c38d829

1
<div id="page" class="container <?php print $classes; ?>">
2

    
3
  <?php print render($page['top_menu']); ?>
4

    
5
  <header id="header" class="clearfix" role="banner">
6

    
7
    <?php if ($site_logo || $site_name || $site_slogan): ?>
8
      <!-- start: Branding -->
9
      <div id="branding" class="branding-elements clearfix">
10

    
11
        <?php if ($site_logo): ?>
12
          <div id="logo">
13
            <?php print $site_logo; ?>
14
          </div>
15
        <?php endif; ?>
16

    
17
        <?php if ($site_name || $site_slogan): ?>
18
          <!-- start: Site name and Slogan hgroup -->
19
          <hgroup id="name-and-slogan"<?php print $hgroup_attributes; ?>>
20

    
21
            <?php if ($site_name): ?>
22
              <h1 id="site-name"<?php print $site_name_attributes; ?>><?php print $site_name; ?></h1>
23
            <?php endif; ?>
24

    
25
            <?php if ($site_slogan): ?>
26
              <h2 id="site-slogan"<?php print $site_slogan_attributes; ?>><?php print $site_slogan; ?></h2>
27
            <?php endif; ?>
28

    
29
          </hgroup><!-- /end #name-and-slogan -->
30

    
31
        <?php endif; ?>
32

    
33
      </div><!-- /end #branding -->
34
    <?php endif; ?>
35

    
36
    <?php print render($page['header']); ?>
37
    <?php print render($page['menu_bar']); ?>
38

    
39
  </header>
40

    
41
  <div id="columns"<?php print $page['menu_bar'] ? 'class="no-menu-bar"' : '' ;?>>
42
    <div class="columns-inner clearfix">
43

    
44
      <?php print $messages; ?>
45
      <?php print render($page['help']); ?>
46
      <?php print render($page['secondary_content']); ?>
47

    
48
      <?php if (
49
        $page['three_33_top'] ||
50
        $page['three_33_first'] ||
51
        $page['three_33_second'] ||
52
        $page['three_33_third'] ||
53
        $page['three_33_bottom']
54
        ): ?>
55
        <!-- Three column 3x33 Gpanel -->
56
        <div class="at-panel gpanel panel-display three-3x33 clearfix">
57
          <?php print render($page['three_33_top']); ?>
58
          <?php print render($page['three_33_first']); ?>
59
          <?php print render($page['three_33_second']); ?>
60
          <?php print render($page['three_33_third']); ?>
61
          <?php print render($page['three_33_bottom']); ?>
62
        </div>
63
      <?php endif; ?>
64

    
65
      <?php if ($breadcrumb): print $breadcrumb; endif; ?>
66

    
67
      <div id="content-column">
68
        <div class="content-inner">
69

    
70
          <?php print render($page['highlighted']); ?>
71

    
72
          <<?php print $tag; ?> id="main-content" role="main">
73

    
74
            <?php print render($title_prefix); ?>
75
            <?php if ($title || $primary_local_tasks || $secondary_local_tasks || $action_links = render($action_links)): ?>
76
              <header id="main-content-header">
77

    
78
                <?php if ($title): ?>
79
                  <h1 id="page-title"<?php print $attributes; ?>>
80
                    <?php print $title; ?>
81
                  </h1>
82
                <?php endif; ?>
83

    
84
                <?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
85
                  <div id="tasks">
86

    
87
                    <?php if ($primary_local_tasks): ?>
88
                      <ul class="tabs primary clearfix"><?php print render($primary_local_tasks); ?></ul>
89
                    <?php endif; ?>
90

    
91
                    <?php if ($secondary_local_tasks): ?>
92
                      <ul class="tabs secondary clearfix"><?php print render($secondary_local_tasks); ?></ul>
93
                    <?php endif; ?>
94

    
95
                    <?php if ($action_links = render($action_links)): ?>
96
                      <ul class="action-links clearfix"><?php print $action_links; ?></ul>
97
                    <?php endif; ?>
98

    
99
                  </div>
100
                <?php endif; ?>
101

    
102
              </header>
103
            <?php endif; ?>
104
            <?php print render($title_suffix); ?>
105

    
106
            <!-- region: Main Content -->
107
            <?php if ($content = render($page['content'])): ?>
108
              <div id="content">
109
                <?php print $content; ?>
110
              </div>
111
            <?php endif; ?>
112

    
113
            <?php print $feed_icons; ?>
114

    
115
          </<?php print $tag; ?>>
116

    
117
          <?php print render($page['content_aside']); ?>
118

    
119
        </div>
120
      </div>
121

    
122
      <?php print render($page['sidebar_first']); ?>
123
      <?php print render($page['sidebar_second']); ?>
124
      <?php print render($page['tertiary_content']); ?>
125

    
126
    </div>
127
  </div>
128

    
129
  <?php if (
130
    $page['footer'] ||
131
    $page['four_first'] ||
132
    $page['four_second'] ||
133
    $page['four_third'] ||
134
    $page['four_fourth']
135
    ): ?>
136
    <footer role="contentinfo">
137
      <?php if (
138
        $page['four_first'] ||
139
        $page['four_second'] ||
140
        $page['four_third'] ||
141
        $page['four_fourth']
142
        ): ?>
143
        <!-- Four column Gpanel -->
144
        <div class="at-panel gpanel panel-display four-4x25 clearfix">
145
          <div class="panel-row row-1 clearfix">
146
            <?php print render($page['four_first']); ?>
147
            <?php print render($page['four_second']); ?>
148
          </div>
149
          <div class="panel-row row-2 clearfix">
150
            <?php print render($page['four_third']); ?>
151
            <?php print render($page['four_fourth']); ?>
152
          </div>
153
        </div>
154
      <?php endif; ?>
155
      <?php if ($page['footer']): print render($page['footer']); endif; ?>
156
    </footer>
157
  <?php endif; ?>
158

    
159
</div><!-- //End #page, .container -->
160

    
161
<?php if ($collapsible = render($page['collapsible'])): ?>
162
  <section id="section-collapsible" class="section-collapsible clearfix">
163
    <h2 class="collapsible-toggle"><a href="#"><?php print t('Toggle collapsible region'); ?></a></h2>
164
    <?php print $collapsible; ?>
165
  </section>
166
<?php endif; ?>