comparison node.tpl.php @ 0:65b7937bab7b

intertial
author dwinter
date Fri, 20 Jun 2014 09:39:25 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:65b7937bab7b
1 <?php
2 ?>
3 <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
4 <?php print $user_picture; ?>
5 <?php print render($title_prefix); ?>
6 <?php if (!$page): ?>
7 <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
8 <?php endif; ?>
9 <?php print render($title_suffix); ?>
10 <?php if ($display_submitted): ?>
11 <span class="submitted"><?php print $submitted ?></span>
12 <?php endif; ?>
13
14
15 <?php if($node->type != 'blog'):?>
16 <?php //want node references already at the beginning
17 if (!empty($content['links']['nodereference_url'])): ?>
18 <div class="clearfix nodereference-top">
19 <div class="links"><?php print render($content['links']['nodereference_url']); ?></div>
20 </div>
21 <?php endif; ?>
22 <?php endif;?>
23
24 <div class="content clearfix"<?php print $content_attributes; ?>>
25 <?php
26 // We hide the comments and links now so that we can render them later.
27 hide($content['comments']);
28 hide($content['links']);
29 print render($content);
30 ?>
31 </div>
32
33 <div class="clearfix">
34 <?php if (!empty($content['links'])): ?>
35 <div class="links"><?php print render($content['links']); ?></div>
36 <?php endif; ?>
37
38 <?php print render($content['comments']); ?>
39 </div>
40
41
42
43 </div>