redirect after submit
parent
a008fca80a
commit
2065845939
|
@ -13,7 +13,13 @@ $id=$_GET['id'];
|
||||||
<title>ThreadR - Boards</title>
|
<title>ThreadR - Boards</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<?php
|
||||||
|
if ($_GET['action']=='submit') {
|
||||||
|
echo "<meta http-equiv='refresh' content='5;URL=%CONTENT_DIR%/board/?id=$id' name='viewport' content='width=device-width, initial-scale=1.0' />";
|
||||||
|
} else {
|
||||||
|
echo "<meta name='viewport' content='width=device-width, initial-scale=1.0' />"
|
||||||
|
}
|
||||||
|
?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
%NAVBAR%
|
%NAVBAR%
|
||||||
|
|
Loading…
Reference in New Issue