mirror of
https://github.com/e107inc/e107.git
synced 2025-01-30 19:57:42 +01:00
Added 'nolist' attribute to e_user.php settings() method for hiding fields within admin/users.php listing.
This commit is contained in:
parent
ad465ae584
commit
daf0008705
@ -384,6 +384,16 @@ class users_admin_ui extends e_admin_ui
|
|||||||
|
|
||||||
foreach ($rows as $row)
|
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'];
|
$field = "user_".$row['user_extended_struct_name'];
|
||||||
// $title = ucfirst(str_replace("user_","",$field));
|
// $title = ucfirst(str_replace("user_","",$field));
|
||||||
$label = $tp->toHTML($row['user_extended_struct_text'],false,'defs');
|
$label = $tp->toHTML($row['user_extended_struct_text'],false,'defs');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user