Coding style, again

This commit is contained in:
Alan Garcia 2014-03-26 11:45:31 +00:00
parent ed3ab589dd
commit 3b1e0a359d
3 changed files with 7 additions and 2 deletions

View File

@ -76,6 +76,8 @@ $list_ip = $authip->list_ip_whitelist();
} else { } else {
$txt="Subnet IPv6"; $txt="Subnet IPv6";
} }
} else {
$txt = "Unknow IP";
} }
echo "<tr class='lst'><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>"; echo "<tr class='lst'><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
?> ?>

View File

@ -41,6 +41,9 @@ $dom->lock();
if (!isset($noread) || !$noread) { if (!isset($noread) || !$noread) {
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) { if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
$error=$err->errstr(); $error=$err->errstr();
echo "<p class=\"alert alert-danger\">$error</p>";
include_once('foot.php');
die();
} }
} }