1 |
08ea5e99
|
Andreas Kohlbecker
|
<?php
|
2 |
|
|
/**
|
3 |
|
|
* @file
|
4 |
|
|
* Template file to theme a Drupal node ($node object).
|
5 |
|
|
*
|
6 |
|
|
* See modules/node/node.tpl.php for more information about available variables.
|
7 |
|
|
*/
|
8 |
|
|
?>
|
9 |
|
|
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
10 |
|
|
|
11 |
|
|
<?php print $user_picture; ?>
|
12 |
|
|
|
13 |
|
|
<?php /*print render($title_prefix); ?>
|
14 |
|
|
<?php if (!$page): ?>
|
15 |
|
|
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
|
16 |
|
|
<?php endif; ?>
|
17 |
|
|
<?php print render($title_suffix); */?>
|
18 |
|
|
|
19 |
|
|
<?php /*if ($display_submitted): ?>
|
20 |
|
|
<span class="submitted"><?php print $submitted ?></span>
|
21 |
|
|
<?php endif;*/ ?>
|
22 |
|
|
|
23 |
|
|
<div class="content clearfix"<?php print $content_attributes; ?>>
|
24 |
|
|
<?php
|
25 |
|
|
// We hide the comments and links now so that we can render them later.
|
26 |
|
|
hide($content['comments']);
|
27 |
|
|
hide($content['links']);
|
28 |
|
|
// we are going to use a body with fixed file urls, see template.php
|
29 |
|
|
hide($content['body']);
|
30 |
|
|
|
31 |
|
|
print render($content);
|
32 |
|
|
print $fixed_body;
|
33 |
|
|
?>
|
34 |
|
|
</div>
|
35 |
|
|
|
36 |
|
|
<div class="clearfix">
|
37 |
|
|
<?php if (!empty($content['links'])): ?>
|
38 |
|
|
<div class="links"><?php print render($content['links']); ?></div>
|
39 |
|
|
<?php endif; ?>
|
40 |
|
|
|
41 |
|
|
<?php print render($content['comments']); ?>
|
42 |
|
|
</div>
|
43 |
|
|
|
44 |
|
|
</div>
|