<label> <p>Reply title</p> <input name="title" type="text" maxlength="150" value="<?php echo $topic ? 'Re: ' . WCF::parseTitle($topic['name']) : ''; ?> " /> </label> <label> <p>Reply text</p> <?php echo '<textarea name="text" class="bbcode">'; //Check if we're quoting somebody if ($quote) { //Try getting info about the post if ($QuoteInfo = WCF::getQuoteInfo($quote)) { echo '[quote=', $QuoteInfo['author'], ']', $QuoteInfo['text'], '[/quote]', "\n\r"; } } echo '</textarea>'; ?> </label> <input type="hidden" value="<?php echo $topicId; ?> " name="topic" /> <div> <input type="submit" value="Post Reply" />