diff options
| author | spiderr <spider@viovio.com> | 2013-02-07 12:40:16 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-02-07 12:40:16 -0500 |
| commit | 30d26b5401acba82b58c7737b9de8aa95e2b6c86 (patch) | |
| tree | a7838ca770a3377e81b57697da98965d12dffa07 /templates | |
| parent | a077922d63dc618e06611a07146659474ff80283 (diff) | |
| download | stats-30d26b5401acba82b58c7737b9de8aa95e2b6c86.tar.gz stats-30d26b5401acba82b58c7737b9de8aa95e2b6c86.tar.bz2 stats-30d26b5401acba82b58c7737b9de8aa95e2b6c86.zip | |
use new BitDb::getPeriodFormat
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/user_stats.tpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/user_stats.tpl b/templates/user_stats.tpl index 18d6681..7cbab83 100644 --- a/templates/user_stats.tpl +++ b/templates/user_stats.tpl @@ -16,7 +16,7 @@ </div> <table class="clear data"> - <caption>{tr}User Registrations at {$gBitSystem->getConfig('site_title')}{/tr}</caption> + <caption>{$gBitSystem->getConfig('site_title')} {tr}User Registrations{/tr}</caption> <tr> <th style="width:20%;" colspan="2">{tr}Period{/tr}</td> <th style="width:80%;">{tr}Number of Registrations{/tr}</td> @@ -24,8 +24,10 @@ {foreach item=reg key=timeframe from=$userStats.per_period} <tr class="{cycle values="even,odd"}"> <td><a href="{$smarty.const.STATS_PKG_URL}users.php?period={$smarty.request.period}&timeframe={$timeframe|urlencode}">{$timeframe}</td> - <td>[<a href="{$smarty.const.STATS_PKG_URL}referer_stats.php?period={$smarty.request.period}&timeframe={$timeframe|urlencode}">Referrers</a>]</td> - <td><div style="width:{math equation="round( ( r / m ) * 100 )" r=$reg m=$userStats.max}%; background:#f80;padding:0 0 0 5px;">{$reg}</div></td> + <td> + [<a href="{$smarty.const.STATS_PKG_URL}referer_stats.php?period={$smarty.request.period}&timeframe={$timeframe|urlencode}">Referrers</a>] + </td> + <td><div style="width:{math equation="round( ( r / m ) * 100 )" r=$reg m=$userStats.max}%; background:#ff9;padding:0 0 0 5px;"><a href="{$smarty.const.USERS_PKG_URL}admin/index.php?period={$smarty.request.period}&timeframe={$timeframe|urlencode}">{$reg}</a></div></td> </tr> {foreachelse} <tr class="norecords"> |
