-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.tpl.php
99 lines (96 loc) · 3.38 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
99
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title><?php print $head_title ?></title>
<?php print $head; ?>
<?php print $styles; ?>
<?php print $scripts; ?>
</head>
<body class="<?php print $body_classes; ?>">
<!-- CORPUS -->
<?php
if(strpos($content, '<div id="wki-content-left"></div>') !== FALSE)
print '<div id="wki-bodywrap" class="wki-no-text">';
else
print '<div id="wki-bodywrap">';
?>
<!-- HEADER -->
<div id="wki-header">
<div id="wki-nav">
<div id="wki-nav-primary"><?php print theme('links', $primary_links); ?></div>
<div id="wki-nav-secondary"><?php print theme('links', $secondary_links); ?></div>
</div>
<div id="wki-logo"><a href="<?php print $front_page; ?>"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="wki-logo-image" /></a></div>
<div id="wki-sitename"><?php print $site_name; ?></div>
<div id="wki-siteslogan"><?php print $site_slogan; ?></div>
</div>
<!-- /HEADER -->
<!-- BORDERS -->
<div id="wki-border-left"></div>
<div id="wki-border-right"></div>
<!-- /BORDERS -->
<!-- CORPUS -->
<div id="wki-corpus">
<!-- TOPBAR -->
<div id="wki-topbar">
<?php if ($title || $maltedtitle): ?>
<div id="wki-title">
<?php if (!empty($maltedtitle)) {print $maltedtitle;} else {print $title;} ?>
</div>
<?php endif; ?>
<?php if ($tabs): ?>
<div id="wki-tabs"><?php print $tabs; ?></div>
<?php endif; ?>
<?php if ($breadcrumb): ?>
<!--<div id="wki-breadcrumb"><?php print $breadcrumb; ?></div>-->
<?php endif; ?>
<?php if ($mission): ?>
<div id="wki-mission"><?php print $mission; ?></div>
<?php endif; ?>
<?php if ($help): ?>
<!--<div id="wki-help"><?php print $help; ?></div>-->
<?php endif; ?>
<?php if ($messages): ?>
<div id="wki-messages"><?php print $messages; ?></div>
<?php endif; ?>
<?php print $top ?>
</div>
<!-- /TOPBAR -->
<!-- Content Wrap -->
<div id="wki-content-wrap">
<!-- RIGHTBLOCK -->
<div id="wki-block-right">
<?php print $right; ?>
</div>
<!-- /RIGHTBLOCK -->
<!-- LEFTBLOCK -->
<div id="wki-block-left">
<?php print $left; ?>
</div>
<!-- /LEFTBLOCK -->
<!-- CONTENT -->
<div id="wki-content">
<?php print $content; ?>
</div>
<!-- /CONTENT -->
</div>
<!-- /Content Wrap -->
</div>
<!-- /CORPUS -->
<!-- FOOTER -->
<div id="wki-footer">
<div id="wki-footer-box">
<?php print $footerbox; ?>
</div>
<div id="wki-footer-text">
<?php print $footer_message; ?>
<?php print $footer; ?>
</div>
</div>
<!-- /FOOTER -->
</div>
<!-- /BODYWRAP -->
<?php print $closure; ?>
</body>
</html>