backward compatibility php4
This commit is contained in:
		
							parent
							
								
									918cfc99e6
								
							
						
					
					
						commit
						8113d79392
					
				| @ -23,7 +23,7 @@ | |||||||
| 		 | 		 | ||||||
| 		 | 		 | ||||||
| 		function AdminPanel(&$smarty) { | 		function AdminPanel(&$smarty) { | ||||||
| 			$this->smarty = $smarty; | 			$this->smarty =& $smarty; | ||||||
| 			if (!$this->panelname) | 			if (!$this->panelname) | ||||||
| 				trigger_error("Variable \$panelname is not defined!", E_USER_ERROR); | 				trigger_error("Variable \$panelname is not defined!", E_USER_ERROR); | ||||||
| 				 | 				 | ||||||
| @ -101,7 +101,7 @@ | |||||||
| 		var $langres = '';  | 		var $langres = '';  | ||||||
| 		 | 		 | ||||||
| 		function AdminPanelAction(&$smarty) {  | 		function AdminPanelAction(&$smarty) {  | ||||||
| 			$this->smarty = $smarty; | 			$this->smarty =& $smarty; | ||||||
| 			$the_action_panel = get_class($this); | 			$the_action_panel = get_class($this); | ||||||
| 			$this->smarty->assign('admin_panel_id', $the_action_panel); | 			$this->smarty->assign('admin_panel_id', $the_action_panel); | ||||||
| 			if (!$this->langres)  | 			if (!$this->langres)  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 real_nowhereman
						real_nowhereman