Projet

Général

Profil

Paste
Télécharger (1,11 ko) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / themes / sky / templates / node.tpl.php @ 6c38d829

1
<article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
2

    
3
  <?php print $unpublished; ?>
4

    
5
  <?php print render($title_prefix); ?>
6

    
7
  <?php if(!empty($user_picture) || $title || (!empty($submitted) && $display_submitted)): ?>
8
    <header<?php print $header_attributes; ?>>
9

    
10
      <?php print $user_picture; ?>
11

    
12
      <?php if ($title && !$page): ?>
13
        <h1<?php print $title_attributes; ?>>
14
          <a href="<?php print $node_url; ?>" rel="bookmark"><?php print $title; ?></a>
15
        </h1>
16
      <?php endif; ?>
17

    
18
      <?php if ($display_submitted): ?>
19
        <div class="submitted"><?php print $submitted; ?></div>
20
      <?php endif; ?>
21

    
22
    </header>
23
  <?php endif; ?>
24

    
25
  <?php print render($title_suffix); ?>
26

    
27
  <div<?php print $content_attributes; ?>>
28
  <?php
29
    hide($content['comments']);
30
    hide($content['links']);
31
    print render($content);
32
  ?>
33
  </div>
34

    
35
  <?php if ($links = render($content['links'])): ?>
36
    <nav<?php print $links_attributes; ?>><?php print $links; ?></nav>
37
  <?php endif; ?>
38

    
39
  <?php print render($content['comments']); ?>
40

    
41
</article>