-
Notifications
You must be signed in to change notification settings - Fork 2
/
page.tpl.php
executable file
·87 lines (84 loc) · 2.87 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
<?php
// $Id$
/**
* @file
* Core layout for every page
*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<title><?php print $head_title ?></title>
<?php print $head ?>
<!--[if gte IE 8]><! -->
<?php print $styles ?>
<?php print $scripts ?>
<!--<![endif]-->
<!--<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no" />-->
</head>
<body <?php print phptemplate_body_attributes($is_front, $layout, $logged_in); ?>>
<!-- Header -->
<div id="header">
<div class="container" style="width: <?php print pagewidth(); ?>;">
<?php print $menu; ?>
<?php print $logo; ?>
<?php print $header; ?>
<?php if ($search_box) { ?>
<div class="block block-theme">
<?php print $search_box ?>
</div>
<?php } ?>
</div>
</div>
<!-- Sub Header -->
<?php if ($secondary_links or $subheader) { ?>
<div id="subheader">
<div class="container" style="width: <?php print pagewidth(); ?>;">
<div class="container-inside">
<?php if (isset($secondary_links)) { ?>
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
<?php print $subheader; ?>
<?php } ?>
</div>
</div>
</div>
<?php } ?>
<!-- Content -->
<div id="content">
<div class="container" style="width: <?php print pagewidth(); ?>;">
<?php print $above_content ?>
<div id="above_content_end"></div>
<?php if ($show_messages) { print $messages; } ?>
<?php print $help_text ?>
<?php if ($left) { ?>
<div id="sidebar-left" class="sidebar">
<?php print $left ?>
</div>
<?php } ?>
<?php if ($right) { ?>
<div id="sidebar-right" class="sidebar">
<?php print $right ?>
</div>
<?php } ?>
<div id="center" <?php print phptemplate_body_class($left, $right); ?>>
<?php print $top_content ?>
<?php if ($title): ?>
<h1><?php print $title ?></h1>
<?php endif; ?>
<?php if ($tabs) { print $tabs; } ?>
<?php print $content; ?>
</div>
<div class="clear"></div>
</div>
</div>
<!-- Footer -->
<?php if (theme_get_setting('ubuntu_footer', TRUE)) { ?>
<div id="footer">
<div class="container" style="width: <?php print pagewidth(); ?>;">
<?php print $footer; ?>
<?php print $closure ?>
</div>
</div>
<?php } ?>
</body>
</html>