mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Update download_class.php
This commit is contained in:
@@ -419,6 +419,7 @@ class download
|
|||||||
{
|
{
|
||||||
$template = e107::getTemplate('download','download');
|
$template = e107::getTemplate('download','download');
|
||||||
|
|
||||||
|
$DOWNLOAD_LIST_CAPTION = $template['list']['caption'];
|
||||||
$DOWNLOAD_LIST_TABLE_START = $template['list']['start'];
|
$DOWNLOAD_LIST_TABLE_START = $template['list']['start'];
|
||||||
$DOWNLOAD_LIST_TABLE = $template['list']['item'];
|
$DOWNLOAD_LIST_TABLE = $template['list']['item'];
|
||||||
$DOWNLOAD_LIST_TABLE_END = $template['list']['end'];
|
$DOWNLOAD_LIST_TABLE_END = $template['list']['end'];
|
||||||
@@ -611,7 +612,9 @@ class download
|
|||||||
|
|
||||||
$dl_text .= $tp->parseTemplate($this->templateFooter, TRUE, $sc);
|
$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))
|
if(!isset($DOWNLOAD_LIST_NEXTPREV))
|
||||||
|
Reference in New Issue
Block a user