diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-10 06:18:35 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-10 06:18:35 +0000 |
| commit | 9b90b4b0cd464424f3f9a4214d265db69b3691dc (patch) | |
| tree | a8e42c5442b5ed06aba7637ba33fcb49af8a833a /modules/comment/views/comments.html.php | |
| parent | 5690e58c4577e9b0a29f0c1d95edc7e6715a2cf6 (diff) | |
Use the theme's avatar as the default if Gravatar doesn't have one.
Diffstat (limited to 'modules/comment/views/comments.html.php')
| -rw-r--r-- | modules/comment/views/comments.html.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index b3757a5c..9b5f7056 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -5,7 +5,8 @@ <li id="gComment-<?= $comment->id ?>"> <p class="gAuthor"> <a href="#"> - <img width="40" height="40" src="<?= $user->avatar_url(40) ?>" + <img width="40" height="40" + src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" class="gAvatar" alt="<?= $comment->author_name() ?>" /> </a> <?= t("on {{date}} <a href=#>{{name}}</a> said", |
