mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 17:09:46 +01:00
Update download_class.php
This commit is contained in:
parent
fe2b66614f
commit
c03fb2361e
@ -419,6 +419,7 @@ class download
|
||||
{
|
||||
$template = e107::getTemplate('download','download');
|
||||
|
||||
$DOWNLOAD_LIST_CAPTION = $template['list']['caption'];
|
||||
$DOWNLOAD_LIST_TABLE_START = $template['list']['start'];
|
||||
$DOWNLOAD_LIST_TABLE = $template['list']['item'];
|
||||
$DOWNLOAD_LIST_TABLE_END = $template['list']['end'];
|
||||
@ -611,7 +612,9 @@ class download
|
||||
|
||||
$dl_text .= $tp->parseTemplate($this->templateFooter, TRUE, $sc);
|
||||
|
||||
$text .= $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, $dl_text, 'download-list', true);
|
||||
$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);
|
||||
}
|
||||
|
||||
if(!isset($DOWNLOAD_LIST_NEXTPREV))
|
||||
|
Loading…
x
Reference in New Issue
Block a user