2 This is the receiving side of the chat window, fee fie foe foo
5 <form method="POST" onsubmit="return chatsendfunc()" action="chat_send" id="chatsendid" name="chatsendform">
6 <input type="hidden" name="nonce" value="<?NONCE>">
7 <input type="text" size="80" maxlength="1024" id="send_this_id" name="send_this">
9 <input type="submit" name="send_button" value="<?_("Send")>">
10 <input type="submit" name="help_button" value="<?_("Help")>">
11 <input type="submit" name="list_button" value="<?_("List users")>">
12 <input type="submit" name="exit_button" value="<?_("Exit")>">
15 <script type="text/javascript">
17 function chatsendfunc() {
18 $('chatsendid').request({
19 onComplete: function(){ $('send_this_id').value = '' }
24 new Ajax.PeriodicalUpdater('chatrecv', 'chat_recv', {
25 method: 'get', frequency: 2, insertion: 'bottom'