Projet

Général

Profil

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

root / drupal7 / themes / garland / page.tpl.php @ c7768a53

1
<?php
2
?>
3
  <?php print render($page['header']); ?>
4

    
5
  <div id="wrapper">
6
    <div id="container" class="clearfix">
7

    
8
      <div id="header">
9
        <div id="logo-floater">
10
        <?php if ($logo || $site_title): ?>
11
          <?php if ($title): ?>
12
            <div id="branding"><strong><a href="<?php print $front_page ?>">
13
            <?php if ($logo): ?>
14
              <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" />
15
            <?php endif; ?>
16
            <?php print $site_html ?>
17
            </a></strong></div>
18
          <?php else: /* Use h1 when the content title is empty */ ?>
19
            <h1 id="branding"><a href="<?php print $front_page ?>">
20
            <?php if ($logo): ?>
21
              <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" />
22
            <?php endif; ?>
23
            <?php print $site_html ?>
24
            </a></h1>
25
        <?php endif; ?>
26
        <?php endif; ?>
27
        </div>
28

    
29
        <?php if ($primary_nav): print $primary_nav; endif; ?>
30
        <?php if ($secondary_nav): print $secondary_nav; endif; ?>
31
      </div> <!-- /#header -->
32

    
33
      <?php if ($page['sidebar_first']): ?>
34
        <div id="sidebar-first" class="sidebar">
35
          <?php print render($page['sidebar_first']); ?>
36
        </div>
37
      <?php endif; ?>
38

    
39
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
40
          <?php print $breadcrumb; ?>
41
          <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
42
          <a id="main-content"></a>
43
          <?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
44
          <?php print render($title_prefix); ?>
45
          <?php if ($title): ?>
46
            <h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1>
47
          <?php endif; ?>
48
          <?php print render($title_suffix); ?>
49
          <?php if ($tabs): ?><?php print render($tabs); ?></div><?php endif; ?>
50
          <?php print render($tabs2); ?>
51
          <?php print $messages; ?>
52
          <?php print render($page['help']); ?>
53
          <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
54
          <div class="clearfix">
55
            <?php print render($page['content']); ?>
56
          </div>
57
          <?php print $feed_icons ?>
58
          <?php print render($page['footer']); ?>
59
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
60

    
61
      <?php if ($page['sidebar_second']): ?>
62
        <div id="sidebar-second" class="sidebar">
63
          <?php print render($page['sidebar_second']); ?>
64
        </div>
65
      <?php endif; ?>
66

    
67
    </div> <!-- /#container -->
68
  </div> <!-- /#wrapper -->