Commit 3b1e0a35 authored by Alan Garcia's avatar Alan Garcia
Browse files

Coding style, again

parent ed3ab589
......@@ -76,7 +76,9 @@ $list_ip = $authip->list_ip_whitelist();
} else {
$txt="Subnet IPv6";
}
}
} else {
$txt = "Unknow IP";
}
echo "<tr class='lst'><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
?>
<td><div class="ina edit"><a href="javascript:edit_ip(<?php echo "'".htmlentities($i['id'])."','".htmlentities($i['ip_human'])."','".htmlentities($i['infos'])."'"; ?>);"><?php __("Edit"); ?></a></div></td>
......
......@@ -68,7 +68,7 @@ if ($pass != $passconf) {
// When changing its own account, enabled forced to 1.
if ($uid==$mem->user["uid"]) {
$enabled=1;
}
}
if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)){
$error=$err->errstr();
......
......@@ -41,6 +41,9 @@ $dom->lock();
if (!isset($noread) || !$noread) {
if (!$r=$dom->get_sub_domain_all($sub_domain_id)) {
$error=$err->errstr();
echo "<p class=\"alert alert-danger\">$error</p>";
include_once('foot.php');
die();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment