1
|
<?php if ($page['help'] || ($show_messages && $messages)): ?>
|
2
|
<div id='console'><div class='limiter clearfix'>
|
3
|
<?php print render($page['help']); ?>
|
4
|
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
5
|
</div></div>
|
6
|
<?php endif; ?>
|
7
|
|
8
|
<?php if ($page['header']): ?>
|
9
|
<div id='header'><div class='limiter clearfix'>
|
10
|
<?php print render($page['header']); ?>
|
11
|
</div></div>
|
12
|
<?php endif; ?>
|
13
|
|
14
|
<div id='branding'><div class='limiter clearfix'>
|
15
|
<?php if ($site_name): ?><h1 class='site-name'><?php print $site_name ?></h1><?php endif; ?>
|
16
|
</div></div>
|
17
|
|
18
|
<div id='navigation'><div class='limiter clearfix'>
|
19
|
<?php if (isset($main_menu)) : ?>
|
20
|
<?php print theme('links', array('links' => $main_menu, 'attributes' => array('class' => 'links main-menu'))) ?>
|
21
|
<?php endif; ?>
|
22
|
<?php if (isset($secondary_menu)) : ?>
|
23
|
<?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('class' => 'links secondary-menu'))) ?>
|
24
|
<?php endif; ?>
|
25
|
</div></div>
|
26
|
|
27
|
<?php if ($page['highlighted']): ?>
|
28
|
<div id='highlighted'><div class='limiter clearfix'>
|
29
|
<?php print render($page['highlighted']); ?>
|
30
|
</div></div>
|
31
|
<?php endif; ?>
|
32
|
|
33
|
<div id='page'><div class='limiter clearfix'>
|
34
|
|
35
|
<?php if ($page['sidebar_first']): ?>
|
36
|
<div id='left' class='clearfix'><?php print render($page['sidebar_first']) ?></div>
|
37
|
<?php endif; ?>
|
38
|
|
39
|
<div id='main-content' class='clearfix'>
|
40
|
<?php if ($breadcrumb) print $breadcrumb; ?>
|
41
|
<?php print render($title_prefix); ?>
|
42
|
<?php if ($title): ?><h1 class='page-title'><?php print $title ?></h1><?php endif; ?>
|
43
|
<?php print render($title_suffix); ?>
|
44
|
<?php if ($primary_local_tasks): ?><ul class='links clearfix'><?php print render($primary_local_tasks) ?></ul><?php endif; ?>
|
45
|
<?php if ($secondary_local_tasks): ?><ul class='links clearfix'><?php print render($secondary_local_tasks) ?></ul><?php endif; ?>
|
46
|
<?php if ($action_links): ?><ul class='links clearfix'><?php print render($action_links); ?></ul><?php endif; ?>
|
47
|
<div id='content' class='clearfix'><?php print render($page['content']) ?></div>
|
48
|
</div>
|
49
|
|
50
|
<?php if ($page['sidebar_second']): ?>
|
51
|
<div id='right' class='clearfix'><?php print render($page['sidebar_second']) ?></div>
|
52
|
<?php endif; ?>
|
53
|
|
54
|
</div></div>
|
55
|
|
56
|
<div id="footer"><div class='limiter clearfix'>
|
57
|
<?php print $feed_icons ?>
|
58
|
<?php print render($page['footer']) ?>
|
59
|
</div></div>
|