1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Update download_class.php

This commit is contained in:
rica-carv
2016-12-04 17:33:03 +00:00
committed by GitHub
parent efa2b08ce2
commit 7a5086d25c

View File

@@ -211,7 +211,7 @@ class download
if ($dlcat->down_count == 0) if ($dlcat->down_count == 0)
{ {
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div style='text-align:center'>".LAN_NO_RECORDS_FOUND."</div>",'download-categories',true); return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div ".(deftrue('BOOTSTRAP')?"class='alert alert-warning' >":"")."style='text-align:center'>".LAN_NO_RECORDS_FOUND."</div>",'download-categories',true);
} }
$download_cat_table_string = ""; $download_cat_table_string = "";
@@ -1011,4 +1011,4 @@ function sort_download_mirror_order($a, $b)
} }
return ($a[1] < $b[1]) ? -1 : 1; return ($a[1] < $b[1]) ? -1 : 1;
} }
?> ?>