phpmyadmin/templates/header_location.twig
Dan Ungureanu 19a71512c9 Small refactoring in preparation to CSP.
Fixes #13269.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2017-05-27 22:54:49 +03:00

23 lines
676 B
Twig

{# Manage HTML redirection #}
<html>
<head>
<title>- - -</title>
<meta http-equiv="expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Refresh" content="0;url={{ uri }}" />
<script type="text/javascript">
//<![CDATA[
setTimeout(function() { window.location = decodeURI('{{ Sanitize_escapeJsString(uri) }}'); }, 2000);
//]]>
</script>
</head>
<body>
<script type="text/javascript">
//<![CDATA[
document.write('<p><a href="{{ Sanitize_escapeJsString(uri|e) }}">{% trans 'Go' %}</a></p>');
//]]>
</script>
</body>
</html>