1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Added 'nolist' attribute to e_user.php settings() method for hiding fields within admin/users.php listing.

This commit is contained in:
Cameron 2021-09-06 12:11:22 -07:00
parent ad465ae584
commit daf0008705

View File

@ -384,6 +384,16 @@ class users_admin_ui extends e_admin_ui
foreach ($rows as $row)
{
if((int) $row['user_extended_struct_type'] === 12) // EUF_ADDON
{
$attrib = e107::unserialize($row['user_extended_struct_values']);
if(!empty($attrib['nolist']))
{
continue;
}
}
$field = "user_".$row['user_extended_struct_name'];
// $title = ucfirst(str_replace("user_","",$field));
$label = $tp->toHTML($row['user_extended_struct_text'],false,'defs');