From 6656f7c98839225d3417019f78f484e64f349b47 Mon Sep 17 00:00:00 2001 From: Alain Peyrat Date: Wed, 23 Nov 2011 19:40:14 +0000 Subject: [PATCH] Add link to gravatar to change face --- src/plugins/gravatar/common/gravatarPlugin.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/gravatar/common/gravatarPlugin.class.php b/src/plugins/gravatar/common/gravatarPlugin.class.php index 039c964b28..f5ae8e539b 100644 --- a/src/plugins/gravatar/common/gravatarPlugin.class.php +++ b/src/plugins/gravatar/common/gravatarPlugin.class.php @@ -70,7 +70,11 @@ class gravatarPlugin extends Plugin { $url .= $hash.'?s='. $usize; $class = 'img-shadow-'.$size; - return '
'; + $code = '
'; + if ($size == 'l') { + $code .= '
'._('Change face').'
'; + } + return $code; } return ''; } -- 2.30.2