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