processUploads(); //process any file renames $renameStatus=$manager->processRenames(); //process paste $pasteStatus = (isset($_GET['paste'])) ? $manager->processPaste() : false; $refreshFile = ($manager->deleteFiles()) ? true : false; $refreshDir = false; //process any directory functions if($manager->deleteDirs() || $manager->processNewDir() || $pasteStatus || $renameStatus ) $refreshDir = true; $diskInfo=$manager->getDiskInfo(); //check for any sub-directory request //check that the requested sub-directory exists //and valid if(isset($_REQUEST['dir'])) { $path = rawurldecode($_REQUEST['dir']); if($manager->validRelativePath($path)) $relative = $path; } $afruViewType = (isset($_REQUEST['viewtype'])) ? $afruViewType=$_REQUEST['viewtype'] : ''; if($afruViewType!="thumbview" && $afruViewType!="listview") { $afruViewType=$IMConfig['view_type']; } //get the list of files and directories $list = $manager->getFiles($relative); /* ================= OUTPUT/DRAW FUNCTIONS ======================= */ /** * Draw folders and files. Changed by Afru */ function drawDirs_Files($list, &$manager) { global $relative, $afruViewType, $IMConfig, $insertMode; switch ($afruViewType) { case 'listview': $maxNameLength = 30; ?>
Name | Size | Image Size | Date Modified | ||
---|---|---|---|---|---|
$maxNameLength) echo substr($dir['entry'],0,$maxNameLength)."..."; else echo $dir['entry']; ?> | Folder | ||||
" alt="" /> | onmouseover="showPreview('')" onmouseout="showPreview(window.parent.document.getElementById('f_url').value)" > $maxNameLength) echo substr($entry,0,$maxNameLength)."..."; else echo $entry; ?> | 0){ echo $file['image'][0].'x'.$file['image'][1]; } ?> | 0) { ?> |