{style} .anno_padding_left { padding-left:45px; } {/style} {literal} {/literal} {if !empty($changePassword) } {block_decorator name="box" type="empty" addClass="ow_superwide ow_automargin" }
{$changePassword}
{/block_decorator} {/if} {block_decorator name="box" type="empty" addClass="ow_superwide ow_automargin"} {if isset($editSynchronizeHook)} {block_decorator name="box" addClass="ow_center" iconClass='ow_ic_update' langLabel='base+edit_remote_field_synchronize_title' style="overflow:hidden;"} {foreach from=$editSynchronizeHook item='item'} {$item} {/foreach} {/block_decorator} {block_decorator name="box" type="empty" addClass="ow_center" style="padding:15px;"} {text key="base+join_or"} {/block_decorator} {/if} {form name=editForm} {if $displayAccountType} {/if} {foreach from=$questionArray key='section' item='questions' name='question'} {if !empty($section) } {/if} {foreach from=$questions item='question' name='question'} {cycle assign='alt' name=$section values='ow_alt1,ow_alt2'} {/foreach} {if !empty($section)}{if !$smarty.foreach.question.first} {/if} {/if} {/foreach}
{label name='accountType'} {input name='accountType'}
{error name='accountType'}
{text key="base+questions_section_`$section`_label"}
{label name=$question.name} {input name=$question.name}
{error name=$question.name}
{question_description_lang name=$question.name}
{text key='base+questions_section_user_photo_label'}
{label name='avatar'} {input name='avatar'} {error name='avatar'}
{if !$adminMode && !$isAdmin && $approveEnabled}
{text key="base+edit_profile_warning"}
{/if}
{if $adminMode} {if !$isUserApproved && !$isEditedUserModerator} {decorator name="button" class="delete_user_by_moderator ow_ic_delete ow_red ow_negative" langLabel='base+delete_profile'} {/if}
{if !$isUserApproved} {decorator name="button" class="write_message_button ow_green ow_positive" langLabel='base+write_message'} {submit name='saveAndApprove'} {else} {submit name='editSubmit'} {/if}
{else} {if !$isAdmin} {decorator name="button" class="unregister_profile_button ow_ic_delete ow_red ow_negative" langLabel='base+delete_profile'} {/if}
{submit name='editSubmit'}
{/if}
{/form} {/block_decorator}