1 |
87dbc3bf
|
Benjamin Luce
|
<?php
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
?>
|
10 |
|
|
<article class="node-<?php print $node->nid; ?> <?php print $classes; ?> clearfix"<?php print $attributes; ?>>
|
11 |
|
|
|
12 |
|
|
<?php if ($title_prefix || $title_suffix || $display_submitted || $unpublished || !$page && $title): ?>
|
13 |
|
|
<header>
|
14 |
|
|
<?php print render($title_prefix); ?>
|
15 |
|
|
<?php if (!$page && $title): ?>
|
16 |
|
|
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
|
17 |
|
|
<?php endif; ?>
|
18 |
|
|
<?php print render($title_suffix); ?>
|
19 |
|
|
|
20 |
|
|
<?php if ($display_submitted): ?>
|
21 |
|
|
<p class="submitted">
|
22 |
|
|
<?php print $user_picture; ?>
|
23 |
|
|
<?php print $submitted; ?>
|
24 |
|
|
</p>
|
25 |
|
|
<?php endif; ?>
|
26 |
|
|
|
27 |
|
|
<?php if ($unpublished): ?>
|
28 |
|
|
<mark class="unpublished"><?php print t('Unpublished'); ?></mark>
|
29 |
|
|
<?php endif; ?>
|
30 |
|
|
</header>
|
31 |
|
|
<?php endif; ?>
|
32 |
|
|
|
33 |
|
|
<?php
|
34 |
|
|
|
35 |
|
|
hide($content['comments']);
|
36 |
|
|
hide($content['links']);
|
37 |
|
|
print render($content);
|
38 |
|
|
?>
|
39 |
|
|
|
40 |
|
|
<?php print render($content['links']); ?>
|
41 |
|
|
|
42 |
|
|
<?php print render($content['comments']); ?>
|
43 |
|
|
|
44 |
|
|
</article> |