mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +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))
|
(in_array('#'.$cf,$columselection)||$showallcustfields==1))
|
||||||
{
|
{
|
||||||
$lv_customfields[$cf]=$cfa;
|
$lv_customfields[$cf]=$cfa;
|
||||||
|
$lv_customfields[$cf]['name']='#'.$cf;
|
||||||
$readonlys['#'.$cf] = true;
|
$readonlys['#'.$cf] = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($showallcustfields==1 || in_array('#'.$cf,$columselection)) {
|
if ($showallcustfields==1 || in_array('#'.$cf,$columselection)) {
|
||||||
$lv_customfields[$cf]=$cfa;
|
$lv_customfields[$cf]=$cfa;
|
||||||
|
$lv_customfields[$cf]['name']='#'.$cf;
|
||||||
$readonlys['#'.$cf] = true;
|
$readonlys['#'.$cf] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -392,6 +394,7 @@ class uiinfolog
|
|||||||
{
|
{
|
||||||
if ($showallcustfields==1 || in_array('#'.$name,$columselection)) {
|
if ($showallcustfields==1 || in_array('#'.$name,$columselection)) {
|
||||||
$lv_customfields[$name]=$value;
|
$lv_customfields[$name]=$value;
|
||||||
|
$lv_customfields[$name]['name']='#'.$name;
|
||||||
//echo $name."->". $value['label']."<br>";
|
//echo $name."->". $value['label']."<br>";
|
||||||
$readonlys['#'.$name] = true;
|
$readonlys['#'.$name] = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user