{{foreach $albums as $al}} {{if $al.text}}
{{$aclselect}} {{if $default}}
{{include file="field_input.tpl" field=$caption}} {{include file="field_checkbox.tpl" field=$visible}}
{{include file="field_textarea.tpl" field=$body}}
{{if $lockstate}} {{/if}}
{{/if}}
{{if $uploader}} {{include file="field_input.tpl" field=$caption}} {{include file="field_checkbox.tpl" field=$visible}}
{{include file="field_textarea.tpl" field=$body}}
{{if $lockstate}} {{/if}}
{{$uploader}}
{{/if}}