summaryrefslogtreecommitdiff
path: root/html/widgets/redirect.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'html/widgets/redirect.tmpl')
-rw-r--r--html/widgets/redirect.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/widgets/redirect.tmpl b/html/widgets/redirect.tmpl
new file mode 100644
index 0000000..60f4e73
--- /dev/null
+++ b/html/widgets/redirect.tmpl
@@ -0,0 +1,4 @@
+<!-- Redirect -->
+<script type="text/javascript">
+ redirect('<?% reentities(data.url) %?>', '<?% data.wait ? data.wait : 1 %?>', '<?% data.parent %?>');
+</script>