Revision 25b85515
Von Bernd Bleßmann vor mehr als 10 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1865 | 1865 |
foreach my $cvar (@{ $form->{CVAR_CONFIGS}->{IC} }) { |
1866 | 1866 |
$cvar->{valid} = $params{part_id} && $valid->($cvar->{id}); |
1867 | 1867 |
|
1868 |
my $show = 0; |
|
1868 | 1869 |
my $description = ''; |
1869 | 1870 |
if ($cvar->{flag_editable} && $cvar->{valid}) { |
1870 | 1871 |
$num_visible_cvars++; |
1871 | 1872 |
$description = $cvar->{description} . ' '; |
1873 |
$show = 1; |
|
1872 | 1874 |
} |
1873 | 1875 |
|
1874 | 1876 |
my $form_key = "ic_cvar_" . $cvar->{name} . "_$params{row}"; |
1875 | 1877 |
|
1876 | 1878 |
push @{ $params{ROW2} }, { |
1877 |
line_break => $num_visible_cvars == 1,
|
|
1879 |
line_break => $show && !(($num_visible_cvars - 1) % 3),
|
|
1878 | 1880 |
description => $description, |
1879 | 1881 |
cvar => 1, |
1880 | 1882 |
render_options => { |
Auch abrufbar als: Unified diff
Benutzerdef. Variablen in Belegen als Tabelle rendern ...
... im Moment mit fester Spaltenzahl.