master
Jakob 2020-03-08 17:50:38 +01:00
parent 84215bc39c
commit c1ca53faa4
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,10 @@ $id=$_GET['id'];
%STYLESHEET%
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
<?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' />";
if(isset($_GET['action'])) {
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' />"
}