Skip to content
Permalink
Browse files

discarded email counter; rendered useless by log purging

  • Loading branch information...
following
following committed Mar 16, 2013
1 parent 78b95ce commit 72747630d2ace91ffa58b734a685006b2e34942b
Showing with 6 additions and 2 deletions.
  1. +2 −1 htdocs/myhome.php
  2. +4 −1 htdocs/templates2/ocstyle/myhome.tpl
@@ -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}" />&nbsp;
{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}" />&nbsp;
<strong>{t 1=$emails}E-Mails sent: %1{/t}</strong>
</p>
*}
<div class="buffer">&nbsp;</div>
{* link to public profile *}

0 comments on commit 7274763

Please sign in to comment.
You can’t perform that action at this time.