Fix delete in browser
This commit is contained in:
parent
57d7f70740
commit
8d3204643f
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue