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>
|
||||
</tr>
|
||||
<?php } // end while ?>
|
||||
|
||||
</table>
|
||||
<?php include_once("foot.php"); ?>
|
||||
|
|
|
@ -65,6 +65,7 @@ asort($menu_error);
|
|||
|
||||
$menus=array(
|
||||
"menu_dom" => _("Domains"),
|
||||
"menu_adm" => _("Administration"),
|
||||
"menu_mail" => _("Email Addresses"),
|
||||
"menu_brouteur" => _("File browser"),
|
||||
"menu_web" => _("Protected folders"),
|
||||
|
@ -86,7 +87,7 @@ $menus=array(
|
|||
function tr($name) {
|
||||
global $menus;
|
||||
$name=basename($name,".php");
|
||||
if ($menus[$name]) return $menus[$name];
|
||||
if (isset($menus[$name])) return $menus[$name];
|
||||
else return _("Module")." ".$name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue