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));
}
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) {

View file

@ -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 = "