1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Legacy Admin layout fixes and tests.

This commit is contained in:
Cameron
2021-01-17 10:36:17 -08:00
parent b286d66e88
commit 299c3717a7
8 changed files with 46 additions and 18 deletions

View File

@@ -787,7 +787,7 @@ function render_clean() // still used by classis, tabbed etc.
{
global $td;
$text = "";
while ($td <= ADLINK_COLS)
while ($td <= defset('ADLINK_COLS', 5))
{
$text .= "<td class='td' style='width:20%;'></td>";
$td++;
@@ -799,7 +799,7 @@ function render_clean() // still used by classis, tabbed etc.
if(is_object($adp))
if(isset($adp) && is_object($adp))
{
$adp->render();
}