Fix delete in browser
This commit is contained in:
parent
57d7f70740
commit
8d3204643f
bureau/admin
|
@ -44,6 +44,8 @@ $fields = array (
|
||||||
"actmove" => array ("request", "string", ""),
|
"actmove" => array ("request", "string", ""),
|
||||||
"actmoveto" => array ("request", "string", ""),
|
"actmoveto" => array ("request", "string", ""),
|
||||||
"nomfich" => array ("request", "string", ""),
|
"nomfich" => array ("request", "string", ""),
|
||||||
|
"del_confirm" => array ("request", "string", ""),
|
||||||
|
"cancel" => array ("request", "string", ""),
|
||||||
);
|
);
|
||||||
getFields($fields);
|
getFields($fields);
|
||||||
|
|
||||||
|
@ -89,7 +91,7 @@ if (isset($formu) && $formu) {
|
||||||
<input type="hidden" name="actdel" value="1" />
|
<input type="hidden" name="actdel" value="1" />
|
||||||
<input type="hidden" name="R" value="<?php echo $R?>" />
|
<input type="hidden" name="R" value="<?php echo $R?>" />
|
||||||
<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($_REQUEST["d"] as $editfile){ ?>
|
<?php foreach($d as $editfile){ ?>
|
||||||
<p><?php echo stripslashes($editfile); ?></p>
|
<p><?php echo stripslashes($editfile); ?></p>
|
||||||
<input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($editfile)); ?>" />
|
<input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($editfile)); ?>" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -101,6 +103,7 @@ if (isset($formu) && $formu) {
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php
|
<?php
|
||||||
|
include_once("foot.php");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue