update other themes

This commit is contained in:
Shish 2009-08-18 22:33:24 +01:00
parent b1bcb8252f
commit 39bd7a763f
2 changed files with 4 additions and 2 deletions

View File

@ -67,9 +67,10 @@ class CustomUserPageTheme extends UserPageTheme {
$page->add_block(new Block("IPs", $html)); $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(); $page->disable_left();
parent::display_user_page($page, $duser, $user); parent::display_user_page($duser, $stats);
} }
protected function build_options($duser) { protected function build_options($duser) {

View File

@ -9,6 +9,7 @@ class CustomUserPageTheme extends UserPageTheme {
} }
$page->add_block(new Block("Logged in as $h_name", $html, "head", 90)); $page->add_block(new Block("Logged in as $h_name", $html, "head", 90));
} }
public function display_login_block(Page $page) { public function display_login_block(Page $page) {
global $config; global $config;
$html = " $html = "