Changeset 1732 for sandbox/filemanager/inc/class.uifilemanager.inc.php
- Timestamp:
- 12/02/09 10:03:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.uifilemanager.inc.php
r1731 r1732 125 125 'messages' => array('messages' => ''), 126 126 'show_upload_boxes' => array('show_upload_boxes' => ''), 127 'from' => array('from' => ''), 127 128 'to' => array('to' => '') 128 129 … … 786 787 { 787 788 if($this->bo->vfs->mv(array( 788 'from' => $ file,789 'from' => $this->from . '/' . $file, 789 790 'to' => $this->to . '/' . $file, 790 'relatives' => array(RELATIVE_ ALL, RELATIVE_NONE)791 'relatives' => array(RELATIVE_NONE, RELATIVE_NONE) 791 792 ))) 792 793 { 793 794 $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); 795 796 } 796 797 else … … 824 825 { 825 826 if($this->bo->vfs->cp(array( 826 'from' => $ file,827 'from' => $this->from . '/' . $file, 827 828 'to' => $this->to . '/' . $file, 828 'relatives' => array(RELATIVE_ ALL, RELATIVE_NONE)829 'relatives' => array(RELATIVE_NONE, RELATIVE_NONE) 829 830 ))) 830 831 { … … 834 835 else 835 836 { 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); 837 838 } 838 839 }
Note: See TracChangeset
for help on using the changeset viewer.