mirror of
https://github.com/e107inc/e107.git
synced 2025-05-05 03:38:29 +02:00
Update download_class.php
This commit is contained in:
parent
8820323444
commit
5b9126c72e
@ -579,6 +579,8 @@ class download
|
|||||||
|
|
||||||
if($filetotal)
|
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
|
// Only show list if some files in it
|
||||||
$dl_text .= $tp->parseTemplate($DOWNLOAD_LIST_TABLE_START, TRUE, $sc);
|
$dl_text .= $tp->parseTemplate($DOWNLOAD_LIST_TABLE_START, TRUE, $sc);
|
||||||
|
|
||||||
@ -611,8 +613,6 @@ class download
|
|||||||
}
|
}
|
||||||
|
|
||||||
$dl_text .= $tp->parseTemplate($this->templateFooter, TRUE, $sc);
|
$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);
|
$text .= $ns->tablerender($caption, $dl_text, 'download-list', true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user