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:
authormattab <matthieu.aubry@gmail.com>2013-03-28 03:42:39 +0400
committermattab <matthieu.aubry@gmail.com>2013-03-28 03:42:40 +0400
commitae4b03163792f0b6e933933e5d37df87dc3fd566 (patch)
treed1d7510a9728f587d3d63ebd03e4ecf3d904838b /plugins/ExamplePlugin/templates
parent158c2150f5f2e13ece459b8d131244c11b763997 (diff)
Mass conversion of all files to the newly agreed coding standard: PSR 1/2
Converting Piwik core source files, PHP, JS, TPL, CSS More info: http://piwik.org/participate/coding-standards/
Diffstat (limited to 'plugins/ExamplePlugin/templates')
-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>