{** * Настройки активности * * @param array $types * @param array $typesActive *} {component_define_params params=[ 'types', 'typesActive' ]} {if $oUserCurrent}

{$aLang.activity.settings.note}

{foreach $types as $type => $data} {if ! (Config::Get('module.stream.disable_vote_events') && substr($type, 0, 4) == 'vote')} {component 'field' template='checkbox' inputClasses = 'js-activity-settings-type-checkbox' inputAttributes = [ 'data-type' => $type ] checked = in_array( $type, $typesActive ) label = $aLang.activity.settings.options[ $type ]} {/if} {/foreach}
{/if}