-
Notifications
You must be signed in to change notification settings - Fork 3
/
page.tpl.php
62 lines (54 loc) · 1.6 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
<?php
if(drupal_is_front_page()) {
unset($page['content']['system_main']['default_message']);
}
global $base_url;
$pageclass = '';
if(preg_match('/^(forum|latest$)/', current_path())) {
$pageclass = " class='wide'";
}
?>
<noscript><style>
node_art_form_group_author_information {
display: block !important;
}
</style></noscript>
<div id='page'<?php print $pageclass;?>>
<div id='topright'><?php print render($page['topright']);?></div>
<a href='<?php print $base_path;?>' id='maintitle'></a>
<div id='menubar'>
<?php print render($page['menubar']);?>
<div id='menubar-right'>
<?php print render($page['menubar-right']);?>
</div>
</div>
<div id='maincontent'>
<div id='left'>
<?php print render($page['left']);?>
<?php if($page['farright']): ?>
<div id='farright'>
<?php print render($page['farright']);?>
</div>
<?php endif; ?>
</div>
<div id='right'>
<?php if($messages): ?>
<div class='messages'><?php print $messages;?></div>
<?php endif; ?>
<?php if($tabs): ?>
<div class='tabs'><?php print render($tabs); ?></div>
<?php endif; ?>
<?php if($action_links): ?>
<div class='action_links'><?php print render($action_links); ?></div>
<?php endif; ?>
<?php if($title != '' && !drupal_is_front_page()): ?>
<div class='pagetitle'><h2><?php
print render($title_prefix);
print $title;
print render($title_suffix);
?></h2></div>
<?php endif; ?>
<?php print render($page['content']);?>
</div>
</div>
</div>