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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-12 17:28:23 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-12 17:28:23 +0300
commitaab4ce8c492082cd93939766fe789056b188b3f0 (patch)
tree39603d31269ecb16880d19407a4103d999dd9cc7 /plugins/MultiSites
parentee0f100d1ad1e6e0fef49ebba6d5e86d2d916236 (diff)
Fixes #1098 adding 5min auto refresh
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r--plugins/MultiSites/templates/index.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/MultiSites/templates/index.tpl b/plugins/MultiSites/templates/index.tpl
index dd366810c7..e3d985d560 100644
--- a/plugins/MultiSites/templates/index.tpl
+++ b/plugins/MultiSites/templates/index.tpl
@@ -83,6 +83,13 @@
<script type="text/javascript">
prepareRows(allSites, params, '{$orderBy}');
+
+{literal}
+function refreshAfter(timeoutPeriod) {
+ setTimeout("location.reload(true);",timeoutPeriod);
+}
+refreshAfter(5*60*1000);
+{/literal}
</script>
</div>
</div>