From 3a33309b066d919f8a6e2d312b538e556894b079 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 14 Nov 2013 13:57:00 +0800 Subject: Bug 935871: Don't show email address without logged in --- .../en/default/pages/user_profile.html.tmpl | 52 ++++++++++++---------- 1 file changed, 28 insertions(+), 24 deletions(-) (limited to 'extensions/UserProfile/template/en/default/pages') diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl index f1107bd6a..aabc42db2 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -18,29 +18,31 @@ - - - - - +[% IF user.id %] + + + + + - - - + + + +[% END %] - - - - - +[% IF user.id %] + + + + +[% END %] -- cgit v1.2.3-24-g4f1b
 Search -
- [% INCLUDE global/userselect.html.tmpl - id => "login" - name => "login" - value => login - size => 40 - emptyok => 0 - %] -    -
-
 Search +
+ [% INCLUDE global/userselect.html.tmpl + id => "login" + name => "login" + value => login + size => 40 + emptyok => 0 + %] +    +
+


+ [% IF user.gravatar %]
[% IF target.id == user.id %] @@ -54,10 +56,12 @@
[% target.name FILTER html %]
Email[% target.login FILTER html %]
Email[% target.login FILTER html %]