Minors php bugfixes
This commit is contained in:
		
							parent
							
								
									0c588e8f32
								
							
						
					
					
						commit
						e881725cdb
					
				|  | @ -104,5 +104,5 @@ print_r($d); | ||||||
|     <td><?php echo $db->f('dns_result');?></td>
 |     <td><?php echo $db->f('dns_result');?></td>
 | ||||||
| </tr> | </tr> | ||||||
| <?php } // end while ?>
 | <?php } // end while ?>
 | ||||||
| 
 | </table> | ||||||
| <?php include_once("foot.php"); ?>
 | <?php include_once("foot.php"); ?>
 | ||||||
|  |  | ||||||
|  | @ -65,6 +65,7 @@ asort($menu_error); | ||||||
| 
 | 
 | ||||||
| $menus=array( | $menus=array( | ||||||
| 	     "menu_dom" => _("Domains"), | 	     "menu_dom" => _("Domains"), | ||||||
|  | 	     "menu_adm" => _("Administration"), | ||||||
| 	     "menu_mail" => _("Email Addresses"), | 	     "menu_mail" => _("Email Addresses"), | ||||||
| 	     "menu_brouteur" => _("File browser"), | 	     "menu_brouteur" => _("File browser"), | ||||||
| 	     "menu_web" => _("Protected folders"), | 	     "menu_web" => _("Protected folders"), | ||||||
|  | @ -86,7 +87,7 @@ $menus=array( | ||||||
| function tr($name) { | function tr($name) { | ||||||
|   global $menus; |   global $menus; | ||||||
|   $name=basename($name,".php");  |   $name=basename($name,".php");  | ||||||
|   if ($menus[$name]) return $menus[$name]; |   if (isset($menus[$name])) return $menus[$name]; | ||||||
|   else return _("Module")." ".$name; |   else return _("Module")." ".$name; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Axel ROGER
						Axel ROGER