1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Option added to set unique IDs for each tablerender() instance.

This commit is contained in:
Cameron
2016-11-08 19:01:26 -08:00
parent 593533298b
commit 1bed9da9ab
4 changed files with 29 additions and 7 deletions

View File

@@ -507,7 +507,7 @@ class admin_shortcodes
// $text .= "</div>";
$ns->setUniqueId('e-latest-list');
return ($parm != 'norender') ? $ns -> tablerender(ADLAN_LAT_1, $text, '', TRUE) : $text;
}
@@ -983,6 +983,7 @@ class admin_shortcodes
if ($pref['adminpwordchange'] && ((ADMINPWCHANGE+2592000) < time()))
{
$text = "<div style='mediumtext; text-align:center'>".ADLAN_102." <a href='".e_ADMIN."updateadmin.php'>".ADLAN_103.'</a></div>';
$ns->setUniqueId('e-password-change');
return $ns -> tablerender(ADLAN_104, $text, '', true);
}
}
@@ -1208,7 +1209,7 @@ class admin_shortcodes
// $text .= "\n\t\t\t\t\t</div>";
$ns->setUniqueId('e-status-list');
return ($parm != 'norender') ? $ns -> tablerender(LAN_STATUS, $text, '', TRUE) : $text;
}
}