mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Adding ChatForm-skeleton
This commit is contained in:
parent
062241ce70
commit
d4d748950a
15
file/lib/form/ChatForm.class.php
Normal file
15
file/lib/form/ChatForm.class.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
namespace wcf\form;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inserts a message
|
||||||
|
*
|
||||||
|
* @author Tim Düsterhus
|
||||||
|
* @copyright 2010-2011 Tim Düsterhus
|
||||||
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
* @package timwolla.wcf.chat
|
||||||
|
* @subpackage form
|
||||||
|
*/
|
||||||
|
class ChatForm extends AbstractForm {
|
||||||
|
|
||||||
|
}
|
@ -107,7 +107,7 @@ public function readParameters() {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else if ($this->action == 'Send') {
|
else if ($this->action == 'Send') {
|
||||||
//TODO: Safe message in database
|
new \wcf\form\ChatForm();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user