summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/list.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-09 13:08:06 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-08-09 13:08:06 +0200
commite8dda2c3faf5eb61b68d5afcbea13c5802484b4a (patch)
tree561fb5286cbdb9ff98a08af6ce3e224561bf6671 /lib/plugins/extension/helper/list.php
parent7944abddde7619d8d59740cde19743c090d4fd3d (diff)
downloadrpg-e8dda2c3faf5eb61b68d5afcbea13c5802484b4a.tar.gz
rpg-e8dda2c3faf5eb61b68d5afcbea13c5802484b4a.tar.bz2
added gravatar images
Diffstat (limited to 'lib/plugins/extension/helper/list.php')
-rw-r--r--lib/plugins/extension/helper/list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index 1c337176d..843697667 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -164,7 +164,8 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$mailid = $extension->getEmailID();
if($mailid){
$url = $this->gui->tabURL('search', array('q' => 'mailid:'.$mailid));
- return '<a href="'.$url.'" class="author" title="'.$this->getLang('author_hint').'" >'.hsc($extension->getAuthor()).'</a>';
+ return '<a href="'.$url.'" class="author" title="'.$this->getLang('author_hint').'" ><img src="//www.gravatar.com/avatar/'.$mailid.'?s=20&d=mm" width="20" height="20"> '.hsc($extension->getAuthor()).'</a>';
+
}else{
return '<span class="author">'.hsc($extension->getAuthor()).'</span>';
}