Changeset 2084

Show
Ignore:
Timestamp:
01/22/08 03:41:33 (11 months ago)
Author:
anarcat
Message:

try to hook the new CopyFile? function into the main brouteur

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/admin/bro_main.php

    r2068 r2084  
    8787      } 
    8888    } 
     89    if ($actcopy) { 
     90      if (!$bro->CopyFile($d,$R,$actmoveto)) { 
     91        print $err->errstr(); 
     92      } 
     93    } 
    8994    if ($actmove) { 
    9095      if (!$bro->MoveFile($d,$R,$actmoveto)) { 
     
    176181<input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>" /> 
    177182 
     183<input type="submit" class="inb" name="actcopy" value="<?php __("Copy"); ?>" /> 
     184 
    178185<input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>" /> 
    179186&nbsp;&nbsp;&nbsp; 
    180 <input type="submit" class="inb" name="actmove" value="<?php __("Move to"); ?>" />&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="" /> 
     187<input type="submit" class="inb" name="actmove" value="<?php __("Move/Copy to"); ?>" />&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="" /> 
    181188<script type="text/javascript"> 
    182189<!--