// Prepare content
$content = array(
- 'points' => translateComma($points),
- 'online' => SURFBAR_DETERMINE_TOTAL_ONLINE(),
- 'reload' => (getConfig('surfbar_stats_reload') * 1000),
- 'c_total' => translateComma(getConfig('surfbar_total_counter')),
- 'c_today' => translateComma(getConfig('surfbar_daily_counter')),
- 'c_yester' => translateComma(getConfig('surfbar_yester_counter')),
- 'c_week' => translateComma(getConfig('surfbar_weekly_counter')),
- 'c_month' => translateComma(getConfig('surfbar_monthly_counter')),
+ 'points' => $points,
+ 'reload' => (getConfig('surfbar_stats_reload') * 1000)
);
// Load template for "stats" page
} elseif ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'textlinks')) {
// Prepare content
$content = array(
- 'online' => SURFBAR_DETERMINE_TOTAL_ONLINE(),
- 'reload' => (getConfig('surfbar_stats_reload') * 1000)
+ 'reload' => (getConfig('surfbar_stats_reload') * 1000)
);
// Load template for "stats" page
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="surfbar_table">
<tr>
<td id="surfbar_td">
- Guthaben: <span id="surfbar_points">$content[points] {?POINTS?}</span> -
- Jetzt Online: <span id="surfbar_counter">$content[online]</span> -
- Seitenaufrufe: Heute:<span id="surfbar_counter">$content[c_today]</span> -
- Gestern:<span id="surfbar_counter">$content[c_yester]</span> -
- Woche:<span id="surfbar_counter">$content[c_week]</span> -
- Monat:<span id="surfbar_counter">$content[c_month]</span> -
- Gesamt:<span id="surfbar_counter">$content[c_total]</span>
+ Guthaben: <span id="surfbar_points">{%pipe,translateComma=$content[points]%} {?POINTS?}</span> -
+ Jetzt Online: <span id="surfbar_counter">{%pipe,SURFBAR_DETERMINE_TOTAL_ONLINE%}</span> -
+ Seitenaufrufe: Heute:<span id="surfbar_counter">{%config,translateComma=surfbar_daily_counter%}</span> -
+ Gestern:<span id="surfbar_counter">{%config,translateComma=surfbar_yester_counter%}</span> -
+ Woche:<span id="surfbar_counter">{%config,translateComma=surfbar_weekly_counter%}</span> -
+ Monat:<span id="surfbar_counter">{%config,translateComma=surfbar_monthly_counter%}</span> -
+ Gesamt:<span id="surfbar_counter">{%config,translateComma=surfbar_total_counter%}</span>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="surfbar_table">
<tr>
<td id="surfbar_td">
- Jetzt Online: <span id="surfbar_counter">$content[online]</span> -
+ Jetzt Online: <span id="surfbar_counter">{%pipe,SURFBAR_DETERMINE_TOTAL_ONLINE%}</span> -
<!-- @TODO These are static lines and should be replaced by a filter (see ext-sponsor) //-->
<a href="{%url=modules.php?module=index&what=impressum%}" target="_blank">Ihr Textlink hier?</a> -
<a href="{%url=modules.php?module=index&what=impressum%}" target="_blank">Ihr Textlink hier?</a> -