summaryrefslogtreecommitdiff
path: root/modules/comment/views/comments.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-10 05:56:11 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-10 05:56:11 +0000
commita5c4e3d46592eddf0c23947727c2c13b03a8841f (patch)
tree049f8d94a832aefc8717ba1bb97363d22381a59b /modules/comment/views/comments.html.php
parenta7feeb576f491f285cb76cba0b99e01e7a3ae390 (diff)
Integrate Gravatar. Boy, that was easy.
Diffstat (limited to 'modules/comment/views/comments.html.php')
-rw-r--r--modules/comment/views/comments.html.php6
1 files changed, 4 insertions, 2 deletions
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 ?>