Projet

Général

Profil

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

root / drupal7 / sites / all / themes / simplecorp / comment.tpl.php @ b9383c72

1
<article class="<?php print $classes; ?> comment clearfix"<?php print $attributes; ?>>
2
    
3
    <header class="comment-author vcard">
4

    
5
        <?php print $picture ?>
6

    
7
        <?php if ($new): ?>
8
        <span class="new"><?php print $new ?></span>
9
        <?php endif; ?>
10
        
11
        <div class="authormeta">
12
            <?php print render($title_prefix); ?>
13
            <h3 class="comment-author"<?php print $title_attributes; ?>><cite><?php print $author ?></cite></h3>
14
            <?php print render($title_suffix); ?>
15
            <span class="datetime">
16
                <div class="submitted">
17
                <?php print $permalink; ?>,
18
                <?php print $submitted_month_c; ?>
19
                <?php print $submitted_day_c; ?>,
20
                <?php print $submitted_year_c; ?>
21
                </div>
22
            </span>
23
        </div>
24

    
25
    </header>
26

    
27
    <div class="content comment-text"<?php print $content_attributes; ?>>
28

    
29
        <?php print render($title_prefix); ?>
30
        <h3<?php print $title_attributes; ?>><?php print $title ?></h3>
31
        <?php print render($title_suffix); ?>
32
      
33
        <?php // We hide the comments and links now so that we can render them later.
34
        hide($content['links']);
35
        print render($content); ?>
36
        <?php if ($signature): ?>
37
        <div class="user-signature clearfix">
38
        <?php print $signature ?>
39
        </div>
40
        <?php endif; ?>
41

    
42
    </div>
43

    
44
    <?php print render($content['links']) ?>
45

    
46
</article>