Projet

Général

Profil

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

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

1
<?php // Pixture Reloaded ?>
2
<div class="texture-overlay">
3
  <div id="page" class="container <?php print $classes; ?>">
4

    
5
    <header id="header" class="clearfix" role="banner">
6
      <div class="header-inner clearfix">
7

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

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

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

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

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

    
30
              </div><!-- /end #name-and-slogan -->
31
            <?php endif; ?>
32

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

    
36
        <?php print render($page['header']); // Header region ?>
37

    
38
      </div>
39

    
40
    </header> <!-- /header -->
41

    
42
    <?php print render($page['menu_bar']); // Menubar region ?>
43

    
44
    <!-- Messages and Help -->
45
    <?php print $messages; ?>
46
    <?php print render($page['help']); ?>
47

    
48
    <!-- Breadcrumbs -->
49
    <?php if ($breadcrumb): print $breadcrumb; endif; ?>
50

    
51
    <?php print render($page['secondary_content']); // Secondary content region (Secondary) ?>
52

    
53
    <!-- Three column 3x33 Gpanel -->
54
    <?php if (
55
      $page['three_33_top'] ||
56
      $page['three_33_first'] ||
57
      $page['three_33_second'] ||
58
      $page['three_33_third'] ||
59
      $page['three_33_bottom']
60
      ): ?>
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
    <?php endif; ?>
69

    
70
    <div id="columns">
71
      <div class="columns-inner clearfix">
72

    
73
        <div id="content-column">
74
          <div class="content-inner">
75

    
76
            <?php print render($page['highlight']); // Highlighted region ?>
77

    
78
            <<?php print $tag; ?> id="main-content" role="main">
79

    
80
              <?php print render($title_prefix); ?>
81
              <?php if ($title || $primary_local_tasks || $secondary_local_tasks || $action_links = render($action_links)): ?>
82
                <header id="main-content-header" class="clearfix">
83

    
84
                  <?php if ($title): ?>
85
                    <h1 id="page-title"><?php print $title; ?></h1>
86
                  <?php endif; ?>
87

    
88
                  <?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
89
                    <div id="tasks" class="clearfix">
90

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

    
95
                      <?php if ($secondary_local_tasks): ?>
96
                        <ul class="tabs secondary clearfix"><?php print render($secondary_local_tasks); ?></ul>
97
                      <?php endif; ?>
98

    
99
                      <?php if ($action_links = render($action_links)): ?>
100
                        <ul class="action-links clearfix"><?php print $action_links; ?></ul>
101
                      <?php endif; ?>
102

    
103
                    </div>
104
                  <?php endif; ?>
105

    
106
                </header>
107
              <?php endif; ?>
108
              <?php print render($title_suffix); ?>
109

    
110
              <?php if ($content = render($page['content'])): ?>
111
                <div id="content">
112
                  <?php print $content; // Main content region ?>
113
                </div>
114
              <?php endif; ?>
115

    
116
              <!-- Feed icons (RSS, Atom icons etc -->
117
              <?php print $feed_icons; ?>
118

    
119
            </<?php print $tag; ?>> <!-- /main-content -->
120

    
121
            <?php print render($page['content_aside']); // Aside region ?>
122

    
123
          </div>
124
        </div> <!-- /content-column -->
125

    
126
        <?php print render($page['sidebar_first']); // Sidebar first region ?>
127
        <?php print render($page['sidebar_second']); // Sidebar second region ?>
128

    
129
      </div>
130
    </div> <!-- /columns -->
131

    
132
    <?php print render($page['tertiary_content']); // Tertiary content region (Tertiary) ?>
133

    
134
    <!-- four-4x25 Gpanel -->
135
    <?php if (
136
      $page['four_first'] ||
137
      $page['four_second'] ||
138
      $page['four_third'] ||
139
      $page['four_fourth']
140
      ): ?>
141
      <div class="at-panel gpanel panel-display four-4x25 clearfix">
142
        <div class="panel-row row-1 clearfix">
143
          <?php print render($page['four_first']); ?>
144
          <?php print render($page['four_second']); ?>
145
        </div>
146
        <div class="panel-row row-2 clearfix">
147
          <?php print render($page['four_third']); ?>
148
          <?php print render($page['four_fourth']); ?>
149
        </div>
150
      </div>
151
    <?php endif; ?>
152

    
153
    <?php if ($page['footer'] || $attribution): ?>
154
      <footer id="footer" role="contentinfo">
155
        <div id="footer-inner" class="clearfix">
156
          <?php print render($page['footer']); // Footer region ?>
157
          <p class="attribute-creator"><?php print $attribution; ?></p>
158
        </div>
159
      </footer>
160
    <?php endif; ?>
161

    
162
  </div> <!-- /page -->
163
</div> <!-- /texture overlay -->