Projet

Général

Profil

Paste
Télécharger (992 octets) Statistiques
| Branche: | Révision:

root / drupal7 / themes / garland / node.tpl.php @ b75b6b8b

1 85ad3d82 Assos Assos
<?php
2
?>
3
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
4
5
  <?php print $user_picture; ?>
6
7
  <?php print render($title_prefix); ?>
8
  <?php if (!$page): ?>
9
    <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
10
  <?php endif; ?>
11
  <?php print render($title_suffix); ?>
12
13
  <?php if ($display_submitted): ?>
14
    <span class="submitted"><?php print $submitted ?></span>
15
  <?php endif; ?>
16
17
  <div class="content clearfix"<?php print $content_attributes; ?>>
18
    <?php
19
      // We hide the comments and links now so that we can render them later.
20
      hide($content['comments']);
21
      hide($content['links']);
22
      print render($content);
23
    ?>
24
  </div>
25
26
  <div class="clearfix">
27
    <?php if (!empty($content['links'])): ?>
28
      <div class="links"><?php print render($content['links']); ?></div>
29
    <?php endif; ?>
30
31
    <?php print render($content['comments']); ?>
32
  </div>
33
34
</div>