1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 21:57:34 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -84,10 +84,10 @@ class adminDownload extends download
// {
// $this->_observe_newsCommentsRecalc();
// }
if(isset($_POST['etrigger_ecolumns']))
{
//if(isset($_POST['etrigger_ecolumns']))
//{
// $this->_observe_saveColumns();
}
// }
}

View File

@@ -166,10 +166,10 @@ class download
if($this->qry['action'] == 'maincats')
{
//if($this->qry['action'] == 'maincats')
// {
//
}
// }
if($this->qry['action'] == 'list')
{
@@ -186,15 +186,15 @@ class download
$this->loadReport();
}
if($this->qry['action'] == 'mirror')
{
//if($this->qry['action'] == 'mirror')
// {
//
}
// }
if($this->qry['action'] == 'error')
{
// if($this->qry['action'] == 'error')
// {
}
// }
}
@@ -720,11 +720,11 @@ class download
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div class='alert alert-info' style='text-align:center'>".LAN_NO_RECORDS_FOUND."</div>",'download-list',true);
}
if ($dlrow['download_category_parent'] == 0) // It's a main category - change the listing type required
{
//if ($dlrow['download_category_parent'] == 0) // It's a main category - change the listing type required
// {
// $action = 'maincats';
// $maincatval = $id;
}
// }
$dl_text = $tp->parseTemplate($this->templateHeader, TRUE, $sc);