Ignore:
Timestamp:
12/02/09 10:03:43 (14 years ago)
Author:
amuller
Message:

Ticket #597 - Melhorias no módulos gerenciador de arquivos do expresso livre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/inc/class.uifilemanager.inc.php

    r1731 r1732  
    125125                                'messages'      => array('messages'     => ''), 
    126126                                'show_upload_boxes'     => array('show_upload_boxes' => ''), 
     127                                'from'  =>      array('from' => ''), 
    127128                                'to' => array('to' => '') 
    128129 
     
    786787                                { 
    787788                                        if($this->bo->vfs->mv(array( 
    788                                                 'from'  => $file, 
     789                                                'from'  => $this->from . '/' . $file, 
    789790                                                'to'    => $this->to . '/' . $file, 
    790                                                 'relatives'     => array(RELATIVE_ALL, RELATIVE_NONE) 
     791                                                'relatives'     => array(RELATIVE_NONE, RELATIVE_NONE) 
    791792                                        ))) 
    792793                                        { 
    793794                                                $moved++; 
    794                                                 $this->messages[]=lang('Moved %1 to %2', $this->disppath.'/'.$file, $this->to.'/'.$file); 
     795                                                $this->messages[]=lang('Moved %1 to %2', $this->from . '/' . $file, $this->to . '/' . $file); 
    795796                                        } 
    796797                                        else 
     
    824825                                { 
    825826                                        if($this->bo->vfs->cp(array( 
    826                                                 'from'  => $file, 
     827                                                'from'  => $this->from . '/' . $file, 
    827828                                                'to'    => $this->to . '/' . $file, 
    828                                                 'relatives'     => array(RELATIVE_ALL, RELATIVE_NONE) 
     829                                                'relatives'     => array(RELATIVE_NONE, RELATIVE_NONE) 
    829830                                        ))) 
    830831                                        { 
     
    834835                                        else 
    835836                                        { 
    836                                                 $this->messages[] = lang('Error:').lang('Could not copy %1 to %2', $this->disppath.'/'.$file, $this->to.'/'.$file); 
     837                                                $this->messages[] = lang('Error:').lang('Could not copy %1 to %2',$this->from . '/' . $file , $this->to.'/'.$file); 
    837838                                        } 
    838839                                } 
Note: See TracChangeset for help on using the changeset viewer.