-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode-kontributor.tpl.php
executable file
·53 lines (48 loc) · 1.46 KB
/
node-kontributor.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
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
<?php if ($page == 0): ?>
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
<?php else: ?>
<h2 class="node-title"><?php print $title ?></h2>
<?php endif; ?>
<?php if ($date || $authors): ?>
<div class="node-submit-info">
<?php if ($authors): ?>
<?php print $authors ?>
<?php endif; ?>
<?php if ($terms): ?>
<?php print $terms ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($submitted): ?>
<div class="meta">
<?php if ($submitted): ?>
<div class="submitted"><?php print $submitted ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="content clear-block">
<?php print $picture ?>
<?php if ($style_teaser_differently): ?>
<div class="node-summary"><?php print $teaser; ?></div>
<?php endif; ?>
<?php print $content ?>
<div id="embedded-views">
<h3><?php print $kontribusi ?> oleh <?php print $title ?></h3>
<?php
$viewname = 'penulis';
$display_id = 'block_2';
$arg1 = $node->nid;
print views_embed_view($viewname, $display_id, $arg1);
?>
</div>
<?php if ($tags): ?>
<span class="tags"><?php print $tags ?></span>
<?php endif; ?>
</div>
</div>
<?php
if ($links) {
print '<div class="node-links">'. $links .'</div>';
}
?>