-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.tpl.php~
98 lines (87 loc) · 3.94 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<div id="wrapper">
<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>
<div id="header-wrapper">
<header id="header" role="banner" class="clearfix container">
<?php if ($logo): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" class="roll-image" />
</a>
<?php endif; ?>
<?php if ($site_name || $site_slogan): ?>
<div id="site-name-slogan">
<?php if ($site_name): ?>
<?php if ($title): ?>
<div id="site-name">
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
</div>
<?php else: /* Use h1 when the content title is empty */ ?>
<h1 id="site-name">
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
</h1>
<?php endif; ?>
<?php endif; ?>
<?php if ($site_slogan): ?>
<div id="site-slogan"><?php print $site_slogan; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php print render($page['header']); ?>
</header> <!-- /#header -->
</div>
<div id="navigation-wrapper">
<?php if ($main_menu || $page['navigation']): ?>
<nav id="navigation" role="navigation" class="clearfix container">
<?php if ($main_menu) { print $main_menu; } ?>
<?php if ($page['navigation']) { print render($page['navigation']); } ?>
</nav> <!-- /#navigation -->
<?php endif; ?>
</div> <!-- /#navigation-wrapper -->
<div id="wrapper-main" class="clearfix container"><div class="row">
<section id="main" role="main" class="clearfix <?php print $page['sidebar_first'] ? 'col-sm-8' : 'col-sm-12'; ?>">
<?php print $messages; ?>
<a id="main-content"></a>
<?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"><?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="complimentary" class="sidebar clearfix col-sm-4">
<?php print render($page['sidebar_first']); ?>
</aside> <!-- /#sidebar-first -->
<?php endif; ?>
</div></div> <!-- /#wrapper-main -->
<?php if ($page['utility'] || $secondary_menu): ?>
<aside id="utility" role="complimentary">
<?php if ($secondary_menu): ?>
<nav id="utility-nav" role="navigation" class="container">
<?php echo $secondary_menu; ?>
</nav> <!-- /#utility-nav -->
<?php endif; ?>
<?php if ($page['utility']) : ?>
<div class="container">
<?php print render($page['utility']); ?>
</div>
<?php endif; ?>
</aside> <!-- /#utility -->
<?php endif; ?>
<div id="footer-wrapper">
<footer id="footer" role="contentinfo" class="container">
<?php print render($page['footer']) ?>
<div id="site-credit"><a href="http://www.webskillet.com">website by Webskillet | a union shop, worker-owned cooperative and women-owned business</a></div>
</footer> <!-- /#footer -->
</div>
<?php if ($page['popups']): ?>
<aside id="popups" role="complimentary">
<?php print render($page['popups']); ?>
</aside> <!-- /#popups -->
<?php endif; ?>
</div> <!-- /#wrapper -->