mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
"allow to specify an addtional option for each widget in a 1:N relation"
This commit is contained in:
parent
17bd96df7d
commit
11d0e8caec
@ -84,7 +84,9 @@ class historylog_widget
|
|||||||
$value = explode(bo_tracking::ONE2N_SEPERATOR,$value);
|
$value = explode(bo_tracking::ONE2N_SEPERATOR,$value);
|
||||||
foreach($type as $n => $t)
|
foreach($type as $n => $t)
|
||||||
{
|
{
|
||||||
$child = etemplate::empty_cell($t,$cell['name']."[$n]",array('readonly' => true,'no_lang' => true));
|
$opt = '';
|
||||||
|
list($t,$opt) = explode(':',$t);
|
||||||
|
$child = etemplate::empty_cell($t,$cell['name']."[$n]",array('readonly' => true,'no_lang' => true,'size' => $opt));
|
||||||
etemplate::add_child($cell,$child);
|
etemplate::add_child($cell,$child);
|
||||||
unset($child);
|
unset($child);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user