lang = $tx['filebrowser']; } function folderList($folders) { global $tx, $plugin_tx, $adm; // $title = $this->baseLink === 'images' ? 'Bilder' : 'Downloads'; if($adm == '') { $title = ucfirst($tx['title'][$this->baseLink]) ? $tx['title'][$this->baseLink] : ucfirst($tx['title']['userfiles'] . ' ' . $this->translate('folder')); // für Editorbrowser } else { $title = ucfirst($tx['title'][$this->baseLink]) ? $tx['title']['userfiles'] : ucfirst($tx['title']['userfiles'] . ' ' . $this->translate('folder')); // für CMS Browser } $html = ' '; return $html; } function folderLink($folder, $folders) { $link = str_replace('index.php','',$_SERVER['PHP_SELF']); $class = 'folder'; if (substr($this->currentDirectory, 0, strlen($folder)) == $folder) { $class = 'openFolder'; } $temp = explode('/', $folder); $html = "\n" . '
  • ' . end($temp) . ''; if (count($folders[$folder]['children']) > 0) { if (substr($this->currentDirectory, 0, strlen($folder)) !== $folder) { $class = 'unseen'; } $html .= ' '; } $html .= '
  • '; return $html; } function subfolderList($folders) { $html = ''; if (is_array($folders) && count($folders) > 0) { $html = ' '; } return $html; } function fileList($files) { global $cf, $images; if(@$_SESSION['fb_view'] == 'list') { $html = '