Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-02-25 18:39:22 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-02-25 18:39:22 +0300
commit37cb2176a4d8bc8d175c068273f6850312f614c5 (patch)
tree6490016fd34562bbcb5309741215fe334570b528 /plugins/MultiSites
parentfa333f6d763813e45f72182f6b19c5eda63686fb (diff)
refs #1077 - re-apply fix from [1810] where site name contains quotes
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r--plugins/MultiSites/templates/index.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MultiSites/templates/index.tpl b/plugins/MultiSites/templates/index.tpl
index 94499c2e49..dd366810c7 100644
--- a/plugins/MultiSites/templates/index.tpl
+++ b/plugins/MultiSites/templates/index.tpl
@@ -18,7 +18,7 @@
var allSites = new Array();
var params = new Array();
{foreach from=$mySites key=i item=site}
- allSites[{$i}] = new setRowData({$site.idsite}, {$site.visits}, {$site.actions}, {$site.unique}, '{$site.name}', '{$site.main_url}', '{$site.visitsSummaryValue|replace:",":"."}', '{$site.actionsSummaryValue|replace:",":"."}', '{$site.uniqueSummaryValue|replace:",":"."}');
+ allSites[{$i}] = new setRowData({$site.idsite}, {$site.visits}, {$site.actions}, {$site.unique}, '{$site.name|escape:"quotes"}', '{$site.main_url}', '{$site.visitsSummaryValue|replace:",":"."}', '{$site.actionsSummaryValue|replace:",":"."}', '{$site.uniqueSummaryValue|replace:",":"."}');
{/foreach}
params['period'] = '{$period}';
params['date'] = '{$date}';