diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-09-16 16:04:45 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-09-16 16:04:45 -0400 |
commit | 56e9f7894d84d04f2c3ac8d4b6d8d6881bad832f (patch) | |
tree | 4355c34fe42951cb659675c4d1bb977b53944645 | |
parent | a1a8e520d9e08ffaa9f323616b1221e95a077927 (diff) |
correctly show top
darcs-hash:20080916200445-84dde-6c552453c98d82a00e0f0fbb82a42fc8b7f89d46.gz
-rw-r--r-- | lib/mailbox.php | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lib/mailbox.php b/lib/mailbox.php index 5ad63cbaa..42eeee97e 100644 --- a/lib/mailbox.php +++ b/lib/mailbox.php @@ -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); |