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/CoreHome/templates/graph.tpl')
-rw-r--r--plugins/CoreHome/templates/graph.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/graph.tpl b/plugins/CoreHome/templates/graph.tpl
index ff4f282a1b..eab4ef04f5 100644
--- a/plugins/CoreHome/templates/graph.tpl
+++ b/plugins/CoreHome/templates/graph.tpl
@@ -7,6 +7,9 @@
</div></div>
<script type="text/javascript">
<!--
+ {if $flashParameters.includeData}
+ piwikHelper.OFC.set("{$chartDivId}", '{$flashParameters.data}');
+ {/if}
swfobject.embedSWF(
"{$flashParameters.ofcLibraryPath}open-flash-chart.swf?{$tag}",
"{$chartDivId}",
@@ -14,10 +17,10 @@
"{$flashParameters.requiredFlashVersion}",
"{$flashParameters.swfLibraryPath}expressInstall.swf",
{literal}{{/literal}
+ "{if $flashParameters.includeData}x-{/if}data-file":"{$urlGraphData|escape:"url"}",
{if $flashParameters.includeData}
"id":"{$chartDivId}",
{/if}
- "{if $flashParameters.includeData}x-{/if}data-file":"{$urlGraphData|escape:"url"}",
"loading":"{'General_Loading'|translate|escape:"html"}"
{literal}},
{{/literal}
@@ -28,9 +31,6 @@
"bgcolor":"#FFFFFF"
{literal}}{/literal}
);
- {if $flashParameters.includeData}
- piwikHelper.OFC.set("{$chartDivId}", '{$flashParameters.data}');
- {/if}
//-->
</script>
{else}