diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 5974c5c5..61c2a7d7 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -110,6 +110,16 @@ if ($formu) { } } +if ($actextract) { + print _("extracting..."); + if ($bro->ExtractFile($file, $R)) { + print $err->errstr(); + print _("failed"); + } else { + print _("done"); + } +} + /* Creation de la liste des fichiers courants */ $c=$bro->filelist($R); if ($c===false) $error=$err->errstr(); @@ -223,6 +233,15 @@ echo ""._("View").""; } else { echo " "; } +$e = $bro->is_extractable($R,$c[$i]["name"]); +if ($e) { +echo ""; +echo _("Extract"); +echo ""; +} else { +echo "not extracable"; +} + echo "\n"; } else { // DOSSIER : echo " ";