The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
WYSIWYG In new file...
Yes, I've browsed the forums numerous times. But nothing has helped me. I have no idea why this doesn't work. It works in FireFox but not in IE? There are no javascript errors in IE and no problems with FireFox. Does anyone have any idea how to help me. Here's what I have so far:
PHP Code:
My Template: Code:
<form action="helpdesk.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return validatePost(this, this.subject.value, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);"</if>> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[ticket_reply]</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <table cellpadding="0" cellspacing="0" border="0" class="fieldset"> <tr> <td class="smallfont" colspan="3">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td> <td> </td> <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" class="fieldset"> <tr> <td> <!-- message area --> $messagearea <!-- / message area --> </td> </tr> </table> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="ticketreply" /> <input type="hidden" name="tid" value="$_REQUEST[tid]" /> <input type="hidden" name="title" value="Allow this to pass without a real test." /> <input type="submit" class="button" name="sbutton" value="$vbphrase[reply_to_ticket]" accesskey="s" tabindex="1" /> </div> </td> </tr> </table> </form> EDIT: What's not working is the $_POST['WYSIWYG_HTML'] variable is empty? So it seems like a template problem where the code is not being copied into that variable onsubmit! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|