Commit 0a65fa34 authored by Antoine Beaupré's avatar Antoine Beaupré

try to hook the new CopyFile function into the main brouteur

parent 57cf564a
......@@ -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"); ?>" />
&nbsp;&nbsp;&nbsp;
<input type="submit" class="inb" name="actmove" value="<?php __("Move to"); ?>" />&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="" />
<input type="submit" class="inb" name="actmove" value="<?php __("Move/Copy to"); ?>" />&nbsp;:&nbsp;<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\" />");
......
Markdown is supported
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