diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:02:26 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:02:26 +0400 |
commit | 999f46479294713104c962bfe7469e9b6e7a4bbf (patch) | |
tree | a22e349d850bc2f2946a85a3cab373c4b6dc1809 /plugins/CoreHome/templates/graph.tpl | |
parent | 462d78c290f19dd691d9634bf2b17d2adc4446af (diff) | |
parent | c0b42ff664a0846064df23db232ea774931ab7a3 (diff) |
0.6.3?
Diffstat (limited to 'plugins/CoreHome/templates/graph.tpl')
-rw-r--r-- | plugins/CoreHome/templates/graph.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/graph.tpl b/plugins/CoreHome/templates/graph.tpl index eab4ef04f5..ff4f282a1b 100644 --- a/plugins/CoreHome/templates/graph.tpl +++ b/plugins/CoreHome/templates/graph.tpl @@ -7,9 +7,6 @@ </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}", @@ -17,10 +14,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} @@ -31,6 +28,9 @@ "bgcolor":"#FFFFFF" {literal}}{/literal} ); + {if $flashParameters.includeData} + piwikHelper.OFC.set("{$chartDivId}", '{$flashParameters.data}'); + {/if} //--> </script> {else} |