Les icones des boutons Edit et Delete sont proprement dans la CSS
Merci Manu !
This commit is contained in:
parent
60432b77a9
commit
5fa66ccce2
|
@ -81,8 +81,8 @@ $list_ip = $authip->list_ip_whitelist();
|
|||
}
|
||||
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>
|
||||
<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 delete"><a href="adm_authip_whitelist.php?delete_id=<?php echo urlencode($i["id"]) ?>"><?php __("Delete"); ?></a></div></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
@ -59,7 +59,7 @@ for($i=0;$i<count($tab)+1;$i++) {?>
|
|||
echo "<input type='hidden' name='domup[$i][id]' value='".$val['id']."' />";
|
||||
}
|
||||
?>
|
||||
<div class="ina"><a href='dom_defdel.php?id=<?php echo $val['id']; ?>' type=''><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div>
|
||||
<div class="ina delete"><a href='dom_defdel.php?id=<?php echo $val['id']; ?>' type=''><?php __("Delete"); ?></a></div>
|
||||
</td>
|
||||
|
||||
<td><input type='text' size="16" name='domup[<?php echo $i; ?>][sub]' value="<?php echo $val['sub']; ?>"/></td>
|
||||
|
|
|
@ -73,7 +73,7 @@ foreach($dom->domains_type_lst() as $d) {
|
|||
++$pair;
|
||||
?>
|
||||
<tr class="lst<?php echo $pair%2+1 ?>">
|
||||
<td><div class="ina"><a href="adm_domstypeedit.php?name=<?php echo urlencode($d['name']); ?>"><img style="padding-bottom: 5px" src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina edit"><a href="adm_domstypeedit.php?name=<?php echo urlencode($d['name']); ?>"><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina"><a href="adm_domstyperegenerate.php?name=<?php echo urlencode($d['name']);?>"><?php __("Regenerate");?></a></div></td>
|
||||
<td><?php echo $d['name'];?></td>
|
||||
<td><?php echo $d['description'];?></td>
|
||||
|
|
|
@ -83,7 +83,7 @@ for($i=0;$i<count($c);$i++) {
|
|||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_mxaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td class="center"><div class="ina delete"><a href="adm_mxaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php echo $c[$i]["login"]; ?></td>
|
||||
<td><?php echo $c[$i]["pass"]; ?></td>
|
||||
</tr>
|
||||
|
|
|
@ -150,7 +150,7 @@ $col=1;
|
|||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center">
|
||||
<div class="ina"><a href="adm_passpolicy.php?edit=<?php echo urlencode($v["name"]); ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div>
|
||||
<div class="ina edit"><a href="adm_passpolicy.php?edit=<?php echo urlencode($v["name"]); ?>"><?php __("Edit"); ?></a></div>
|
||||
</td>
|
||||
<td><?php echo $v["description"]; ?></td>
|
||||
<td class="center"><?php echo $v["minsize"]; ?></td>
|
||||
|
|
|
@ -85,7 +85,7 @@ for($i=0;$i<count($c);$i++) {
|
|||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_slaveaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td class="center"><div class="ina delete"><a href="adm_slaveaccount.php?delaccount=<?php echo urlencode($c[$i]["login"]); ?>"><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php ehe($c[$i]["login"]); ?></td>
|
||||
<td><?php ehe($c[$i]["pass"]); ?></td>
|
||||
</tr>
|
||||
|
|
|
@ -84,7 +84,7 @@ for($i=0;$i<count($c);$i++) {
|
|||
?>
|
||||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td class="center"><div class="ina"><a href="adm_slaveip.php?delip=<?php echo urlencode($c[$i]['ip']); ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div></td>
|
||||
<td class="center"><div class="ina delete"><a href="adm_slaveip.php?delip=<?php echo urlencode($c[$i]['ip']); ?>"><?php __("Delete"); ?></a></div></td>
|
||||
<td><?php echo $c[$i]["ip"]."/".$c[$i]["class"]; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
@ -97,11 +97,11 @@ for($i=0;$i<count($c);$i++) {
|
|||
<table class="tedit">
|
||||
<tr><th><label for="newip"><?php __("IP Address"); ?></label></th><th><label for="newclass"><?php __("Prefix"); ?></label></th></tr>
|
||||
<tr>
|
||||
<td style="text-align: right"><input type="text" class="int" value="<?php ehe( (isset($newip)?$newip:'') ); ?>" id="newip" name="newip" maxlength="15" size="20" style="text-align:right" /> / </td>
|
||||
<td><input type="text" class="int" value="<?php ehe( (isset($newclass)?$newclass:'') ); ?>" id="newclass" name="newclass" maxlength="2" size="3" /></td>
|
||||
<td style="text-align: right"><input type="text" class="int" value="<?php ehe( (isset($newip)?$newip:'') ); ?>" id="newip" name="newip" maxlength="15" size="20" style="text-align:right" /> / </td>
|
||||
<td><input type="text" class="int" value="<?php ehe( (isset($newclass)?$newclass:'') ); ?>" id="newclass" name="newclass" maxlength="2" size="3" /></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<input type="submit" value="<?php __("Add this ip to the slave list"); ?>" class="inb" />
|
||||
<input type="submit" value="<?php __("Add this ip to the slave list"); ?>" class="inb" />
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
@ -79,7 +79,7 @@ for($i=0;$i<count($c);$i++) {
|
|||
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td><input id="sel<?php echo $i; ?>" type="checkbox" name="sel[]" class="inc" value="<?php echo $c[$i]["tld"]; ?>" /></td>
|
||||
<td><div class="ina"><a href="adm_tldedit.php?tld=<?php echo urlencode($c[$i]["tld"]); ?>"><img style="padding-bottom: 5px" src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina edit"><a href="adm_tldedit.php?tld=<?php echo urlencode($c[$i]["tld"]); ?>"><?php __("Edit"); ?></a></div></td>
|
||||
<td><label for="sel<?php echo $i; ?>"><?php echo $c[$i]["tld"]; ?></label></td>
|
||||
<td><?php __($admin->tldmode[$c[$i]["mode"]]); ?></td></tr>
|
||||
|
||||
|
|
|
@ -125,13 +125,13 @@ for($i=0;$i<$r["nsub"];$i++) {
|
|||
<?php if ( $r['sub'][$i]['web_action'] =='DELETE') { echo "<td colspan='2' />"; } else { ?>
|
||||
<td class="center">
|
||||
<?php if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) { ?>
|
||||
<div class="ina"><a href="dom_subedit.php?sub_domain_id=<?php echo urlencode($r["sub"][$i]["id"]) ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div>
|
||||
<div class="ina edit"><a href="dom_subedit.php?sub_domain_id=<?php echo urlencode($r["sub"][$i]["id"]) ?>"><?php __("Edit"); ?></a></div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</td><td class="center">
|
||||
<?php if (!(!$isinvited && $dt[strtolower($r["sub"][$i]["type"])]["enable"] != "ALL" )) { ?>
|
||||
<div class="ina"><a href="dom_subdel.php?sub_domain_id=<?php echo urlencode($r["sub"][$i]["id"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div>
|
||||
<div class="ina delete"><a href="dom_subdel.php?sub_domain_id=<?php echo urlencode($r["sub"][$i]["id"]) ?>"><?php __("Delete"); ?></a></div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php } // end IF ==DELETE ?>
|
||||
|
|
|
@ -79,7 +79,7 @@ while (list($key,$val)=each($r))
|
|||
?>
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td align="center"><input type="checkbox" class="inc" id="del_<?php echo $val["id"]; ?>" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td>
|
||||
<td><div class="ina"><a href="ftp_edit.php?id=<?php echo $val["id"] ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<td><div class="ina edit"><a href="ftp_edit.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></div></td>
|
||||
|
||||
<td><a href='ftp_switch_enable.php?id=<?php echo $val['id'].'&status='.( ($val['enabled'])?'0':'1' ) ;?>' onClick='return confirm("<?php __("Are you sure you want to change his status?"); ?>");'><?php
|
||||
if ( $val['enabled']) {
|
||||
|
|
|
@ -77,7 +77,7 @@ for($i=0;$i<count($r);$i++){
|
|||
<tr class="lst<?php echo $col; ?>">
|
||||
<td align="center"><input type="checkbox" class="inc" name="del_<?php echo $r[$i] ?>" value="<?php echo $r[$i] ?>" /></td>
|
||||
<td>
|
||||
<div class="ina"><a href="hta_edit.php?dir=<?php echo $r[$i]?>"><img src="icon/encrypted.png" alt="<?php __("Edit login and passwords"); ?>" /><?php __("Edit login and passwords"); ?></a></div>
|
||||
<div class="ina lock"><a href="hta_edit.php?dir=<?php echo $r[$i]?>"><?php __("Edit login and passwords"); ?></a></div>
|
||||
</td>
|
||||
<td><?php echo '<a href="bro_main.php?R='.urlencode($r[$i]).'">'.htmlspecialchars($r[$i]).'</a>'; ?></td>
|
||||
</tr>
|
||||
|
|
|
@ -78,7 +78,7 @@ $lac = $authip->list_affected();
|
|||
echo " "._("for")." ".$ac[$ll['protocol']]['values'][$ll['parameters']];
|
||||
}
|
||||
echo "</td>";
|
||||
echo '<td><div class="ina"><a href="ip_main.php?delete_affected_id='.urlencode($ll["id"]).'"><img src="images/delete.png" alt="'._("Delete").'" />'._("Delete").'</a></div></td>';
|
||||
echo '<td><div class="ina delete"><a href="ip_main.php?delete_affected_id='.urlencode($ll["id"]).'">'._("Delete").'</a></div></td>';
|
||||
echo "</tr>";
|
||||
}
|
||||
?>
|
||||
|
@ -165,8 +165,8 @@ foreach($list_ip as $i) {
|
|||
}
|
||||
echo "<tr class='lst$col' ><td>{$i['infos']}</td><td>{$i['ip_human']}</td><td>$txt</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="ip_main.php?delete_id=<?php echo urlencode($i["id"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></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>
|
||||
<td><div class="ina delete"><a href="ip_main.php?delete_id=<?php echo urlencode($i["id"]) ?>"><?php __("Delete"); ?></a></div></td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
@ -147,7 +147,7 @@ if(!empty($mails_list)) {
|
|||
<input class="inc" type="checkbox" id="del_<?php echo $i; ?>" name="d[]" value="<?php ehe($val["id"]); ?>" />
|
||||
</td>
|
||||
<td class="<?php echo $grey; ?>">
|
||||
<div class="ina"><a href="mail_edit.php?mail_id=<?php echo $val["id"] ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||
<div class="ina edit"><a href="mail_edit.php?mail_id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></div></td>
|
||||
<td class="<?php echo $grey; ?>"><?php if ($val["enabled"] ) { ?>
|
||||
<img src="images/check_ok.png" alt="<?php __("Enabled"); ?>" />
|
||||
<?php } else { ?>
|
||||
|
|
|
@ -611,3 +611,25 @@ input#dir, input#sub_local {
|
|||
#adm_panel li:hover, #adm_panel_root li:hover {
|
||||
background-color: #BFD3E1;
|
||||
}
|
||||
|
||||
.edit a, a.edit {
|
||||
background-image: url(../images/edit.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 8px 3px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.delete a, a.delete {
|
||||
background-image: url(../images/delete.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 8px 3px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.lock a, a.lock {
|
||||
background-image: url(../icon/encrypted.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 8px 3px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue