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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user