// TODO: Remove inline styles // Old to do? // TODO: Preview, come up with a standard, make it look like post or just a // block of formatted BBcode, but decide and write some proper XHTML $ReplyText = new TEXTAREA_PREVIEW('body', 'quickpost', '', $TextareaCols, $TextareaRows, false, false, true, array('tabindex="1"', 'onkeyup="resize(\'quickpost\')"')); ?> <br /> <div id="reply_box"> <h3><?php echo $InputTitle; ?> </h3> <div class="box pad"> <table class="forum_post box vertical_margin hidden preview_wrap" id="preview_wrap_<?php echo $ReplyText->getID(); ?> "> <colgroup> <?php if (Users::has_avatars_enabled()) { ?> <col class="col_avatar" /> <?php } ?> <col class="col_post_body" /> </colgroup> <tr class="colhead_dark"> <td colspan="<?php echo Users::has_avatars_enabled() ? 2 : 1;
if ($Status != 'Resolved') { ?> <input type="button" value="Resolve" onclick="location.href='staffpm.php?action=resolve&id=<?php echo $ConvID; ?> ';" /> <?php if ($IsFLS) { //Moved by request ?> <input type="button" value="Common answers" onclick="$('#common_answers').gtoggle();" /> <?php } ?> <input type="button" id="previewbtn" value="Preview" class="hidden button_preview_<?php echo $TextPrev->getID(); ?> " /> <input type="submit" value="Send message" /> <?php } else { ?> <input type="button" value="Unresolve" onclick="location.href='staffpm.php?action=unresolve&id=<?php echo $ConvID; ?> ';" /> <?php } if (check_perms('users_give_donor')) { ?> <br />