what’s wrong now?

master
BodgeMaster 2021-09-05 08:23:18 +02:00
parent 954268603a
commit 7e2f56df1f
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php
%REQUIRE_LOGIN%
if (isset($_GET['reply_to'])) {
echo "<section><form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=$_GET['reply_to']' method='post'><input type='text' name='title' maxlength='128' placeholder='Title'/><textarea name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...' rows='3'></textarea><input type='submit' value='Post'></form></section>";
echo "<section><form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=" . $_GET['reply_to'] . "' method='post'><input type='text' name='title' maxlength='128' placeholder='Title'/><textarea name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...' rows='3'></textarea><input type='submit' value='Post'></form></section>";
} else {
echo "<section><form action='%CONTENT_DIR%/board/?id=$id&action=submit' method='post'><input type='text' name='title' maxlength='128' placeholder='Title'/><textarea name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...' rows='3'></textarea><input type='submit' value='Post'></form></section>";
}