mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Update download_class.php
This commit is contained in:
@@ -269,6 +269,7 @@ class download
|
|||||||
{
|
{
|
||||||
$template = e107::getTemplate('download','download','categories');
|
$template = e107::getTemplate('download','download','categories');
|
||||||
|
|
||||||
|
$DOWNLOAD_CAT_CAPTION = $template['caption'];
|
||||||
$DOWNLOAD_CAT_TABLE_START = varset($template['start']);
|
$DOWNLOAD_CAT_TABLE_START = varset($template['start']);
|
||||||
$DOWNLOAD_CAT_PARENT_TABLE = $template['parent'];
|
$DOWNLOAD_CAT_PARENT_TABLE = $template['parent'];
|
||||||
$DOWNLOAD_CAT_CHILD_TABLE = $template['child'];
|
$DOWNLOAD_CAT_CHILD_TABLE = $template['child'];
|
||||||
@@ -281,6 +282,7 @@ class download
|
|||||||
}
|
}
|
||||||
else // Legacy v1.x
|
else // Legacy v1.x
|
||||||
{
|
{
|
||||||
|
$DOWNLOAD_CAT_CAPTION = null;
|
||||||
$DOWNLOAD_CAT_TABLE_START = null;
|
$DOWNLOAD_CAT_TABLE_START = null;
|
||||||
$DOWNLOAD_CAT_PARENT_TABLE = null;
|
$DOWNLOAD_CAT_PARENT_TABLE = null;
|
||||||
$DOWNLOAD_CAT_CHILD_TABLE = null;
|
$DOWNLOAD_CAT_CHILD_TABLE = null;
|
||||||
|
Reference in New Issue
Block a user