try to hook the new CopyFile function into the main brouteur
This commit is contained in:
parent
57cf564a80
commit
0a65fa34b9
|
@ -86,6 +86,11 @@ if ($formu) {
|
|||
exit();
|
||||
}
|
||||
}
|
||||
if ($actcopy) {
|
||||
if (!$bro->CopyFile($d,$R,$actmoveto)) {
|
||||
print $err->errstr();
|
||||
}
|
||||
}
|
||||
if ($actmove) {
|
||||
if (!$bro->MoveFile($d,$R,$actmoveto)) {
|
||||
print $err->errstr();
|
||||
|
@ -175,9 +180,11 @@ document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=
|
|||
</script>
|
||||
<input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>" />
|
||||
|
||||
<input type="submit" class="inb" name="actcopy" value="<?php __("Copy"); ?>" />
|
||||
|
||||
<input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>" />
|
||||
|
||||
<input type="submit" class="inb" name="actmove" value="<?php __("Move to"); ?>" /> : <input type="text" class="int" name="actmoveto" value="" />
|
||||
<input type="submit" class="inb" name="actmove" value="<?php __("Move/Copy to"); ?>" /> : <input type="text" class="int" name="actmoveto" value="" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\" />");
|
||||
|
|
Loading…
Reference in New Issue