annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
015d06b10d37 initial
dwinter
parents:
diff changeset
1 <?php
015d06b10d37 initial
dwinter
parents:
diff changeset
2 ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
3 <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
015d06b10d37 initial
dwinter
parents:
diff changeset
4 <?php print $user_picture; ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
5 <?php print render($title_prefix); ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
6 <?php if (!$page): ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
7 <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
015d06b10d37 initial
dwinter
parents:
diff changeset
8 <?php endif; ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
9 <?php print render($title_suffix); ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
10 <?php if ($display_submitted): ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
11 <span class="submitted"><?php print $submitted ?></span>
015d06b10d37 initial
dwinter
parents:
diff changeset
12 <?php endif; ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
13 <div class="content clearfix"<?php print $content_attributes; ?>>
015d06b10d37 initial
dwinter
parents:
diff changeset
14 <?php
015d06b10d37 initial
dwinter
parents:
diff changeset
15 // We hide the comments and links now so that we can render them later.
015d06b10d37 initial
dwinter
parents:
diff changeset
16 hide($content['comments']);
015d06b10d37 initial
dwinter
parents:
diff changeset
17 hide($content['links']);
015d06b10d37 initial
dwinter
parents:
diff changeset
18 print render($content);
015d06b10d37 initial
dwinter
parents:
diff changeset
19 ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
20 </div>
015d06b10d37 initial
dwinter
parents:
diff changeset
21
015d06b10d37 initial
dwinter
parents:
diff changeset
22 <div class="clearfix">
015d06b10d37 initial
dwinter
parents:
diff changeset
23 <?php if (!empty($content['links'])): ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
24 <div class="links"><?php print render($content['links']); ?></div>
015d06b10d37 initial
dwinter
parents:
diff changeset
25 <?php endif; ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
26
015d06b10d37 initial
dwinter
parents:
diff changeset
27 <?php print render($content['comments']); ?>
015d06b10d37 initial
dwinter
parents:
diff changeset
28 </div>
015d06b10d37 initial
dwinter
parents:
diff changeset
29
015d06b10d37 initial
dwinter
parents:
diff changeset
30 </div>