You are here

comment.tpl.php in Commerce Kickstart 7.2

File

themes/commerce_kickstart_theme/templates/comment.tpl.php
View source
<article<?php

print $attributes;
?>>
  <header>
    <?php

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

if ($title) {
  ?>
      <h3<?php

  print $title_attributes;
  ?>><?php

  print $title;
  ?></h3>
    <?php

}
?>
    <?php

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

if ($new) {
  ?>
      <em class="new"><?php

  print $new;
  ?></em>
    <?php

}
?>
    <?php

if (isset($unpublished)) {
  ?>
      <em class="unpublished"><?php

  print $unpublished;
  ?></em>
    <?php

}
?>
  </header>

  <?php

print $picture;
?>

  <footer class="comment-submitted">
   <?php

print t('By !username on !datetime', array(
  '!username' => $author,
  '!datetime' => '<time datetime="' . $datetime . '">' . $created . '</time>',
));
?>
  </footer>

  <div<?php

print $content_attributes;
?>>
    <?php

hide($content['links']);
print render($content);
?>
  </div>

  <?php

if ($signature) {
  ?>
    <div class="user-signature"><?php

  print $signature;
  ?></div>
  <?php

}
?>

  <?php

if (!empty($content['links'])) {
  ?>
    <nav class="links comment-links clearfix"><?php

  print render($content['links']);
  ?></nav>
  <?php

}
?>

</article>