forked from science-ation/science-ation
need tbody for tablesorter
This commit is contained in:
parent
ff3ab7151e
commit
8282ceaf96
@ -210,6 +210,7 @@ function neweditor()
|
||||
echo " <th>".i18n("Actions")."</th>";
|
||||
echo "</tr>";
|
||||
echo "</thead>";
|
||||
echo "<tbody>";
|
||||
|
||||
$tally = array();
|
||||
$tally['active'] = array();
|
||||
@ -220,8 +221,7 @@ function neweditor()
|
||||
$tally['inactive']['complete'] = 0;
|
||||
$tally['inactive']['incomplete'] = 0;
|
||||
$tally['inactive']['na'] = 0;
|
||||
while($r=mysql_fetch_assoc($q))
|
||||
{
|
||||
while($r=mysql_fetch_assoc($q)) {
|
||||
// get the role data for this user
|
||||
$roleData = array();
|
||||
$roleQuery = mysql_query("SELECT * FROM roles JOIN user_roles ON user_roles.roles_id = roles.id WHERE user_roles.users_id = " . $r['userid']);
|
||||
@ -299,7 +299,7 @@ function neweditor()
|
||||
$tally[$userstate]['na']++;
|
||||
}
|
||||
}
|
||||
|
||||
echo "</tbody>";
|
||||
echo "</table>";
|
||||
echo i18n("Note: Deleting users from this list is a permanent operation and cannot be undone. Consider editting the user and deactivating or deleting roles in their account instead.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user