Projet

Général

Profil

Paste
Télécharger (3,95 ko) Statistiques
| Branche: | Révision:

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

1
<?php
2
?>
3
    <div id="container">
4
      <div id="header-wrapper">
5
        <div id="header-top">
6
          <div id="logo-floater">
7
            <?php if ($logo || $site_title): ?>
8
            <div id="branding" class="clearfix">
9
              <a href="<?php print $front_page ?>" title="<?php print $site_name_and_slogan ?>">
10
                <?php if ($logo): ?>
11
                <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" id="logo" />
12
                <?php endif; ?>
13
                <span class="site-title"><?php print $site_name ?></span>
14
              </a>
15
            </div>
16
            <?php else: /* Use h1 when the content title is empty */ ?>
17
            <h1 id="branding">
18
              <a href="<?php print $front_page ?>" title="<?php print $site_name_and_slogan ?>">
19
                <?php if ($logo): ?>
20
                <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" id="logo" />
21
                <?php endif; ?>
22
              </a>
23
            </h1>
24
            <?php endif; ?>
25
          </div>
26
          <?php if ($page['header_top_right']): ?>
27
          <div id="header-top-right" class="clearfix">
28
            <?php print render($page['header_top_right']); ?>
29
          </div>
30
          <?php endif; ?>
31
        </div>
32
        <div id="header" class="clearfix">
33
          <?php if ($page['header_left']): ?>
34
          <div id="header-left">
35
            <?php print render($page['header_left']); ?>
36
          </div>
37
          <?php endif; ?>
38
          <?php if ($page['header_right'] || $site_slogan): ?>
39
          <div id="header-right">
40
            <div id="site-slogan">
41
              <?php print $site_slogan ?>
42
            </div>
43
            <?php print render($page['header_right']); ?>
44
          </div>
45
          <?php endif; ?>
46
        </div>
47
      </div>
48
      <div id="main-wrapper">
49
        <div id="main" class="clearfix">
50
          <div id="content"<?php print ($main_menu ? ' class="has-main-menu"' : ''); ?>>
51
            <?php if ($main_menu): ?>
52
            <div id="navigation">
53
              <div class="section">
54
                <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'clearfix')))); ?>
55
              </div>
56
            </div>
57
            <?php endif; ?>
58
            <div id="content-area">
59
              <?php print $breadcrumb; ?>
60
              <?php if ($page['highlight']): ?>
61
              <div id="highlight"><?php print render($page['highlight']); ?></div>
62
              <?php endif; ?>
63
              <a id="main-content"></a>
64
              
65
              <div id="tabs-wrapper" class="clearfix">
66
              
67
                <?php print render($title_prefix); ?>
68
                <?php if ($title): ?>
69
                <h1 class="with-tabs"><?php print $title ?></h1>
70
                <?php endif; ?>
71
                <?php print render($title_suffix); ?>
72
              <?php if ($tabs): ?>
73
                <?php print render($tabs); ?>
74
              <?php endif; ?>
75
              </div>
76
             
77
              <?php print $messages; ?>
78
              <?php print render($page['help']); ?>
79
              <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
80
              <div class="clearfix">
81
                <?php print render($page['content']); ?>
82
              </div>
83
              <?php print $feed_icons ?>
84
            </div>
85
          </div>
86
          <?php if ($page['sidebar_first']): ?>
87
          <div class="sidebar-first sidebar">
88
            <?php print render($page['sidebar_first']); ?>
89
            <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'clearfix')))); ?>
90
          </div>
91
          <?php endif; ?>
92
        </div>
93
      </div>
94
      <div id="page-footer" class="clearfix">
95
        <?php print render($page['footer']); ?>
96
      </div>
97
    </div>