Update of /cvsroot/openfirst/messenger
In directory sc8-pr-cvs1:/tmp/cvs-serv13923
Modified Files:
newmsg.php
Log Message:
Added use of wysiwyg function.
Index: newmsg.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/newmsg.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** newmsg.php 20 Aug 2003 00:40:28 -0000 1.4
--- newmsg.php 20 Aug 2003 14:29:11 -0000 1.5
***************
*** 49,53 ****
}
?>
! <form method="POST" action="newmsg.php">
<h1>Visitor Inbox for Messaging</h1>
<p>Please make sure that your messeges do not contain profanity or abusive comments.</p>
--- 49,53 ----
}
?>
! <form onsubmit="return dhtmlEditorPrepareSubmit();" method="POST" action="newmsg.php">
<h1>Visitor Inbox for Messaging</h1>
<p>Please make sure that your messeges do not contain profanity or abusive comments.</p>
***************
*** 88,92 ****
<tr>
<th>Body</th>
! <td> <textarea name="body" cols="50" rows="10" id="body"></textarea>
<br>
<font size="2">(HTML and emoticon options enabled)</font></td>
--- 88,99 ----
<tr>
<th>Body</th>
! <td>
! <?php
! if (function_exists("make_wysiwyg")) {
! make_wysiwyg("body",500,255,"");
! }else{
! echo "<textarea name='body'></textarea>";
! }
! ?>
<br>
<font size="2">(HTML and emoticon options enabled)</font></td>
|