Correction pour affichage ips

This commit is contained in:
Michael RICOIS 2011-11-16 16:12:10 +00:00
parent c0b5fe95ac
commit c3435e5552

View File

@ -467,14 +467,14 @@ $(document).ready(function(){
$ips = explode(';',$this->InfosClient->filtres_ip); $ips = explode(';',$this->InfosClient->filtres_ip);
foreach ($ips as $ip){ foreach ($ips as $ip){
$filtres_ip.= $ip.';'; $filtres_ip.= $ip.';';
$text_ip.= $ip.'<a href="#" class="deleteIP" id="'.$ip.'">Supp</a><br/>'; $text_ip.= $ip.' [<a href="#" class="deleteIP" id="'.$ip.'">Suppression</a>]<br/>';
} }
} }
?> ?>
<input type="hidden" name="filtres_ip" <input type="hidden" name="filtres_ip"
value="<?php echo $filtres_ip?>"> <span id="listeip"> value="<?php echo $filtres_ip?>"> <span id="listeip">
<?php <?php
if (!empty($texte_ip)){ if (!empty($text_ip)){
echo $text_ip; echo $text_ip;
} else { } else {
echo "Aucune IPs."; echo "Aucune IPs.";