update other themes
This commit is contained in:
parent
b1bcb8252f
commit
39bd7a763f
2 changed files with 4 additions and 2 deletions
|
@ -67,9 +67,10 @@ class CustomUserPageTheme extends UserPageTheme {
|
|||
$page->add_block(new Block("IPs", $html));
|
||||
}
|
||||
|
||||
public function display_user_page($page, $duser, $user) {
|
||||
public function display_user_page(User $duser, $stats) {
|
||||
global $page;
|
||||
$page->disable_left();
|
||||
parent::display_user_page($page, $duser, $user);
|
||||
parent::display_user_page($duser, $stats);
|
||||
}
|
||||
|
||||
protected function build_options($duser) {
|
||||
|
|
|
@ -9,6 +9,7 @@ class CustomUserPageTheme extends UserPageTheme {
|
|||
}
|
||||
$page->add_block(new Block("Logged in as $h_name", $html, "head", 90));
|
||||
}
|
||||
|
||||
public function display_login_block(Page $page) {
|
||||
global $config;
|
||||
$html = "
|
||||
|
|
Reference in a new issue