]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correctly show top
authorEvan Prodromou <evan@prodromou.name>
Tue, 16 Sep 2008 20:04:45 +0000 (16:04 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 16 Sep 2008 20:04:45 +0000 (16:04 -0400)
darcs-hash:20080916200445-84dde-6c552453c98d82a00e0f0fbb82a42fc8b7f89d46.gz

lib/mailbox.php

index 5ad63cbaa1b3e479cb6420ed79b206482f8bbb1f..42eeee97ea984f90d5b99894ce9152685e9bfe69 100644 (file)
@@ -63,11 +63,26 @@ class MailboxAction extends PersonalAction {
        function get_title($user, $page) {
                return '';
        }
+
+       function get_instructions() {
+               return '';
+       }
+
+       function show_top() {
+               
+               $inst = $this->get_instructions();
+               $output = common_markup_to_html($inst);
+               common_element_start('div', 'instructions');
+               common_raw($output);
+               common_element_end('div');
+               
+               $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);