aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-29 00:13:20 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-29 00:13:20 +0100
commit1217f130fa8890a3c12fb4e91e3df52361218e95 (patch)
treeb994c2ea25b460c206a70ac0576c82df30c9b9f8 /tmpl
parent06f24f882e30e157d9aafa9630495d137716e569 (diff)
Expanded cache fragment size, adjustet ajax redirection to take line numbers into account.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/ajax_redir.tt213
1 files changed, 13 insertions, 0 deletions
diff --git a/tmpl/ajax_redir.tt2 b/tmpl/ajax_redir.tt2
new file mode 100644
index 0000000..54542bf
--- /dev/null
+++ b/tmpl/ajax_redir.tt2
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+ <head>
+ <script type="text/javascript">
+ document.write('<meta http-equiv="refresh" content="0;url=[% ajax_url %]'
+ + location.hash + '">');
+ </script>
+ </head>
+ <body onload="location.href='[% ajax_url %]' + location.hash;">
+ <small>Redirecting to Ajax interface...</small>
+ </body>
+</html>