Changeset 1721
- Timestamp:
- 07/09/06 16:33:40 (2 years ago)
- Files:
-
- alternc/trunk/bureau/admin/bro_main.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/admin/bro_main.php
r1718 r1721 67 67 <p class="error"><?php __("WARNING : Confirm the deletion of this files"); ?></p> 68 68 <?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)); ?>" /> 71 71 <?php } ?> 72 72 <blockquote> … … 186 186 echo "<tr class=\"lst$col\">\n"; 187 187 if ($c[$i]["type"]) { 188 echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"". $c[$i]["name"]."\" /></td>";188 echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>"; 189 189 if ($p["showicons"]) { 190 190 echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>"; … … 206 206 echo "</td>\n"; 207 207 } else { // DOSSIER : 208 echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"". $c[$i]["name"]."\" /></td>";208 echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>"; 209 209 if ($p["showicons"]) { 210 210 echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";
