From 80e04a8d9f0c6644970b208159ee6fa6d04ba051 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 26 Jan 2009 13:46:04 +0100 Subject: Show a new message form on message/new --- actions/newmessage.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'actions/newmessage.php') diff --git a/actions/newmessage.php b/actions/newmessage.php index aa94f8c4f..9e63ee2b9 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) { -- cgit v1.2.3-54-g00ecf