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:
authormattpiwik <matthieu.aubry@gmail.com>2011-10-12 06:21:58 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-10-12 06:21:58 +0400
commitae3b89b3a3588b3deb8f66b00e364dd682921b87 (patch)
treefbd025a64be7363b9b739d6e3db23cc0dc8572a2 /plugins
parentface134fa11f51e6acaaf62a539627cedfd8b269 (diff)
Build + minor changes
git-svn-id: http://dev.piwik.org/svn/trunk@5284 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/templates/broadcast.js4
-rw-r--r--plugins/CoreHome/templates/piwik_tag.tpl2
-rw-r--r--plugins/VisitsSummary/templates/index.tpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/broadcast.js b/plugins/CoreHome/templates/broadcast.js
index cb97fbb0db..73bbf733c7 100644
--- a/plugins/CoreHome/templates/broadcast.js
+++ b/plugins/CoreHome/templates/broadcast.js
@@ -324,8 +324,8 @@ broadcast.getParamValue = function (param, url)
endStr = url.length;
}
var value = url.substring(startStr + param.length +1,endStr);
- // sanitize action=embed&test
- var value = value.replace(/[^\w\s]/gi, '')
+ // sanitize values
+ var value = value.replace(/[^,0-9a-zA-Z]/gi, '');
return value;
} else {
diff --git a/plugins/CoreHome/templates/piwik_tag.tpl b/plugins/CoreHome/templates/piwik_tag.tpl
index 4148103590..0972120632 100644
--- a/plugins/CoreHome/templates/piwik_tag.tpl
+++ b/plugins/CoreHome/templates/piwik_tag.tpl
@@ -3,7 +3,7 @@
<div class="clear"></div>
{literal}
<!-- Piwik -->
-<script src="piwik.js" type="text/javascript"></script>
+<script src="js/piwik.js" type="text/javascript"></script>
<script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker("piwik.php", 1);
diff --git a/plugins/VisitsSummary/templates/index.tpl b/plugins/VisitsSummary/templates/index.tpl
index bb733e9164..e755cde709 100644
--- a/plugins/VisitsSummary/templates/index.tpl
+++ b/plugins/VisitsSummary/templates/index.tpl
@@ -1,4 +1,4 @@
-
+{* This graphId must be unique for this report *}
<a name="evolutionGraph" graphId="VisitsSummarygetEvolutionGraph"></a>
<h2>{if $period=='range'}{'Referers_Evolution'|translate}