Projet

Général

Profil

Paste
Télécharger (6,38 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / corolla / templates / page.tpl.php @ 87dbc3bf

1
<?php // Corolla ?>
2
<div id="page-wrapper">
3
  <div id="page" class="<?php print $classes; ?>">
4

    
5
    <?php if ($menubar = render($page['menu_bar'])): ?>
6
      <div id="menu-bar-wrapper">
7
        <div class="container clearfix">
8
          <?php print $menubar; ?>
9
        </div>
10
      </div>
11
    <?php endif; ?>
12

    
13
    <div id="header-wrapper">
14
      <div class="container clearfix">
15

    
16
        <header class="clearfix<?php print $site_logo ? ' with-logo' : ''; ?>" role="banner">
17

    
18
          <?php if ($site_logo || $site_name || $site_slogan): ?>
19
            <div id="branding" class="branding-elements clearfix">
20

    
21
              <?php if ($site_logo): ?>
22
                <div id="logo">
23
                  <?php print $site_logo; ?>
24
                </div>
25
              <?php endif; ?>
26

    
27
              <?php if ($site_name || $site_slogan): ?>
28
                <div<?php print $hgroup_attributes; ?>>
29

    
30
                  <?php if ($site_name): ?>
31
                    <h1<?php print $site_name_attributes; ?>><?php print $site_name; ?></h1>
32
                  <?php endif; ?>
33

    
34
                  <?php if ($site_slogan): ?>
35
                    <h2<?php print $site_slogan_attributes; ?>><?php print $site_slogan; ?></h2>
36
                  <?php endif; ?>
37

    
38
                </div>
39
              <?php endif; ?>
40

    
41
            </div>
42
          <?php endif; ?>
43

    
44
          <?php print render($page['header']); ?>
45

    
46
        </header>
47

    
48
      </div>
49
    </div>
50

    
51
    <?php if (
52
      $page['three_33_top'] ||
53
      $page['three_33_first'] ||
54
      $page['three_33_second'] ||
55
      $page['three_33_third'] ||
56
      $page['three_33_bottom']
57
      ): ?>
58
      <div id="top-panels-wrapper">
59
        <div class="container clearfix">
60
          <!-- Three column 3x33 Gpanel -->
61
          <div class="at-panel gpanel panel-display three-3x33 clearfix">
62
            <?php print render($page['three_33_top']); ?>
63
            <?php print render($page['three_33_first']); ?>
64
            <?php print render($page['three_33_second']); ?>
65
            <?php print render($page['three_33_third']); ?>
66
            <?php print render($page['three_33_bottom']); ?>
67
          </div>
68
        </div>
69
      </div>
70
    <?php endif; ?>
71

    
72
    <?php if ($page['secondary_content']): ?>
73
      <div id="secondary-content-wrapper">
74
        <div class="container clearfix">
75
          <?php print render($page['secondary_content']); ?>
76
        </div>
77
      </div>
78
     <?php endif; ?>
79

    
80
    <?php if ($messages || $page['help']): ?>
81
      <div id="messages-help-wrapper">
82
        <div class="container clearfix">
83
          <?php print $messages; ?>
84
          <?php print render($page['help']); ?>
85
        </div>
86
      </div>
87
    <?php endif; ?>
88

    
89
    <div id="content-wrapper">
90
      <div class="container">
91

    
92
        <div id="columns">
93
          <div class="columns-inner clearfix">
94

    
95
            <div id="content-column">
96
              <div class="content-inner">
97

    
98
                <?php print render($page['highlighted']); ?>
99

    
100
                <<?php print $tag; ?> id="main-content" role="main">
101

    
102
                  <?php if ($primary_local_tasks): ?>
103
                    <div id="tasks" class="clearfix">
104

    
105
                      <?php if ($primary_local_tasks): ?>
106
                        <ul class="tabs primary">
107
                          <?php print render($primary_local_tasks); ?>
108
                        </ul>
109
                      <?php endif; ?>
110

    
111
                    </div>
112
                  <?php endif; ?>
113

    
114
                  <div class="content-margin">
115
                    <div class="content-style">
116

    
117
                      <?php if ($secondary_local_tasks): ?>
118
                        <ul class="tabs secondary">
119
                          <?php print render($secondary_local_tasks); ?>
120
                        </ul>
121
                      <?php endif; ?>
122

    
123
                      <?php if ($breadcrumb): print $breadcrumb; endif; ?>
124

    
125
                      <?php print render($title_prefix); ?>
126

    
127
                      <?php if ($title): ?>
128
                        <header class="clearfix">
129
                          <h1 id="page-title">
130
                            <?php print $title; ?>
131
                          </h1>
132
                        </header>
133
                      <?php endif; ?>
134

    
135
                      <?php print render($title_suffix); ?>
136

    
137
                      <?php if ($action_links = render($action_links)): ?>
138
                        <ul class="action-links">
139
                          <?php print $action_links; ?>
140
                        </ul>
141
                      <?php endif; ?>
142

    
143
                      <div id="content">
144
                        <?php print render($page['content']); ?>
145
                      </div>
146

    
147
                      <?php print $feed_icons; ?>
148

    
149
                    </div>
150
                  </div>
151

    
152
                </<?php print $tag; // end main content ?>>
153

    
154
                <?php print render($page['content_aside']); ?>
155

    
156
              </div>
157
            </div>
158

    
159
            <?php print render($page['sidebar_first']); ?>
160
            <?php print render($page['sidebar_second']); ?>
161

    
162
          </div>
163
        </div>
164

    
165
      </div>
166
    </div>
167

    
168
    <?php if ($page['tertiary_content']): ?>
169
      <div id="tertiary-content-wrapper">
170
        <div class="container clearfix">
171
          <?php print render($page['tertiary_content']); ?>
172
        </div>
173
      </div>
174
    <?php endif; ?>
175

    
176
    <?php if (
177
      $page['four_first'] ||
178
      $page['four_second'] ||
179
      $page['four_third'] ||
180
      $page['four_fourth']
181
      ): ?>
182
      <div id="footer-panels-wrapper">
183
        <div class="container clearfix">
184
          <!-- Four column Gpanel -->
185
          <div class="at-panel gpanel panel-display four-4x25 clearfix">
186
            <div class="panel-row row-1 clearfix">
187
              <?php print render($page['four_first']); ?>
188
              <?php print render($page['four_second']); ?>
189
            </div>
190
            <div class="panel-row row-2 clearfix">
191
              <?php print render($page['four_third']); ?>
192
              <?php print render($page['four_fourth']); ?>
193
            </div>
194
          </div>
195
        </div>
196
      </div>
197
    <?php endif; ?>
198

    
199
    <?php if ($page['footer'] || $attribution): ?>
200
      <div id="footer-wrapper">
201
        <div class="container clearfix">
202
          <footer class="clearfix" role="contentinfo">
203
            <?php print render($page['footer']); ?>
204
            <p class="attribute-creator"><?php print $attribution; ?></p>
205
          </footer>
206
        </div>
207
      </div>
208
    <?php endif; ?>
209

    
210
  </div>
211
</div>