summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-09-26 14:36:10 -0400
committerspiderr <spider@viovio.com>2012-09-26 14:36:10 -0400
commit7c6abce35ec3ecb6b199347c6020f37216a56362 (patch)
treeec25a4157e289f29305f2e7b06e30e3307dd705f /templates
parent94bc3390e7c87b629973faf91e60c9e1acf1f5c0 (diff)
parentba90828e27e4f8989a71eb3c5a24ff0fefee6ab9 (diff)
downloadstats-7c6abce35ec3ecb6b199347c6020f37216a56362.tar.gz
stats-7c6abce35ec3ecb6b199347c6020f37216a56362.tar.bz2
stats-7c6abce35ec3ecb6b199347c6020f37216a56362.zip
add totalregistrations and code support for timeframe
Diffstat (limited to 'templates')
-rw-r--r--templates/referer_stats.tpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/referer_stats.tpl b/templates/referer_stats.tpl
index 2a9089b..cc834fc 100644
--- a/templates/referer_stats.tpl
+++ b/templates/referer_stats.tpl
@@ -16,13 +16,17 @@
{assign var=hostHash value=$host|md5}
<tr>
<th style="width:5%;">{$reg|@count}</th>
- <th><div class="floaticon"> [{math equation="round((x / y) * 100)" x=$reg|@count y=$totalRegistrations}% ] <a href="{$smarty.server.SCRIPT_NAME}?period={$smarty.request.period}&amp;find={$host|escape}">{biticon iname='appointment-new'}</a>{biticon iname='folder-saved-search' onclick="BitBase.toggleElementDisplay('`$hostHash`','table-row-group');"}</div> <div style="width:{math equation="round( ( r / m ) * 100 )" r=$reg|@count m=$maxRegistrations}%; background:#f80;padding:0 0 0 5px;">{$host|escape}</div></th>
+ <th><div style="width:{math equation="round( ( r / m ) * 100 )" r=$reg|@count m=$maxRegistrations}%; background:#f80;padding:0 0 0 5px;">{$host|escape}</div></th>
+ <th><div class="floaticon"> [{math equation="round((x / y) * 100)" x=$reg|@count y=$totalRegistrations}% ] <a href="{$smarty.server.SCRIPT_NAME}?period={$smarty.request.period}&amp;find={$host|escape}">{biticon iname='appointment-new'}</a>{biticon iname='folder-saved-search' onclick="BitBase.toggleElementDisplay('`$hostHash`','table-row-group');"}</div></th>
</tr>
<tbody id="{$hostHash}" style="display:none">
{foreach from=$reg key=userId item=user}
<tr class="{cycle values='odd,even'}">
- <td colspan="2"><strong style="font-size:larger">{displayname hash=$user}</strong>{if $user.referer_url}<br/><a href="{$user.referer_url|escape}">{$user.referer_url|stats_referer_display_short}</a>{/if}</td>
+ <td colspan="2">
+ <strong style="font-size:larger">{displayname hash=$user}</strong>{if $user.referer_url}<br/><a href="{$user.referer_url|escape}">{$user.referer_url|stats_referer_display_short}</a>{/if}
+ </td>
+ <td class="date">{$user.registration_date|bit_date_format}</td>
</tr>
{/foreach}
</tbody>