Dotclear

Changeset 2098:71c521832a9e


Ignore:
Timestamp:
09/26/13 14:23:30 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add parent and child directories of potential destination folder's list in media-item.php, (dirty) fixes #1390.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/media_item.php

    r2094 r2098  
    6262     foreach ($core->media->getDBDirs() as $v) { 
    6363          $dirs_combo['/'.$v] = $v; 
     64     } 
     65     # Add parent and direct childs directories if any 
     66     $core->media->getFSDir(); 
     67     foreach ($core->media->dir['dirs'] as $k => $v) { 
     68          $dirs_combo['/'.$v->relname] = $v->relname; 
    6469     } 
    6570     ksort($dirs_combo); 
  • inc/core/class.dc.media.php

    r1855 r2098  
    370370           
    371371     } 
    372       
     372 
     373     /** 
     374     Gets current working directory content (using filesystem) 
     375 
     376     */ 
     377     public function getFSDir() 
     378     { 
     379          parent::getDir(); 
     380     } 
     381 
    373382     /** 
    374383     Gets current working directory content.  
Note: See TracChangeset for help on using the changeset viewer.

Sites map