Coding style, again
This commit is contained in:
parent
ed3ab589dd
commit
3b1e0a359d
|
@ -76,7 +76,9 @@ $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>";
|
||||||
?>
|
?>
|
||||||
<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>
|
<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.
|
// When changing its own account, enabled forced to 1.
|
||||||
if ($uid==$mem->user["uid"]) {
|
if ($uid==$mem->user["uid"]) {
|
||||||
$enabled=1;
|
$enabled=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)){
|
if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)){
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue