listHeadingStart(count($files)); $this->headingItem('15%', _DOWN_NAME_TITLE); $this->headingItem('20%', _DOWN_PARENT_CAT); $this->headingItem('20%', _DOWN_PARENT_FOLDER); $this->headingItem('20%', _DOWN_DATE); $this->headingItem('15%', _DOWNLOAD); echo "\n"; } function listLine ($file, $i, $k) { $repository = remositoryRepository::getInstance(); $interface = remositoryInterface::getInstance(); // Change for multiple repositories $downlink = $interface->getCfg('admin_site').'/index3.php?option=com_remository&act=download&id='.$file->id; // $downlink = $interface->getCfg('admin_site')."/index3.php?option=com_remository&repnum=$this->repnum&act=download&id=".$file->id; /* */ ?> "> filetitle; ?> getCategoryName();?> getFamilyNames();?> filedate;?> formStart(_DOWN_APPROVE_TITLE); echo "\n\t"; $this->columnHeads($files); $this->pageNav->listFormEnd(); $k = 0; echo "\n\t\t"; foreach ($files as $i=>$file) { $this->listLine($file, $i, $k); $k = 1 - $k; } if (count($files) == 0) { $text = '0 '._DOWN_RECORDS; echo << $text NO_RECORDS; } echo "\n\t\t"; } }