1
|
<?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
|
<?php print $user_picture; ?>
|
11
|
<?php /*print render($title_prefix); ?>
|
12
|
<?php if (!$page): ?>
|
13
|
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
|
14
|
<?php endif; ?>
|
15
|
<?php print render($title_suffix);*/ ?>
|
16
|
|
17
|
<?php if ($display_submitted): ?>
|
18
|
<span class="submitted"><?php print $submitted ?></span>
|
19
|
<?php endif; ?>
|
20
|
<div class="content clearfix"<?php print $content_attributes; ?>>
|
21
|
<?php
|
22
|
// We hide the comments and links now so that we can render them later.
|
23
|
hide($content['comments']);
|
24
|
hide($content['links']);
|
25
|
// We are going to use a body with fixed file urls, see template.php.
|
26
|
hide($content['body']);
|
27
|
// $content['comments']['#printed'] = FALSE;
|
28
|
print render($content);
|
29
|
print $fixed_body;
|
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
|
</div>
|