mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 08:51:50 +02:00
Update download_class.php
This commit is contained in:
@@ -269,18 +269,20 @@ class download
|
||||
{
|
||||
$template = e107::getTemplate('download','download','categories');
|
||||
|
||||
$DOWNLOAD_CAT_CAPTION = $template['caption'];
|
||||
$DOWNLOAD_CAT_TABLE_START = varset($template['start']);
|
||||
$DOWNLOAD_CAT_PARENT_TABLE = $template['parent'];
|
||||
$DOWNLOAD_CAT_CHILD_TABLE = $template['child'];
|
||||
$DOWNLOAD_CAT_SUBSUB_TABLE = $template['subchild'];
|
||||
$DOWNLOAD_CAT_TABLE_END = varset($template['end']);
|
||||
|
||||
|
||||
// $DL_VIEW_NEXTPREV = varset($template['nextprev']);
|
||||
// $DL_VIEW_PAGETITLE = varset($template['pagetitle']);
|
||||
// $DL_VIEW_CAPTION = varset($template['caption'],"{DOWNLOAD_VIEW_CAPTION}");
|
||||
}
|
||||
else // Legacy v1.x
|
||||
{
|
||||
$DOWNLOAD_CAT_CAPTION = null;
|
||||
$DOWNLOAD_CAT_TABLE_START = null;
|
||||
$DOWNLOAD_CAT_PARENT_TABLE = null;
|
||||
$DOWNLOAD_CAT_CHILD_TABLE = null;
|
||||
|
Reference in New Issue
Block a user