1
|
<?php
|
2
|
|
3
|
?>
|
4
|
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
|
5
|
|
6
|
<?php print render($title_prefix); ?>
|
7
|
<?php if (!$page): ?>
|
8
|
<h2<?php print $title_attributes; ?> class="title">
|
9
|
<a href="<?php print $node_url; ?>"><?php print $title; ?></a>
|
10
|
</h2>
|
11
|
<?php endif; ?>
|
12
|
<?php print render($title_suffix); ?>
|
13
|
|
14
|
<?php if ($display_submitted): ?>
|
15
|
<div class="meta submitted">
|
16
|
<?php print $user_picture; ?>
|
17
|
<?php
|
18
|
print t('published by !username on !datetime',
|
19
|
array('!username' => $name, '!datetime' => $date));
|
20
|
?>
|
21
|
</div>
|
22
|
<?php endif; ?>
|
23
|
|
24
|
<div class="content clearfix"<?php print $content_attributes; ?>>
|
25
|
<?php
|
26
|
hide($content['comments']);
|
27
|
hide($content['links']);
|
28
|
print render($content);
|
29
|
?>
|
30
|
</div>
|
31
|
|
32
|
<?php
|
33
|
if ($teaser || !empty($content['comments']['comment_form'])) {
|
34
|
unset($content['links']['comment']['#links']['comment-add']);
|
35
|
}
|
36
|
|
37
|
$links = render($content['links']);
|
38
|
if ($links):
|
39
|
?>
|
40
|
<div class="links">
|
41
|
<?php print $links; ?>
|
42
|
</div>
|
43
|
<?php endif; ?>
|
44
|
|
45
|
<?php print render($content['comments']); ?>
|
46
|
|
47
|
</div>
|