forked from rayogram/SimplyCivi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode.tpl.php
34 lines (27 loc) · 871 Bytes
/
node.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
<?php
// $Id$ ?>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clear-block"<?php print $attributes; ?>>
<?php if ($page == 0): ?>
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>" <?php print $title_attributes; ?>><?php print $title ?></a></h2>
<?php endif; ?>
<?php if ($submitted || $terms): ?>
<div class="meta">
<?php if ($submitted): ?>
<div class="submitted"><?php print $submitted ?></div>
<?php endif; ?>
<?php if ($terms): ?>
<div class="terms"><?php print $terms ?></div>
<?php endif;?>
</div>
<?php endif; ?>
<div class="content clear-block">
<?php print $user_picture ?>
<?php print("node.tpl"); print_r($content) ?>
<?php print render($content); ?>
</div>
<?php
if ($links) {
print '<div class="node-links">'. render($content['links']) .'</div>';
}
?>
</div>