[% # Set control variables SET show_action = 1; SET show_prop = 1; SET hr = data.horizontal; SET vr = data.vertical; # Show/hide some frames by "layout" SWITCH data.layout; CASE 'default'; CASE 'list'; hr = ''; show_action = 0; vr = ''; show_prop = 0; CASE 'act_list'; vr = ''; show_prop = 0; CASE 'list_prop'; hr = ''; show_action = 0; END; %] [% IF show_action %] [% END %] [% IF show_prop %] [% END %]