diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-09 13:08:06 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-09 13:08:06 +0200 |
commit | e8dda2c3faf5eb61b68d5afcbea13c5802484b4a (patch) | |
tree | 561fb5286cbdb9ff98a08af6ce3e224561bf6671 /lib | |
parent | 7944abddde7619d8d59740cde19743c090d4fd3d (diff) | |
download | rpg-e8dda2c3faf5eb61b68d5afcbea13c5802484b4a.tar.gz rpg-e8dda2c3faf5eb61b68d5afcbea13c5802484b4a.tar.bz2 |
added gravatar images
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/extension/helper/list.php | 3 |
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>'; } |