{php} $profile_display = BizSystem::GetProfileName(BizSystem::getUserProfile("Id")); $this->assign('profile', $profile_display); {/php} {if $form.show_widget } {foreach item=elem from=$dataPanel} {if $elem.label} {$elem.label} {/if} {$elem.element} {/foreach} {else} {$profile} {/if}