From: <sy...@us...> - 2009-03-31 19:56:07
|
Revision: 17737 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=17737&view=rev Author: sylvieg Date: 2009-03-31 19:55:58 +0000 (Tue, 31 Mar 2009) Log Message: ----------- [MOD]user info: show the email of a user to an admin - even if private Modified Paths: -------------- branches/3.0/templates/tiki-user_information.tpl Modified: branches/3.0/templates/tiki-user_information.tpl =================================================================== --- branches/3.0/templates/tiki-user_information.tpl 2009-03-31 17:47:13 UTC (rev 17736) +++ branches/3.0/templates/tiki-user_information.tpl 2009-03-31 19:55:58 UTC (rev 17737) @@ -29,6 +29,8 @@ <tr><td class="form">{tr}Last login{/tr}:</td><td>{$userinfo.lastLogin|tiki_short_datetime}</td></tr> {if $email_isPublic neq 'n'} <tr><td class="form">{tr}Email{/tr}:</td><td>{$userinfo.email}</td></tr> +{elseif $email_isPublic eq 'n' and $tiki_p_admin eq 'y'} + <tr><td class="form">{tr}Email{/tr}:</td><td>{$userinfo.email|escape} <i>{tr}(non public){/tr}</i></td></tr> {/if} {if !empty($country) and $country != 'Other'} <tr><td class="form">{tr}Country{/tr}:</td><td>{$userinfo.login|countryflag} {tr}{$country|stringfix}{/tr}</td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |