<xf:formrow
	label="{$option.title}"
	hint="{$hintHtml}"
	explain="{$explainHtml}"
	html="{$listedHtml}"
	rowclass="{$rowClass}">

	<xf:checkbox>
		<xf:option name="{$inputName}[visible]" selected="$option.option_value.visible">{{ phrase('show_online_status') }}</xf:option>
		<xf:option name="{$inputName}[activity_visible]" selected="$option.option_value.activity_visible">{{ phrase('show_current_activity') }}</xf:option>
		<xf:option name="{$inputName}[content_show_signature]" selected="$option.option_value.content_show_signature">{{ phrase('show_signatures_with_messages') }}</xf:option>
		<xf:option name="{$inputName}[show_dob_date]" selected="$option.option_value.show_dob_date">{{ phrase('show_day_and_month_of_birth') }}</xf:option>
		<xf:option name="{$inputName}[show_dob_year]" selected="$option.option_value.show_dob_year">{{ phrase('show_year_of_birth') }}</xf:option>
		<xf:option name="{$inputName}[receive_admin_email]" selected="$option.option_value.receive_admin_email">{{ phrase('receive_site_mailings_option') }}</xf:option>
		<xf:option name="{$inputName}[email_on_conversation]" selected="$option.option_value.email_on_conversation">{{ phrase('receive_email_when_new_conversation_message_is_received') }}</xf:option>
	</xf:checkbox>
	<div class="u-inputSpacer">
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_dws">{{ phrase('watch_content_on_creation') }}</label></dt>
			<dd><xf:select name="{$inputName}[creation_watch_state]" value="{$option.option_value.creation_watch_state}" id="{$inputName}_dws">
				<xf:option value="watch_no_email">{{ phrase('yes') }}</xf:option>
				<xf:option value="watch_email">{{ phrase('yes_with_email') }}</xf:option>
				<xf:option>{{ phrase('no') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_dws">{{ phrase('watch_content_on_interaction') }}</label></dt>
			<dd><xf:select name="{$inputName}[interaction_watch_state]" value="{$option.option_value.interaction_watch_state}" id="{$inputName}_dws">
				<xf:option value="watch_no_email">{{ phrase('yes') }}</xf:option>
				<xf:option value="watch_email">{{ phrase('yes_with_email') }}</xf:option>
				<xf:option>{{ phrase('no') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_avp">{{ phrase('view_this_users_profile_page_details') }}</label></dt>
			<dd><xf:select name="{$inputName}[allow_view_profile]" value="{$option.option_value.allow_view_profile}" id="{$inputName}_avp">
				<xf:option value="everyone">{{ phrase('all_visitors') }}</xf:option>
				<xf:option value="members">{{ phrase('members_only') }}</xf:option>
				<xf:option value="followed">{{ phrase('followed_members_only') }}</xf:option>
				<xf:option value="none">{{ phrase('nobody') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_app">{{ phrase('post_messages_on_this_users_profile_page') }}</label></dt>
			<dd><xf:select name="{$inputName}[allow_post_profile]" value="{$option.option_value.allow_post_profile}" id="{$inputName}_app">
				<xf:option value="members">{{ phrase('members_only') }}</xf:option>
				<xf:option value="followed">{{ phrase('followed_members_only') }}</xf:option>
				<xf:option value="none">{{ phrase('nobody') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_arnf">{{ phrase('receive_this_users_news_feed') }}</label></dt>
			<dd><xf:select name="{$inputName}[allow_receive_news_feed]" value="{$option.option_value.allow_receive_news_feed}" id="{$inputName}_arnf">
				<xf:option value="everyone">{{ phrase('all_visitors') }}</xf:option>
				<xf:option value="members">{{ phrase('members_only') }}</xf:option>
				<xf:option value="followed">{{ phrase('followed_members_only') }}</xf:option>
				<xf:option value="none">{{ phrase('nobody') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_aspc">{{ phrase('initiate_conversations_with_this_user') }}</label></dt>
			<dd><xf:select name="{$inputName}[allow_send_personal_conversation]" value="{$option.option_value.allow_send_personal_conversation}" id="{$inputName}_aspc">
				<xf:option value="members">{{ phrase('members_only') }}</xf:option>
				<xf:option value="followed">{{ phrase('followed_members_only') }}</xf:option>
				<xf:option value="none">{{ phrase('nobody') }}</xf:option>
			</xf:select></dd>
		</dl>
		<dl class="inputLabelPair">
			<dt><label for="{$inputName}_avi">{{ phrase('view_this_users_identities') }}</label></dt>
			<dd><xf:select name="{$inputName}[allow_view_identities]" id="{$inputName}_avi" value="{$option.option_value.allow_view_identities}">
				<xf:option value="everyone">{{ phrase('all_visitors') }}</xf:option>
				<xf:option value="members">{{ phrase('members_only') }}</xf:option>
				<xf:option value="followed">{{ phrase('followed_members_only') }}</xf:option>
				<xf:option value="none">{{ phrase('nobody') }}</xf:option>
			</xf:select></dd>
		</dl>
	</div>
</xf:formrow>