Mercurial > hg > MPIWG-drupal-modules
comparison sites/all/themes/mpiwgDev/node.tpl.php @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:015d06b10d37 |
---|---|
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 <div class="content clearfix"<?php print $content_attributes; ?>> | |
14 <?php | |
15 // We hide the comments and links now so that we can render them later. | |
16 hide($content['comments']); | |
17 hide($content['links']); | |
18 print render($content); | |
19 ?> | |
20 </div> | |
21 | |
22 <div class="clearfix"> | |
23 <?php if (!empty($content['links'])): ?> | |
24 <div class="links"><?php print render($content['links']); ?></div> | |
25 <?php endif; ?> | |
26 | |
27 <?php print render($content['comments']); ?> | |
28 </div> | |
29 | |
30 </div> |