-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.tpl.php
executable file
·60 lines (54 loc) · 2.7 KB
/
page.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<div id="wrapper" class="clearfix">
<div id="skip-link">
<a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
<?php if ($main_menu): ?>
<a href="#navigation" class="element-invisible element-focusable"><?php print t('Skip to navigation'); ?></a>
<?php endif; ?>
</div>
<header id="header" role="banner" class="clearfix">
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" id="logo">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
</a>
<?php endif; ?>
<?php print render($page['header']); ?>
</header> <!-- /#header -->
<?php if ($main_menu || $secondary_menu || $page['navigation']): ?>
<nav id="navigation" role="navigation" class="clearfix">
<?php if ($page['navigation']): ?> <!--if block in navigation region, override $main_menu and $secondary_menu-->
<?php print render($page['navigation']); ?>
<?php endif; ?>
<?php if (!$page['navigation']): ?>
<?php if ($main_menu): print $main_menu; endif; ?>
<?php //if ($secondary_menu): print $secondary_menu; endif; ?>
<?php endif; ?>
</nav> <!-- /#navigation -->
<?php endif; ?>
<?php if ($breadcrumb): print $breadcrumb; endif;?>
<section id="main" role="main" class="clearfix">
<?php print $messages; ?>
<a id="main-content"></a>
<?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
<?php print render($title_prefix); ?>
<?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
<?php print render($title_suffix); ?>
<?php if (!empty($tabs['#primary'])): ?><div class="tabs-wrapper clearfix"><?php print render($tabs); ?></div><?php endif; ?>
<?php print render($page['help']); ?>
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
<?php print render($page['content']); ?>
</section> <!-- /#main -->
<?php if ($page['sidebar_first']): ?>
<aside id="sidebar-first" role="complementary" class="sidebar clearfix">
<?php print render($page['sidebar_first']); ?>
</aside> <!-- /#sidebar-first -->
<?php endif; ?>
<?php if ($page['sidebar_second']): ?>
<aside id="sidebar-second" role="complementary" class="sidebar clearfix">
<?php print render($page['sidebar_second']); ?>
</aside> <!-- /#sidebar-second -->
<?php endif; ?>
<footer id="footer" role="contentinfo" class="clearfix">
<?php print render($page['footer']) ?>
<?php print $feed_icons ?>
</footer> <!-- /#footer -->
</div> <!-- /#wrapper -->