diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-10-29 20:29:37 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-10-29 20:29:37 +0300 |
commit | 8432cfdcd0f3d664fe3e20afa166d945d89a534c (patch) | |
tree | f638772a923098de1bd966cb81bcd58a35d10e9d /plugins/CoreHome/templates/js_global_variables.tpl | |
parent | 6c8232d1733d872bef616797c8c08d778bdc3002 (diff) |
- adding missing file, thx peter
(advice to self: never untick "show unversioned files" in tortoise)
Diffstat (limited to 'plugins/CoreHome/templates/js_global_variables.tpl')
-rw-r--r-- | plugins/CoreHome/templates/js_global_variables.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/CoreHome/templates/js_global_variables.tpl b/plugins/CoreHome/templates/js_global_variables.tpl new file mode 100644 index 0000000000..143468dde2 --- /dev/null +++ b/plugins/CoreHome/templates/js_global_variables.tpl @@ -0,0 +1,11 @@ +<script type="text/javascript"> +var piwik = new Array(); + +piwik.token_auth = "{$token_auth}"; +{if isset($idSite)}piwik.idSite = "{$idSite}";{/if} +{if isset($period)}piwik.period = "{$period}";{/if} +{if isset($currentDateString)}piwik.currentDateString = "{$date}";{/if} +{if isset($minDateYear)}piwik.minDateYear = {$minDateYear};{/if} +{if isset($minDateMonth)}piwik.minDateMonth = {$minDateMonth};{/if} +{if isset($minDateDay)}piwik.minDateDay = {$minDateDay};{/if} +</script> |