$name) $names[$sub] = htmlspecialchars($name, ENT_QUOTES, _CMSAPI_CHARSET, false); $tabobject = new aliroTabs('latest', false, false); $html = ''; foreach ($files as $fileset) { $start_tab = $tabobject->startTab(); $end_tab = $tabobject->endTab(); $html .= <<fileList($fileset)} $end_tab TAB_DATA; } echo <<

{$this->show(_DOWN_OVERVIEW_LATEST)}

{$tabobject->startPane($names)} $html {$tabobject->endPane()} OVERVIEW; } protected function fileList ($fileset) { $html = ''; foreach ($fileset as $file) { $link = $this->repository->RemositoryBasicFunctionURL('startdown', $file->id); $html .= << {$this->show($file->filetitle)} {$this->show($file->smalldesc)} {$this->show(_DOWN_DOWNLOAD_LC)} »

ONE_FILE; } return $html; } public function emptyHTML () { echo <<

{$this->show(_DOWN_EMPTY_REPOSITORY)}

{$this->show(_DOWN_NO_CATS)}

EMPTY_HTML; } }