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:
Diffstat (limited to 'plugins/ExamplePlugin/templates/piwikDownloads.tpl')
-rw-r--r--plugins/ExamplePlugin/templates/piwikDownloads.tpl26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/ExamplePlugin/templates/piwikDownloads.tpl b/plugins/ExamplePlugin/templates/piwikDownloads.tpl
index 910a81f213..22b10df4b3 100644
--- a/plugins/ExamplePlugin/templates/piwikDownloads.tpl
+++ b/plugins/ExamplePlugin/templates/piwikDownloads.tpl
@@ -1,20 +1,20 @@
<div style="padding:1.5em;text-align:center">
- {"ExamplePlugin_PiwikForumReceivedVisits"|translate:$prettyDate:'<b class="piwikDownloadCount_cnt" >...</b>'}
+ {"ExamplePlugin_PiwikForumReceivedVisits"|translate:$prettyDate:'<b class="piwikDownloadCount_cnt" >...</b>'}
</div>
{*
* loading piwik download stats from demo.piwik.org
*}
<script type="text/javascript">
-{literal}
- $.ajax({
- url: "http://demo.piwik.org/?module=API&method=VisitsSummary.getVisits"
- +"&idSite=7&period="+piwik.period+"&date="+broadcast.getValueFromUrl('date')
- +"&token_auth=anonymous&format=json",
- dataType: 'jsonp',
- jsonp: 'callback',
- success: function(data) {
- $('.piwikDownloadCount_cnt').html(data.value);
- }
- });
-{/literal}
+ {literal}
+ $.ajax({
+ url: "http://demo.piwik.org/?module=API&method=VisitsSummary.getVisits"
+ + "&idSite=7&period=" + piwik.period + "&date=" + broadcast.getValueFromUrl('date')
+ + "&token_auth=anonymous&format=json",
+ dataType: 'jsonp',
+ jsonp: 'callback',
+ success: function (data) {
+ $('.piwikDownloadCount_cnt').html(data.value);
+ }
+ });
+ {/literal}
</script>