Projet

Général

Profil

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

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

1 85ad3d82 Assos Assos
  <div id="header">
2
    <?php if($page['header_top']): ?>
3
      <div id="headerTop" class="blockregion">
4
        <?php print render($page['header_top']); ?>
5
      </div>
6
    <?php endif; ?>
7
    
8
    <div id="headerWrapper">
9
      <?php if (!empty($secondary_menu)): ?>
10
        <div id="topMenu">
11
          <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix')))); ?>
12
        </div>
13
      <?php endif; ?>
14
      
15
      <div id="siteName">
16
        <?php if ($logo): print '<a href="' . $front_page . '" title="' . t('Home') . '"> <img src="' . check_url($logo) . '" alt="' . t('Home') . '" id="logo" /></a>'; endif; ?>
17
        <div id="siteInfo">
18
          <?php if (!empty($site_name)): ?>
19
            <h1 id="siteTitle">
20
              <a href="<?php print $front_page ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a>
21
            </h1>
22
          <?php endif; ?>
23
          
24
          <?php if (!empty($site_slogan)): ?>
25
            <div id="siteSlogan"><?php print $site_slogan; ?></div>
26
          <?php endif; ?>
27
        </div><!-- /siteInfo -->
28
      </div> <!-- /siteName-->
29
      
30
      <?php if($page['search_box']): ?>
31
        <div id="searchBox"><?php print render($page['search_box']); ?></div>
32
      <?php endif; ?>
33
        
34
      <?php if($page['header']): ?>
35
        <div id="header-region" class="blockregion">
36
          <?php print render($page['header']); ?>
37
        </div>
38
      <?php endif; ?>
39
        
40
    </div><!-- /headerWrapper -->
41
  </div><!-- /header -->
42
43
  <div id="container">
44
    <div id="inner">  
45
      <div id="contentWrapper">
46
        <?php if ($page['main_menu']): ?>
47
          <div id="menuLeft"></div>
48
          <div id="primaryMenu">
49
            <?php print render($page['main_menu']); ?>
50
          </div>
51
          <div id="menuRight"></div>
52
        <?php elseif (!empty($primary_nav)): ?> 
53
          <div id="menuLeft"></div>
54
          <div id="primaryMenu">
55
            <?php print $primary_nav; ?>
56
          </div>
57
          <div id="menuRight"></div>
58
        <?php endif; ?>
59
        
60
        <?php if($page['preface_top']): ?>
61
          <div id="preface_top" class="blockregion">
62
            <?php print render($page['preface_top']); ?>
63
          </div>
64
        <?php endif; ?>
65
        
66
        <?php if($page['sidebar_first']): ?>
67
          <div id="sidebar_first" class="sidebar">
68
            <?php print render($page['sidebar_first']); ?>
69
          </div>
70
        <?php endif; ?>
71
       
72
        <div id="center">
73
          <?php if (!empty($breadcrumb)): ?>
74
            <div id="breadcrumb">
75
              <?php print $breadcrumb; ?>
76
            </div>
77
          <?php endif; ?>
78
          
79
         <?php print $messages; ?>
80
         
81
          <?php if (!empty($page['highlighted'])): ?>
82
            <div id="mission">
83
              <?php print render($page['highlighted']); ?>
84
            </div>
85
          <?php endif; ?>
86
        
87
          <?php if($page['content_top']): ?>
88
            <div id="content_top" class="blockregion">
89
              <?php print render($page['content_top']); ?>
90
            </div>
91
          <?php endif; ?>
92
        
93
          <div id="content">        
94
            <?php print render($title_prefix); ?>
95
            <?php if ($title): ?>
96
              <h2 class="title" id="page-title"><?php print $title; ?></h2>
97
            <?php endif; ?>
98
            <?php print render($title_suffix); ?>
99
            <?php if ($tabs): ?>
100
              <div class="tabs"><?php print render($tabs); ?></div>
101
            <?php endif; ?>
102
            <?php print render($page['help']); ?>
103
            <?php if ($action_links): ?>
104
              <ul class="action-links"><?php print render($action_links); ?></ul>
105
            <?php endif; ?>
106
            <?php print render($page['content']); ?>
107
            <div class="feedicons">
108
              <?php echo $feed_icons ?>
109
            </div>
110
          </div>
111
        
112
          <?php if($page['content_bottom']): ?>
113
            <div id="content_bottom" class="blockregion">
114
              <?php print render($page['content_bottom']); ?>
115
            </div>
116
          <?php endif; ?>   
117
        </div><!-- /center --> 
118
    
119
        <?php if($page['sidebar_second']): ?>
120
          <div id="sidebar_last" class="sidebar">
121
            <?php print render($page['sidebar_second']); ?>
122
          </div>
123
        <?php endif; ?>
124
      
125
        <?php if($page['postscript_bottom']): ?>
126
          <div id="postscript_bottom" class="blockregion">
127
            <?php print render($page['postscript_bottom']); ?>
128
          </div>
129
        <?php endif; ?> 
130
      </div><!-- /contentWrapper -->
131
      
132
    </div><!-- /Inner -->
133
    
134
  </div><!-- /container -->
135
  
136
  <div id="footer">
137
    <div class="footer-text">
138
      <?php if($page['footer_message']): ?>
139
        <?php print render($page['footer_message']); ?>
140
      <?php endif; ?>
141
    </div>
142
                    
143
    <?php if($page['footer_bottom']): ?>
144
      <div id="footer_bottom" class="blockregion">
145
        <?php print render($page['footer_bottom']); ?>
146
      </div>
147
    <?php endif; ?> 
148
  </div><!-- /footer -->
149