@@ -, +, @@ TT syntax --- C4/Items.pm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -751,12 +751,16 @@ Create a status selector with the following code =head3 in TEMPLATE - - Default - - " selected> - - + + Default + [% FOREACH statusloo IN statusloop %] + [% IF ( statusloo.selected ) %] + [% statusloo.statusname %] + [% ELSE %] + [% statusloo.statusname %] + [% END %] + [% END %] + =cut --