update other themes
This commit is contained in:
		
							parent
							
								
									b1bcb8252f
								
							
						
					
					
						commit
						39bd7a763f
					
				| @ -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) { | ||||||
|  | |||||||
| @ -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 = " | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user