diff options
| author | spiderr <spider@viovio.com> | 2012-09-12 23:09:34 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-09-12 23:09:34 -0400 |
| commit | ba90828e27e4f8989a71eb3c5a24ff0fefee6ab9 (patch) | |
| tree | a12bcf4f01bb5ebb985301906a35f56ef81e96a6 /templates | |
| parent | c63f2ad5f8dada0227f24476f33d77d3b9aed323 (diff) | |
| download | stats-ba90828e27e4f8989a71eb3c5a24ff0fefee6ab9.tar.gz stats-ba90828e27e4f8989a71eb3c5a24ff0fefee6ab9.tar.bz2 stats-ba90828e27e4f8989a71eb3c5a24ff0fefee6ab9.zip | |
default to period_format if nothing is specified
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/referer_stats.tpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/referer_stats.tpl b/templates/referer_stats.tpl index 2fb7cd2..ac44593 100644 --- a/templates/referer_stats.tpl +++ b/templates/referer_stats.tpl @@ -14,13 +14,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}&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}&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> |
