I've tried simply replacing the table as someone suggested here, but while it *works* fine, it causes the topic to be skewed to one side for users who aren't logged on...
Any help appreciated, as ever! Thanks in advance
Code: Select all
<table width="100%" border="0" cellspacing="0">
<tr>
<td align="center" height="28">{L_QUICK_REPLY}</td>
</tr>
<!-- BEGIN switch_quick_reply -->
<script language="JavaScript" type="text/javascript"><!--
function checkForm() {
formErrors = false;
if (document.post.message.value.length < 2) {
formErrors = '{L_EMPTY_MSG}';
}
if (formErrors) {
alert(formErrors);
return false;
} else {
return true;
}
}
//--></script>
<form action="{S_POSTING}" method="post" name="post" onsubmit="return checkForm(this)"><span class="genmed">
<!-- BEGIN switch_user_logged_out -->
<b>{L_USERNAME}:</b> <input class="post" type="text" name="username" size="25" maxlength="25" value="" /><br />
<!-- END switch_user_logged_out -->
<br />
<textarea class="post" name="message" rows="10" cols="125" wrap="virtual"></textarea><br />
<input type="hidden" name="attach_sig" value="{S_ATTACH_SIG}" />
<input type="hidden" name="mode" value="reply" />
<input type="hidden" name="sid" value="{S_SID}" />
<input type="hidden" name="t" value="{S_TOPIC_ID}" />
<input type="hidden" name="notify" value="{S_NOTIFY}" /><br />
<input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" />
<input type="submit" name="post" class="mainoption" value="{L_SUBMIT}" />
<br /><br />
</span></form>
</td>
</tr>
</table>
<!-- END switch_quick_reply -->