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:
Klaus Leithoff 2007-12-13 11:15:47 +00:00
parent 45a2efe551
commit ab60a02467

View File

@ -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;
}