discarded email counter; rendered useless by log purging
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
ORDER BY `date_activate` DESC, `caches`.`date_created` DESC", $login->userid));
|
||||
|
||||
// get number of sent emails
|
||||
$tpl->assign('emails', sql_value("SELECT COUNT(*) FROM `email_user` WHERE `from_user_id`='&1'", 0, $login->userid));
|
||||
// useless information when email protocol is cleaned-up (cronjob 'purge_logs')
|
||||
// $tpl->assign('emails', sql_value("SELECT COUNT(*) FROM `email_user` WHERE `from_user_id`='&1'", 0, $login->userid));
|
||||
|
||||
// get log pictures
|
||||
$tpl->assign('pictures', get_logpics(LOGPICS_FOR_MYHOME_GALLERY));
|
||||
|
@@ -105,18 +105,21 @@
|
||||
</table>
|
||||
|
||||
{* Other information *}
|
||||
{*
|
||||
<div class="content2-container bg-blue02" style="margin-top:20px;">
|
||||
<p class="content-title-noshade-size3">
|
||||
<img src="resource2/{$opt.template.style}/images/misc/25x25-world.png" width="25" height="25" style="align: left; margin-right: 10px;" alt="{t}Other information{/t}" />
|
||||
{t}Other information{/t}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
*}
|
||||
{* Emails sent *}
|
||||
{* useless information when email protocol is regularly cleand-up
|
||||
<p>
|
||||
<img src="resource2/{$opt.template.style}/images/misc/22x22-email.png" width="22" height="22" style="align: left; margin-right: 10px;" alt="{t}E-Mails sent{/t}" />
|
||||
<strong>{t 1=$emails}E-Mails sent: %1{/t}</strong>
|
||||
</p>
|
||||
*}
|
||||
<div class="buffer"> </div>
|
||||
|
||||
{* link to public profile *}
|
||||
|
Reference in New Issue
Block a user