document.write('<form name="replier" method="post" action="$vars_config{CGIURL}/ultimatebb.cgi"><input type="hidden" name="ubb" value="submit_new_reply" />
<input type="hidden" name="f" value="$forum_number" /><input type="hidden" name="t" value="$topic_number" /><table width="$vars_style{TableWidth}" cellspacing="1" align="center">
<tr><td><table class="tableborders" width="100%" cellpadding="3" cellspacing="1"><tr class="tdheader">
<td colspan="2"><b>$vars_wordlets_mods{QuickReply}</b></font></td></tr><tr class="lighttable"><td width="100%"><table width="100%"><tr><td valign="top" width="18%">
<b>$vars_wordlets_mods{QRMessage}</b>
<font class="visited small">$is_html
<a href="$ULTIMATEBB?ubb=ubb_code_page" target="_blank">$is_ubb</a>
</font>
<input type="checkbox" name="Signature" id="Signature" value="yes" checked="checked" />
<font class="visited small">$vars_wordlets_mods{ShowSig}
<input type="checkbox" id="disable_smilies" name="disable_smilies" value="yes" />
$vars_wordlets_mods{QRSmilies}
</font></td><td><textarea class="normal" name="message" rows="10" cols="50" wrap="virtual"></textarea>
<input type="submit" name="submit" value="$vars_wordlets{submit_new_reply}" /> $preview_button</td></tr></td></tr></table>$TBB_js</form>');

I used some of the code from UBBDEV to get it to look right
also, use this code instead of the stock code to get a "qdown" image to go with each skin.
function quotedown (quote) {
if(ubber_cookie_array[13] != '0' && ''!=user_cookie && null!=user_cookie) {
document.write('<a href="javascript:return false;" onclick="insertAtCaret(document.replier.message, \''+quote+'\'); document.replier.message.focus(); return false;">
<img border="0" src="$vars_config{NonCGIURL}/graphics/'+style+'/qdown.gif" alt="$vars_wordlets_mods{QRWQuote}" /></a> ');
}
return true;
}
btw: the first code I showed was only one line, added breaks to stop stretching the page.
on the second one, the writeln part was all one line
if you want to see an example of the use of the code, see
here .
login: test
password: test