Commit cdbb8450 authored by Alan Garcia's avatar Alan Garcia
Browse files

Bugfixes browser

parent 5ce5b9f5
......@@ -60,7 +60,7 @@ if (!$R && $p["golastdir"]) {
}
$R=$bro->convertabsolute($R,1);
// on fait ?
if (isset($formu) && $formu) {
if (!empty($formu) && $formu) {
switch ($formu) {
case 1: // Crer le rpertoire $R.$nomfich
if (!$bro->CreateDir($R,$nomfich)) {
......@@ -81,11 +81,11 @@ if (isset($formu) && $formu) {
break;
case 2: // act vaut Supprimer Copier ou Renommer.
if ($actdel) {
if (isset($del_confirm) && $del_confirm != "") {
if (!empty($del_confirm) ) {
if (!$bro->DeleteFile($d,$R)) {
$error = $err->errstr();
}
} elseif (!isset($cancel) && is_array($d)) {
} elseif (empty($cancel) && is_array($d)) {
include_once("head.php");
?>
<h3><?php printf(_("Deleting files and/or directories")); ?> : </h3>
......@@ -103,8 +103,6 @@ if (isset($formu) && $formu) {
<input type="submit" class="inb" name="cancel" value="<?php __("No"); ?>" />
</blockquote>
</form>
</body>
</html>
<?php
include_once("foot.php");
exit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment