{extends "../@layout.xml"} {block title}{_"my_settings"}{/block} {block header} {_"my_settings"} {/block} {block content} {var $isMain = $mode === 'main'} {var $isPrivacy = $mode === 'privacy'} {var $isFinance = $mode === 'finance'} {var $isFinanceTU = $mode === 'finance.top-up'} {var $isInterface = $mode === 'interface'}
{_"main"}
{_"privacy"}
{_points}
{_"interface"}
{if $isMain}

{_"change_password"}

{_"old_password"}
{_"new_password"}
{_"repeat_password"}
{_"2fa_code"}

{_two_factor_authentication}

{if $user->is2faEnabled()} {else} {/if}
{_two_factor_authentication_enabled}
{_view_backup_codes} {_disable}
{_two_factor_authentication_disabled}
{_connect}

{_your_email_address}

{_current_email_address} {$user->getEmail()}
{_new_email_address}
{_password}
{_"2fa_code"}

{_your_page_address}

{_page_id} {$user->getId()}
{_page_address}
{elseif $isPrivacy}
{_privacy_setting_access_page}
{_privacy_setting_read_info}
{_privacy_setting_see_groups}
{_privacy_setting_see_photos}
{_privacy_setting_see_videos}
{_privacy_setting_see_notes}
{_privacy_setting_see_friends}
{_privacy_setting_add_to_friends}
{_privacy_setting_write_wall}
{_privacy_setting_write_messages}
{elseif $isFinance}
{presenter "openvk!Support->knowledgeBaseArticle", "points"}
{tr("also_you_can_transfer_points", $thisUser->getCoins(), rawurlencode($csrfToken))|noescape}
{_on_your_account}
{$thisUser->getCoins()}
{_points_count}
[{_have_voucher}?]
[{_transfer_trough_ton}]

{script "js/node_modules/textfit/textFit.min.js"} {elseif $isFinanceTU}

{_voucher_explanation} {_voucher_explanation_ex}

- - -

{elseif $isInterface}

{_ui_settings_interface}

{_"avatars_style"}
{_"style"}
{_ui_settings_rating}
NSFW-контент
Вид постов
{_apply_style_for_this_device}

{_ui_settings_sidebar}

{_my_photos}
{_my_videos}
{_my_messages}
{_my_notes}
{_my_groups}
{_my_feed}
{_additional_links}
{_ad_poster}
{/if}
{/block}