mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Update download_class.php
This commit is contained in:
@@ -579,6 +579,8 @@ class download
|
||||
|
||||
if($filetotal)
|
||||
{
|
||||
$caption = varset($DOWNLOAD_LIST_CAPTION) ? $tp->parseTemplate($DOWNLOAD_LIST_CAPTION, TRUE, $sc) : LAN_PLUGIN_DOWNLOAD_NAME;
|
||||
|
||||
// Only show list if some files in it
|
||||
$dl_text .= $tp->parseTemplate($DOWNLOAD_LIST_TABLE_START, TRUE, $sc);
|
||||
|
||||
@@ -612,8 +614,6 @@ class download
|
||||
|
||||
$dl_text .= $tp->parseTemplate($this->templateFooter, TRUE, $sc);
|
||||
|
||||
$caption = varset($DOWNLOAD_LIST_CAPTION) ? $tp->parseTemplate($DOWNLOAD_LIST_CAPTION, TRUE, $sc) : LAN_PLUGIN_DOWNLOAD_NAME;
|
||||
|
||||
$text .= $ns->tablerender($caption, $dl_text, 'download-list', true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user