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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-11-09 21:35:16 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-11-09 21:35:16 +0300
commitff6ea2b5e60f86ee1617a2a458bb312428698034 (patch)
tree60a83f443b04800df242be61ee80173e68e694c6 /plugins/CoreHome/templates/graph.tpl
parent14aefa8b3fcae75f7da7842b406177d2ba2166f9 (diff)
refs #997 - add config option; allow users to revert to previous behavior
Diffstat (limited to 'plugins/CoreHome/templates/graph.tpl')
-rw-r--r--plugins/CoreHome/templates/graph.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/graph.tpl b/plugins/CoreHome/templates/graph.tpl
index 85ed585d49..a5409c465a 100644
--- a/plugins/CoreHome/templates/graph.tpl
+++ b/plugins/CoreHome/templates/graph.tpl
@@ -1,7 +1,7 @@
<div id="{$properties.uniqueId}">
<div class="{if $graphType=='evolution'}dataTableGraphEvolutionWrapper{else}dataTableGraphWrapper{/if}">
- {if $flashParameters.isDataAvailable}
+ {if $flashParameters.isDataAvailable || !$flashParameters.includeData}
<div><div id="{$chartDivId}">
{'General_RequiresFlash'|translate} >= {$flashParameters.requiredFlashVersion}. <a target="_blank" href="misc/redirectToUrl.php?url={'http://piwik.org/faq/troubleshooting/#faq_53'|escape:"url"}">{'General_GraphHelp'|translate}</a>
</div></div>
@@ -14,7 +14,7 @@
"{$flashParameters.requiredFlashVersion}",
"{$flashParameters.swfLibraryPath}expressInstall.swf",
{literal}{{/literal}
- "x-data-file":"{$urlGraphData|escape:"url"}",
+ "{if $flashParameters.includeData}x-{/if}data-file":"{$urlGraphData|escape:"url"}",
"loading":"{'General_Loading'|translate|escape:"html"}",
"id":"{$chartDivId}"
{literal}},
@@ -26,7 +26,9 @@
"bgcolor":"#FFFFFF"
{literal}}{/literal}
);
+ {if $flashParameters.includeData}
piwikHelper.OFC.set("{$chartDivId}", '{$flashParameters.data}');
+ {/if}
//-->
</script>
{else}