mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Exclude user extended categories from field selection
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
* Administration Area - Users
|
* Administration Area - Users
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
|
||||||
* $Revision: 1.60 $
|
* $Revision: 1.61 $
|
||||||
* $Date: 2009-10-21 19:19:53 $
|
* $Date: 2009-10-21 21:36:10 $
|
||||||
* $Author: e107steved $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -582,12 +582,14 @@ class users
|
|||||||
'user_pwchange' => array('title' => LAN_USER_24,'width' => 'auto'),
|
'user_pwchange' => array('title' => LAN_USER_24,'width' => 'auto'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$sql->db_Select("user_extended_struct");
|
if($sql->db_Select('user_extended_struct', 'user_extended_struct_name', "user_extended_struct_type > 0 AND user_extended_struct_text != '_system_' ORDER BY user_extended_struct_parent ASC"))
|
||||||
while ($row = $sql->db_Fetch())
|
|
||||||
{
|
{
|
||||||
$field = "user_".$row['user_extended_struct_name'];
|
while ($row = $sql->db_Fetch())
|
||||||
$title = ucfirst(str_replace("user_","",$field));
|
{
|
||||||
$this->fields[$field] = array('title' => $title,'width' => 'auto');
|
$field = "user_".$row['user_extended_struct_name'];
|
||||||
|
$title = ucfirst(str_replace("user_","",$field));
|
||||||
|
$this->fields[$field] = array('title' => $title,'width' => 'auto');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$this->fields['options'] = array('title' => LAN_OPTIONS,'width' => '10%',"thclass" => "center last",'forced' => true);
|
$this->fields['options'] = array('title' => LAN_OPTIONS,'width' => '10%',"thclass" => "center last",'forced' => true);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user