Projet

Général

Profil

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

root / drupal7 / sites / all / themes / kanji / comment.tpl.php @ 87dbc3bf

1
<div class="comment<?php print ($new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
2
  <div class="date">
3
    <div class="textdate">
4
      <div class="day"><?php print format_date($comment->created, 'custom', 'j'); ?></div>
5
      <div class="month"><?php print format_date($comment->created, 'custom', 'M'); ?></div>
6
          </div>
7
  </div>
8
  
9
  <?php print render($title_prefix); ?>
10
    <h3<?php print $title_attributes; ?>><?php print $title ?></h3>
11
  <?php print render($title_suffix); ?>
12
    
13
  <span class="submitted"><?php print t('Submitted by !username on !datetime', array('!username' => $author, '!datetime' => $created)); ?></span>
14
        <div class="clear-block">
15
    <?php if ($new) : ?>
16
      <span class="new"><?php print $new ?></span>
17
    <?php endif; ?>
18

    
19
          <?php if($picture) { ?>
20
                    <?php print $picture ?>
21
          <?php } ?>
22
        
23
                <div id="commentcontent">
24
      <div class="content">
25
        <?php
26
        hide($content['links']);
27
        print render($content);
28
        ?>
29
        <?php if($signature): ?>
30
          <div class="clear-block">
31
            <div></div>
32
            <?php print $signature ?>
33
          </div>
34
        <?php endif; ?>
35
      </div>
36
    </div>
37
          
38
          <div class="permalink-comment">
39
      <?php print l('#'. $comment->cid, 'node/'. $comment->nid, array('fragment' => 'comment-'. $comment->cid)); ?>
40
    </div>
41
    
42
    <?php if($content['links']): ?>
43
      <div class="links"><?php print render($content['links']) ?></div>
44
    <?php endif; ?>
45
        </div>
46
</div>