diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:39 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:40 +0400 |
commit | ae4b03163792f0b6e933933e5d37df87dc3fd566 (patch) | |
tree | d1d7510a9728f587d3d63ebd03e4ecf3d904838b /plugins/ExamplePlugin/templates | |
parent | 158c2150f5f2e13ece459b8d131244c11b763997 (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.tpl | 26 |
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> |