Rajout de la gestion des repertoires avec des " qui rendait la suppression possible.

Ce qui clos complètement le ticket
Closes: #692
This commit is contained in:
Nahuel Angelinetti 2006-07-09 14:33:40 +00:00
parent 2a1ddfab04
commit eb8bc30ad1
1 changed files with 4 additions and 4 deletions

View File

@ -66,8 +66,8 @@ if ($formu) {
<input type="hidden" name="formu" value="2" /> <input type="hidden" name="formu" value="2" />
<p class="error"><?php __("WARNING : Confirm the deletion of this files"); ?></p> <p class="error"><?php __("WARNING : Confirm the deletion of this files"); ?></p>
<?php foreach($d as $file){ ?> <?php foreach($d as $file){ ?>
<p><?php echo $file; ?></p> <p><?php echo stripslashes($file); ?></p>
<input type="hidden" name="d[]" value="<?php echo $file; ?>" /> <input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($file)); ?>" />
<?php } ?> <?php } ?>
<blockquote> <blockquote>
<input type="submit" class="inb" name="actdel" value="<?php __("Yes"); ?>" />&nbsp;&nbsp; <input type="submit" class="inb" name="actdel" value="<?php __("Yes"); ?>" />&nbsp;&nbsp;
@ -185,7 +185,7 @@ for($i=0;$i<count($c);$i++) {
$col=3-$col; $col=3-$col;
echo "<tr class=\"lst$col\">\n"; echo "<tr class=\"lst$col\">\n";
if ($c[$i]["type"]) { if ($c[$i]["type"]) {
echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>";
if ($p["showicons"]) { if ($p["showicons"]) {
echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>"; echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>";
} }
@ -205,7 +205,7 @@ echo "<td>&nbsp;";
} }
echo "</td>\n"; echo "</td>\n";
} else { // DOSSIER : } else { // DOSSIER :
echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>";
if ($p["showicons"]) { if ($p["showicons"]) {
echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>"; echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";
} }