Changeset 3343 for branches/2.2


Ignore:
Timestamp:
10/13/10 11:22:22 (13 years ago)
Author:
amuller
Message:

Ticket #1371 - Arruma o reconstruct da pasta para escolha do usuário

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/filemanager/inc/class.uifilemanager.inc.php

    r3019 r3343  
    449449                                $this->sortby = 'name'; 
    450450                        } 
    451  
    452                         if($this->newfile_x && $this->newfile_or_dir) // create new textfile 
     451                        if($this->update_x == 1){ 
     452                                $this->bo->vfs->update_real(array( 
     453                                        'string'        => $this->path, 
     454                                        'relatives'     => array(RELATIVE_NONE) 
     455                                )); 
     456                                header('Location:'.$this->encode_href('index.php?menuaction=filemanager.uifilemanager.index','&path='.base64_encode($this->bo->homedir))); 
     457                        } 
     458                        elseif($this->newfile_x && $this->newfile_or_dir) // create new textfile 
    453459                        { 
    454460                                $this->createfile(); 
Note: See TracChangeset for help on using the changeset viewer.