]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Show a new message form on message/new
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 26 Jan 2009 12:46:04 +0000 (13:46 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 26 Jan 2009 12:46:04 +0000 (13:46 +0100)
actions/newmessage.php

index aa94f8c4fb93f131bf8b12939ac4c0ee3ef4a503..9e63ee2b98f256ef5810ba9ec0e72d38ec3fbea2 100644 (file)
@@ -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)
     {