mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
improved control of the customfields in tableheader of infolog
->added the name of the customfields to the customfield control array ($rows[customfields])
This commit is contained in:
parent
45a2efe551
commit
ab60a02467
@ -374,11 +374,13 @@ class uiinfolog
|
||||
(in_array('#'.$cf,$columselection)||$showallcustfields==1))
|
||||
{
|
||||
$lv_customfields[$cf]=$cfa;
|
||||
$lv_customfields[$cf]['name']='#'.$cf;
|
||||
$readonlys['#'.$cf] = true;
|
||||
}
|
||||
} else {
|
||||
if ($showallcustfields==1 || in_array('#'.$cf,$columselection)) {
|
||||
$lv_customfields[$cf]=$cfa;
|
||||
$lv_customfields[$cf]['name']='#'.$cf;
|
||||
$readonlys['#'.$cf] = true;
|
||||
}
|
||||
}
|
||||
@ -392,6 +394,7 @@ class uiinfolog
|
||||
{
|
||||
if ($showallcustfields==1 || in_array('#'.$name,$columselection)) {
|
||||
$lv_customfields[$name]=$value;
|
||||
$lv_customfields[$name]['name']='#'.$name;
|
||||
//echo $name."->". $value['label']."<br>";
|
||||
$readonlys['#'.$name] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user