1
|
<?php if ($is_front || arg(0)=='taxonomy') {
|
2
|
|
3
|
if (!variable_get('isFirstNoStickyNode', $default = NULL)){
|
4
|
if (!$node->sticky) {
|
5
|
print '<div class="clearfix" style="clear:both;"></div>';
|
6
|
variable_set('isFirstNoStickyNode', true); }
|
7
|
} ?>
|
8
|
|
9
|
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> node-front <?php if (arg(0)=='taxonomy') { print ' node-taxonomy'; } ?>"<?php print $attributes; ?>>
|
10
|
|
11
|
<div class="nodeInner">
|
12
|
|
13
|
<?php print $user_picture; ?>
|
14
|
|
15
|
<?php print render($title_prefix); ?>
|
16
|
<?php if (!$page): ?>
|
17
|
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
|
18
|
<?php endif; ?>
|
19
|
<?php print render($title_suffix); ?>
|
20
|
|
21
|
<div class="content clearfix"<?php print $content_attributes; ?>>
|
22
|
<?php
|
23
|
|
24
|
hide($content['comments']);
|
25
|
hide($content['links']);
|
26
|
print render($content);
|
27
|
?>
|
28
|
</div>
|
29
|
|
30
|
<div class="clearfix">
|
31
|
<?php if (!empty($content['links'])): ?>
|
32
|
<div class="links"><?php print render($content['links']); ?></div>
|
33
|
<?php endif; ?>
|
34
|
|
35
|
<?php print render($content['comments']); ?>
|
36
|
</div>
|
37
|
|
38
|
</div>
|
39
|
|
40
|
</div>
|
41
|
|
42
|
<?php } else { ?>
|
43
|
|
44
|
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
45
|
|
46
|
<?php print $user_picture; ?>
|
47
|
|
48
|
<?php print render($title_prefix); ?>
|
49
|
<?php if (!$page): ?>
|
50
|
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
|
51
|
<?php endif; ?>
|
52
|
<?php print render($title_suffix); ?>
|
53
|
|
54
|
<?php if ($display_submitted): ?>
|
55
|
<div class="submitted"><?php print $submitted ?></div>
|
56
|
<?php endif; ?>
|
57
|
|
58
|
<div class="content clearfix"<?php print $content_attributes; ?>>
|
59
|
<?php
|
60
|
|
61
|
hide($content['comments']);
|
62
|
hide($content['links']);
|
63
|
print render($content);
|
64
|
?>
|
65
|
</div>
|
66
|
|
67
|
<div class="clearfix">
|
68
|
<?php if (!empty($content['links'])): ?>
|
69
|
<div class="links"><?php print render($content['links']); ?></div>
|
70
|
<?php endif; ?>
|
71
|
|
72
|
<?php print render($content['comments']); ?>
|
73
|
</div>
|
74
|
|
75
|
</div>
|
76
|
|
77
|
<?php } ?>
|