Projet

Général

Profil

Paste
Télécharger (10,2 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / bluemasters / page.tpl.php @ 1c42f191

1
<div id="page">
2

    
3
    <!--header-top-->
4
    <div id="header-top">
5
        <div id="header-top-inside" class="clearfix container_12">
6
                
7
            <div class="grid_7">
8
                <!--header-top-inside-left-->
9
                <div id="header-top-inside-left"><?php print render($page['header']); ?></div>
10
                <!--EOF:header-top-inside-left-->
11
            </div>
12
            
13
            <div class="grid_2">
14
                <!--header-top-inside-left-feed-->
15
                <div id="header-top-inside-left-feed">
16
                    <div id="topSocial">
17
                    <ul>                                                                        
18
                        <li><a class="twitter" href="http://twitter.com/morethanthemes" title="Follow Us on Twitter!"></a></li>
19
                        <li><a class="facebook" href="http://www.facebook.com/pages/More-than-just-themes/194842423863081" title="Join Us on Facebook!"></a></li>
20
                        <li><a class="rss" title="RSS" href="#" title="Subcribe to Our RSS Feed"></a></li>
21
                    </ul>
22
                    </div>
23
                </div>
24
                <!--EOF:header-top-inside-left-feed-->
25
            </div>
26
            
27
            <div class="grid_3">
28
                <!--header-top-inside-left-right-->
29
                <div id="header-top-inside-right"><?php print render($page['search_area']);?></div> 
30
                <!--EOF:header-top-inside-left-right-->
31
            </div>
32
             
33
        </div>
34
    </div>
35
    <!--EOF:header-top-->
36

    
37
    <div id="wrapper">
38

    
39
        <!--header-->
40
        <div id="header" class="clearfix container_12">
41
                
42
            <div class="grid_5">
43
                <!--logo-floater-->
44
                <div id="logo-floater"> 
45
                                <?php if ($logo): ?>
46
                    <a href="<?php print check_url($front_page); ?>" title="<?php print t('Home'); ?>">
47
                    <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
48
                    </a>
49
                    <?php endif; ?>
50
                    
51
                    <?php if ($site_name || $site_slogan): ?>
52
                    <div class="clearfix">
53
                                        <?php if ($site_name): ?>
54
                        <span id="site-name"><a href="<?php print check_url($front_page); ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></span>
55
                        <?php endif; ?>
56
                        
57
                        <?php if ($site_slogan): ?>
58
                        <span id="slogan"><?php print $site_slogan; ?></span>
59
                        <?php endif; ?>
60
                    </div>
61
                    <?php endif; ?>
62
                </div> 
63
                <!--EOF:logo-floater-->
64
            </div>
65
            
66
            <div class="grid_7">
67
                <!--navigation-->
68
                <div id="navigation">
69
                    <?php if ($page['navigation']) :?>
70
                    <?php print drupal_render($page['navigation']); ?>
71
                    <?php else :
72
                    if (module_exists('i18n_menu')) {
73
                    $main_menu_tree = i18n_menu_translated_tree(variable_get('menu_main_links_source', 'main-menu'));
74
                    } else { $main_menu_tree = menu_tree(variable_get('menu_main_links_source', 'main-menu')); }
75
                    print drupal_render($main_menu_tree);
76
                    endif; ?>
77
                </div>
78
                <!--EOF:navigation-->
79
            </div>
80
           
81
        </div><!--EOF:header-->
82
        
83
        <div class="container_12">
84
            <div class="grid_12">
85
                <div id="main-area" class="clearfix">
86
                
87
                    <div id="main-area-inside" class="clearfix">
88
                        
89
                        <?php if ($page['sidebar_first']) { ?>
90
                        <div class="grid_8 alpha omega">
91
                        <?php } else { ?>
92
                        <div class="grid_12 alpha omega">    
93
                        <?php } ?>
94

    
95
                            <div id="main"  class="inside clearfix">
96
                                
97
                                <?php if ($page['highlighted']): ?><div id="highlighted" class="clearfix"><?php print render($page['highlighted']); ?></div><?php endif; ?>
98
                           
99
                                            <?php if ($messages): ?>
100
                                <div class="clearfix">
101
                                            <?php print $messages; ?>
102
                                </div>
103
                                <?php endif; ?>
104
                         
105
                                <?php if ($page['help']): ?>
106
                                <div id="help">
107
                                <?php print render($page['help']); ?>
108
                                </div>
109
                                <?php endif; ?>
110
                                
111
                                <?php if ($action_links): ?>
112
                                <ul class="action-links">
113
                                            <?php print render($action_links); ?>
114
                                </ul>
115
                                            <?php endif; ?>
116
                                
117
                                <?php print render($title_prefix); ?>
118
                                <?php if ($title): ?>
119
                                <h1 class="title"><?php print $title ?></h1>
120
                                <?php endif; ?>
121
                                <?php print render($title_suffix); ?>
122
                                
123
                                <?php if ($tabs): ?><?php print render($tabs); ?><?php endif; ?>
124
                                
125
                                <?php print render($page['content']); ?>
126
                                
127
                                <?php if ($feed_icons): ?><?php print $feed_icons; ?><?php endif; ?>
128
                                
129
                            </div>
130
                            <!--main-->
131
                        </div>
132
                    
133
                                <?php if($page['sidebar_first']): ?>
134
                        <div class="grid_4 alpha omega">
135
                            <div id="right" class="clearfix">
136
                                
137
                                <div id="network" class="block">
138
                                    <h2>Network Connect</h2>  
139
                                    <div class="network">
140
                                        <a href="http://twitter.com/morethanthemes" class="twitter">Twitter</a>
141
                                        <a href="http://www.facebook.com/pages/More-than-just-themes/194842423863081" class="facebook">Facebook</a>
142
                                        <a href="http://www.flickr.com/photos/56103643@N07/" class="flickr">Flickr</a>
143
                                        <a href="#" class="in">In</a>
144
                                        <a href="#" class="tumblr">Tumblr</a>
145
                                        <a href="http://www.youtube.com/morethanthemes" class="youtube">Youtube</a>
146
                                    </div>
147
                                </div>
148
                                    
149
                                <?php print render($page['sidebar_first']); ?>
150
                            
151
                            </div>
152
                            <!--right-->
153
                        </div>
154
                        <?php endif; ?>
155
                        
156
                    </div>
157
                
158
                </div>
159
                <!--main-area-->
160
            </div>
161
        </div>
162
        
163
    </div><!-- /#wrapper-->
164

    
165
    <!--footer-->
166
    <div id="footer">
167
        <div id="footer-inside" class="clearfix container_12">
168
            
169
            <div class="grid_4">
170
                    <div id="footer-left">
171
                    <div class="grid_2 alpha">
172
                                <div id="footer-left-1">
173
                                        <?php print render($page['footer_left_1']);?>
174
                                </div>
175
                    </div>
176
                    <div class="grid_2 omega">
177
                        <div id="footer-left-2">
178
                                        <?php print render($page['footer_left_2']);?>
179
                                </div>
180
                    </div>
181
                </div>
182
            </div>
183
            
184
            <div class="grid_4">
185
                <div id="footer-center">
186
                        <?php print render($page['footer_center']);?>
187
                </div>
188
            </div>
189
            
190
            <div class="grid_4">
191
                <div id="footer-right">
192
                        <?php print render($page['footer_right']);?>
193
                </div>
194
            </div>
195
            
196
        </div>
197
    </div>
198
    <!--EOF:footer-->
199

    
200
    <!--footer-bottom-->
201
    <div id="footer-bottom">
202
        
203
        <div id="footer-bottom-inside" class="clearfix container_12">
204

    
205
            <div class="grid_5">
206
                    <div id="footer-bottom-inside-left">
207
                            <?php print render($page['footer']);?>
208
                    </div>
209
            </div>
210

    
211
            <div class="grid_7">
212
                    <div id="footer-bottom-inside-right">
213
                        <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix')))); ?>
214
                    <?php if ($page['footer_bottom']) :?>
215
                <?php print render($page['footer_bottom']); ?>
216
                <?php endif; ?>
217
                </div>
218
            </div>
219

    
220
            <div class="grid_12">
221
                   <div class="credits-container" style="clear:both; padding-top:12px;">Ported to Drupal for the Open Source Community by <a href="http://www.drupalizing.com">Drupalizing</a>, a Project of <a href="http://www.morethanthemes.com">More than Themes</a></div>     
222
            </div>
223

    
224
        </div>
225

    
226
        <div class="container_12">
227

    
228
            <div class="grid_12">
229
                <div class="credits-container clearfix">
230
                    <a title="Brought To You By: www.SmashingMagazine.com" class="smashing" href="http://www.smashingmagazine.com" target="_blank">Brought to you By: www.SmashingMagazine.com</a>
231
                    <a title="Drupalizing" class="drupalizing" href="http://www.drupalizing.com" target="_blank">Drupalizing</a> 
232
                </div>  
233
            </div> 
234
        
235
        </div> 
236
            
237
    </div>
238
    <!--EOF:footer-bottom-->
239

    
240
</div><!--EOF:page-->