summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/views/admin_comments.html.php5
-rw-r--r--modules/comment/views/comment.html.php2
-rw-r--r--modules/comment/views/comments.html.php6
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 311a27c9..5b2d2ca4 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -91,8 +91,9 @@
<input type="checkbox" name="delete_comments[]" value="<?= $comment->id ?>" />
</td>
<td>
- <a href="#"><img src="<?= $theme->url("images/avatar.jpg") ?>"
- alt="<?= $comment->author_name() ?>"/></a><br/>
+ <a href="#"><img width="40" height="40" src="<?= $user->avatar_url(40) ?>"
+ class="gAvatar" alt="<?= $comment->author_name() ?>" /></a>
+ <br/>
<a href="mailto:<?= $comment->author_email() ?>"
title="<?= $comment->author_email() ?>"> <?= $comment->author_name() ?> </a>
</td>
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php
index 59b00b73..86f635d3 100644
--- a/modules/comment/views/comment.html.php
+++ b/modules/comment/views/comment.html.php
@@ -2,7 +2,7 @@
<li id="gComment-<?= $comment->id; ?>">
<p class="gAuthor">
<a href="#">
- <img src="<?= $theme->url("images/avatar.jpg") ?>"
+ <img width="40" height="40" src="<?= $user->avatar_url(40) ?>"
class="gAvatar" alt="<?= $comment->author_name() ?>" />
</a>
<?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?>
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 7f82241e..b3757a5c 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -5,10 +5,12 @@
<li id="gComment-<?= $comment->id ?>">
<p class="gAuthor">
<a href="#">
- <img src="<?= $theme->url("images/avatar.jpg") ?>"
+ <img width="40" height="40" src="<?= $user->avatar_url(40) ?>"
class="gAvatar" alt="<?= $comment->author_name() ?>" />
</a>
- <? printf(t("on %s <a href=#>%s</a> said"), date("Y-M-d H:i:s", $comment->created), $comment->author_name()) ?>
+ <?= t("on {{date}} <a href=#>{{name}}</a> said",
+ array("date" => date("Y-M-d H:i:s", $comment->created),
+ "name" => $comment->author_name())); ?>
</p>
<div>
<?= $comment->text ?>