redirect after submit

master
Jakob 2020-03-08 17:48:18 +01:00
parent a008fca80a
commit 2065845939
1 changed files with 56 additions and 50 deletions

View File

@ -13,7 +13,13 @@ $id=$_GET['id'];
<title>ThreadR - Boards</title>
%STYLESHEET%
<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>
<body>
%NAVBAR%