Fix second point de #1441
This commit is contained in:
parent
c8decb92a5
commit
7a2136d1b4
|
@ -60,9 +60,12 @@ $list_ip = $authip->list_ip_whitelist();
|
|||
</fieldset>
|
||||
|
||||
</p>
|
||||
<table>
|
||||
<table class='tlist'>
|
||||
<tr><th><?php __("Type"); ?></th><th><?php __("IP"); ?></th><th><?php __("Informations"); ?></th><th colspan=2/></tr>
|
||||
<?php foreach($list_ip as $i) {
|
||||
<?php
|
||||
$col=1;
|
||||
foreach($list_ip as $i) {
|
||||
$col=3-$col;
|
||||
if (checkip($i['ip'])) {
|
||||
if ($i['subnet']==32) {
|
||||
$txt="Address IPv4";
|
||||
|
@ -76,7 +79,7 @@ $list_ip = $authip->list_ip_whitelist();
|
|||
$txt="Subnet IPv6";
|
||||
}
|
||||
}
|
||||
echo "<tr><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
|
||||
echo "<tr class='lst$col'><td>$txt</td><td>{$i['ip_human']}</td><td>{$i['infos']}</td>";
|
||||
?>
|
||||
<td><div class="ina"><a href="javascript:edit_ip(<?php echo "'".htmlentities($i['id'])."','".htmlentities($i['ip_human'])."','".htmlentities($i['infos'])."'"; ?>);"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina"><a href="adm_authip_whitelist.php?delete_id=<?php echo urlencode($i["id"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
|
|
|
@ -53,7 +53,7 @@ include_once ("head.php");
|
|||
</p>
|
||||
|
||||
<form method="post" action="adm_variables.php">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<table border="0" cellpadding="4" cellspacing="0" class='tlist'>
|
||||
<tr><th><?php __("Names"); ?></th><th><?php __("Value"); ?></th><th><?php __("Comment"); ?></th></tr>
|
||||
<?php
|
||||
$col=1;
|
||||
|
|
|
@ -88,8 +88,7 @@ $dl=$dom->get_domain_list($cuid);
|
|||
</p>
|
||||
|
||||
<p class="error">
|
||||
<small>
|
||||
<?php __("If you don't want to host in our server the DNS of your domain, don't check the box 'host my dns here'. If you don't know what it mean, leave it checked."); ?></small></p>
|
||||
<?php __("If you don't want to host in our server the DNS of your domain, don't check the box 'host my dns here'. If you don't know what it mean, leave it checked."); ?></p>
|
||||
<?php $mem->show_help("add_domain"); ?>
|
||||
</form>
|
||||
<?php
|
||||
|
|
|
@ -225,8 +225,7 @@ if (!$r['noerase']) {
|
|||
</td><td><input type="radio" id="noemail" class="inc" name="email" value="0"<?php cbox(!$r["mail"]); ?> /> <label for="noemail"><?php __("No"); ?></label>
|
||||
</td>
|
||||
</table>
|
||||
<div style="padding-left: 30px; padding-bottom: 20px" class="error"> <?php __("Warning: If you set this to 'no', all your email accounts and aliases on this domain will be immediately deleted."); ?></div>
|
||||
<br/>
|
||||
<p class="error"> <?php __("Warning: If you set this to 'no', all your email accounts and aliases on this domain will be immediately deleted."); ?></p>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Submit the changes"); ?>" />
|
||||
</form>
|
||||
|
||||
|
|
|
@ -60,7 +60,9 @@ if ($fatal) {
|
|||
echo "<div class=\"error\">$error</div>";
|
||||
} else {
|
||||
|
||||
if (!empty($error)) { echo "<p class='error'>$error</p>"; }
|
||||
?>
|
||||
|
||||
<table><tr>
|
||||
<?php
|
||||
// Mail creation form
|
||||
|
|
|
@ -216,8 +216,8 @@ img {
|
|||
font-weight: bold;
|
||||
background-color: #FFEEDD;
|
||||
border: 1px solid #CC9966;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Over quota class */
|
||||
|
|
Loading…
Reference in New Issue