admin
Karma: 101
|
Re:Download link - 2009/03/05 11:55
The file display within lists of files is constructed in remository.html.php in the fileListing method. Around line 238 you should find the code:
| Code: |
$downlink = $this->repository->RemositoryFunctionURL($filefunc,$file->id);
if ($file->icon == '') $downlink .= $this->repository->RemositoryImageURL('stuff1.gif');
else $downlink .= $this->repository->RemositoryImageURL('file_icons/'.$file->icon);
$downlink .= $file->filetitle.'';
if ($this->repository->Enable_List_Download AND is_object($container) AND $container->isDownloadable($this->remUser)) {
$downlink .= $file->downloadLink($downlinktype).' '.$downlogo.' '._DOWNLOAD.'';
}
|
where you can see the heading line being built up from the file title (which is a link), the icon, and optionally a download link. You could insert a line break somewhere here.
The file information page is constructed in v-classes/remositoryFileInfoHTML.php with the title line starting to be built at line 181.
The internal search screen is built in v-classes/remositorySearchBoxHTML.php.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |