Minors php bugfixes

This commit is contained in:
Axel ROGER 2012-11-06 15:22:17 +00:00
parent 0c588e8f32
commit e881725cdb
2 changed files with 3 additions and 2 deletions

View File

@ -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"); ?>

View File

@ -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;
}