rendered paste bodyIndex: webtools/addons/public/tpl/author.tpl
===================================================================
RCS file: /cvsroot/mozilla/webtools/addons/public/tpl/author.tpl,v
retrieving revision 1.5
diff -u -r1.5 author.tpl
--- webtools/addons/public/tpl/author.tpl 30 Jun 2006 05:30:02 -0000 1.5
+++ webtools/addons/public/tpl/author.tpl 4 Aug 2006 13:50:20 -0000
@@ -3,14 +3,13 @@
<dt>Homepage</dt>
<dd><a href="{$user->UserWebsite|regex_replace:'/^([^(http:\/\/|https:\/\/)].+)$/':'http://\1'}">{$user->UserWebsite}</a></dd>
+{if $user->UserEmailHide neq 1}
<dt>Email</dt>
<dd>
-{if $user->UserEmailHide eq 1}
-Email not disclosed
-{else}
<a href="mailto:{$user->UserEmail|escape}">{$user->UserEmail|escape}</a>
-{/if}
</dd>
+{/if}
+
<dt>Last Logged In</dt>
<dd>{$user->UserLastLogin|date_format:"%A, %B %e, %Y"}</dd>