summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-26 13:46:04 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-26 13:46:04 +0100
commit80e04a8d9f0c6644970b208159ee6fa6d04ba051 (patch)
tree5bdab1e9adfa727ff33622f1e8b127c265ee8d54
parent01c9d5e240167ac2d9571d5dcdcd9039fbb21c0d (diff)
Show a new message form on message/new
-rw-r--r--actions/newmessage.php8
1 files changed, 7 insertions, 1 deletions
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)
{