From: Evan Prodromou Date: Mon, 26 Jan 2009 12:46:04 +0000 (+0100) Subject: Show a new message form on message/new X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80e04a8d9f0c6644970b208159ee6fa6d04ba051;p=quix0rs-gnu-social.git Show a new message form on message/new --- diff --git a/actions/newmessage.php b/actions/newmessage.php index aa94f8c4fb..9e63ee2b98 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -2,7 +2,7 @@ /** * Laconica, the distributed open-source microblogging tool * - * Handler for posting new notices + * Handler for posting new messages * * PHP version 5 * @@ -173,6 +173,12 @@ class NewmessageAction extends Action $this->showPage(); } + + function showContent() + { + $message_form = new MessageForm($this); + $message_form->show(); + } function notify($from, $to, $message) {