Changeset 1721

Show
Ignore:
Timestamp:
07/09/06 16:33:40 (2 years ago)
Author:
nahuel
Message:

Rajout de la gestion des repertoires avec des " qui rendait la suppression possible.
Ce qui clos complètement le ticket
Closes: #692

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/admin/bro_main.php

    r1718 r1721  
    6767    <p class="error"><?php __("WARNING : Confirm the deletion of this files"); ?></p> 
    6868<?php foreach($d as $file){ ?> 
    69         <p><?php echo $file; ?></p> 
    70         <input type="hidden" name="d[]" value="<?php echo $file; ?>" /> 
     69        <p><?php echo stripslashes($file); ?></p> 
     70        <input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($file)); ?>" /> 
    7171<?php } ?> 
    7272    <blockquote> 
     
    186186echo "<tr class=\"lst$col\">\n"; 
    187187if ($c[$i]["type"]) { 
    188 echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; 
     188echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>"; 
    189189if ($p["showicons"]) { 
    190190echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>"; 
     
    206206echo "</td>\n"; 
    207207} else {           // DOSSIER : 
    208 echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; 
     208echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>"; 
    209209if ($p["showicons"]) { 
    210210echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";