Projet

Général

Profil

Paste
Télécharger (4,98 ko) Statistiques
| Branche: | Révision:

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

1
<div id="mainWrapper">
2

    
3
    <!-- Header. -->
4
    <div id="wrapper">
5

    
6
    <!-- Header. -->
7
    <div id="header">
8
            
9
        <div id="logo-floater">
10
                        <?php if ($logo): ?>
11
                <div id="logo">
12
                <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home">
13
                <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo"/>
14
                </a>
15
                </div>
16
            <?php endif; ?>
17
            
18
            <?php if ($site_name || $site_slogan): ?>
19
                <?php if ($site_name): ?>
20
                <div id="site-name"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></div>
21
                <?php endif; ?>
22
                
23
                <?php if ($site_slogan): ?>
24
                <div id="slogan"><?php print $site_slogan; ?></div>
25
                <?php endif; ?>
26
            <?php endif; ?>
27
        </div>
28
        
29
        <div id="topMenu">
30
        <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('class' => array('links main-menu', 'inline', 'clearfix')))); ?>
31
        </div>
32
        
33
        <div id="topSearch">
34
                <?php print render($page['header']); ?>
35
        </div>
36
        
37
        <div id="topSocial">
38
        <ul>                  
39
        <li><a class="twitter tip" href="http://twitter.com/morethanthemes" title="Follow Us on Twitter!"></a></li>
40
        <li><a class="facebook" href="http://www.facebook.com/pages/More-than-just-themes/194842423863081" title="Join Us on Facebook!"></a></li>
41
        <li><a class="rss" href="#" title="Subcribe to Our RSS Feed"></a></li>
42
        </ul>
43
        </div>
44
    
45
    </div><!-- EOF: #header -->
46
    
47
  <!-- Content. -->
48
    <div id="content">
49
    
50
    <?php if ($is_front) {
51
            print $messages;
52
            if ($tabs): print render($tabs); endif; 
53
            print render($tabs2);
54
                        print render($page['content']);
55
                        print render($page['help']);
56
         } else { ?>
57
            <div id="colLeft">
58
            
59
                                <?php print $breadcrumb; ?>
60
                
61
                                <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
62
                <a id="main-content"></a>
63

    
64
                <?php print render($title_prefix); ?>
65
                <?php if ($title): ?>
66
                <h1 class="title"><?php print $title ?></h1>
67
                <?php endif; ?>
68
                <?php print render($title_suffix); ?>
69
                
70
                <?php if ($tabs): ?><?php print render($tabs); ?><?php endif; ?>
71
                
72
                <?php print render($tabs2); ?>
73
                
74
                <?php print $messages; ?>
75
                
76
                <?php print render($page['help']); ?>
77
                
78
                <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
79
                
80
                <div class="clearfix">
81
                <?php print render($page['content']); ?>
82
                </div>
83
                
84
                <?php print $feed_icons ?>
85
                
86
            </div><!-- EOF: #main -->
87
            
88
            <div id="colRight">
89

    
90
            <?php print render($page['sidebar_first']); ?>
91

    
92
            </div><!-- EOF: #sidebar -->
93
         <?php }  ?>
94

    
95
    </div><!-- EOF: #content -->
96
    
97
</div><!-- EOF: #wrapper -->
98
    
99
<!-- Footer -->    
100
<div id="footer">
101
        
102
    <div id="footerInner">
103
    
104
        <div class="blockFooter">
105
            <?php print render($page['footer_first']); ?>
106
        </div>
107
        
108
        <div class="blockFooter">
109
            <?php print render($page['footer_second']); ?>
110
        </div>
111
        
112
        <div class="blockFooter">
113
            <?php print render($page['footer_third']); ?>
114
        </div>
115
        
116
        <div class="blockFooter">
117
            <?php print render($page['footer_fourth']); ?>
118
        </div>
119
        
120
    <div id="secondary-links">
121
    <?php if (isset($secondary_menu)) { ?><?php print theme('links', $secondary_menu, array('class' => 'links', 'id' => 'subnavlist')); ?><?php } ?>
122
    </div>
123
        
124
    <div id="footer-message">
125
        <?php print render($page['footer']); ?>
126
        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 (just) Themes</a>
127
        <div class="footer-logos clearfix">
128
        <a href="http://www.smashingmagazine.com/2010/12/09/journalcrunch-wordpress-3-0-theme-free-theme-for-portfolios-and-magazines/" class="smashing">SmashingMagazine</a>
129
        <a href="http://www.site5.com/" class="site5" title="Site5">Site5</a>
130
        <a href="http://www.drupalizing.com" class="drupalizing" title="Drupalizing">Drupalizing</a>
131
        <a href="http://www.morethanthemes.com" class="mtt" title="More than (just) Themes">More than (just) Themes</a>
132
        </div>
133
    </div>
134
    
135
    </div>
136
    
137
    </div>
138

    
139
</div><!-- EOF: #footer -->
140

    
141
</div>