]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mailbox.php
save notice to inbox on saveNew
[quix0rs-gnu-social.git] / lib / mailbox.php
index 5ad63cbaa1b3e479cb6420ed79b206482f8bbb1f..4ed8d17582a6d53d40f71f902a8676a09c88f853 100644 (file)
@@ -63,11 +63,24 @@ class MailboxAction extends PersonalAction {
        function get_title($user, $page) {
                return '';
        }
+
+       function get_instructions() {
+               return '';
+       }
+
+       function show_top() {
+
+               $cur = common_current_user();
+               
+               common_message_form(NULL, $cur, NULL);
+               
+               $this->views_menu();
+       }
        
        function show_page($user, $page) {
 
-               common_show_header($this->get_title(),
-                                                  NULL, $user,
+               common_show_header($this->get_title($user, $page),
+                                                  NULL, NULL,
                                                   array($this, 'show_top'));
                
                $this->show_box($user, $page);