correctly show top
darcs-hash:20080916200445-84dde-6c552453c98d82a00e0f0fbb82a42fc8b7f89d46.gz
This commit is contained in:
parent
a1a8e520d9
commit
56e9f7894d
@ -64,10 +64,25 @@ class MailboxAction extends PersonalAction {
|
|||||||
return '';
|
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) {
|
function show_page($user, $page) {
|
||||||
|
|
||||||
common_show_header($this->get_title(),
|
common_show_header($this->get_title($user, $page),
|
||||||
NULL, $user,
|
NULL, NULL,
|
||||||
array($this, 'show_top'));
|
array($this, 'show_top'));
|
||||||
|
|
||||||
$this->show_box($user, $page);
|
$this->show_box($user, $page);
|
||||||
|
Loading…
Reference in New Issue
Block a user