summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 10:44:32 -0400
committerspiderr <spider@viovio.com>2012-05-25 10:44:32 -0400
commitc63f2ad5f8dada0227f24476f33d77d3b9aed323 (patch)
tree96721f545bf8a6e970601bb6ba7e5761eb7170d7
parent5ff48c21ecef0fe9df0a4ecf74e65e6750cd7152 (diff)
downloadstats-c63f2ad5f8dada0227f24476f33d77d3b9aed323.tar.gz
stats-c63f2ad5f8dada0227f24476f33d77d3b9aed323.tar.bz2
stats-c63f2ad5f8dada0227f24476f33d77d3b9aed323.zip
replace PHP_SELF with SCRIPT_NAME
-rw-r--r--templates/referer_stats.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/referer_stats.tpl b/templates/referer_stats.tpl
index 80475bc..2fb7cd2 100644
--- a/templates/referer_stats.tpl
+++ b/templates/referer_stats.tpl
@@ -14,7 +14,7 @@
{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.PHP_SELF}?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 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>
</tr>
<tbody id="{$hostHash}" style="display:none">