Fix delete in browser

This commit is contained in:
Alan Garcia 2012-08-21 11:43:21 +00:00
parent 57d7f70740
commit 8d3204643f
1 changed files with 15 additions and 12 deletions

View File

@ -44,6 +44,8 @@ $fields = array (
"actmove" => array ("request", "string", ""),
"actmoveto" => array ("request", "string", ""),
"nomfich" => array ("request", "string", ""),
"del_confirm" => array ("request", "string", ""),
"cancel" => array ("request", "string", ""),
);
getFields($fields);
@ -89,7 +91,7 @@ if (isset($formu) && $formu) {
<input type="hidden" name="actdel" value="1" />
<input type="hidden" name="R" value="<?php echo $R?>" />
<p class="error"><?php __("WARNING: Confirm the deletion of this files"); ?></p>
<?php foreach($_REQUEST["d"] as $editfile){ ?>
<?php foreach($d as $editfile){ ?>
<p><?php echo stripslashes($editfile); ?></p>
<input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($editfile)); ?>" />
<?php } ?>
@ -101,6 +103,7 @@ if (isset($formu) && $formu) {
</body>
</html>
<?php
include_once("foot.php");
exit();
}
}