INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(478, 0x61646d696e, 0x757365725f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'users/delete\', $user) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'please_confirm_that_you_want_to_delete_following:\') }}\n				<strong><a href=\"{{ link(\'users/edit\', $user) }}\">{$user.username}</a></strong>\n				<div class=\"blockMessage blockMessage--important\"><b>{{ phrase(\'note:\') }}</b> {{ phrase(\'this_will_not_remove_any_content_this_user_has_already_created\') }}</div>\n			</xf:inforow>\n			<xf:if is=\"$user.is_super_admin\">\n				<xf:passwordboxrow name=\"visitor_password\"\n					label=\"{{ phrase(\'your_password\') }}\"\n					explain=\"{{ phrase(\'you_must_enter_your_current_password_to_validate_this_request\') }}\" />\n			</xf:if>\n			<xf:radiorow name=\"rename\">\n				<xf:option value=\"0\" selected=\"true\">{{ phrase(\'do_not_rename_this_user\') }}</xf:option>\n				<xf:option value=\"1\" label=\"{{ phrase(\'rename_this_user_to:\') }}\">\n					<xf:textbox name=\"rename_to\" value=\"{{ phrase(\'deleted_member\') }} {$user.user_id}\" maxlength=\"max_length($user, \'username\')\" />\n				</xf:option>\n				<xf:explain>{{ phrase(\'user_delete_rename_explain\') }}</xf:explain>\n			</xf:radiorow>\n		</div>\n		<xf:submitrow icon=\"delete\" />\n	</div>\n	<xf:redirect />\n</xf:form>', 0x[encoded data, 20498 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686057),
(479, 0x61646d696e, 0x757365725f64656c6574655f636f6e766572736174696f6e73, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'users/delete-direct-messages\', $user) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'this_will_delete_all_direct_messages_started_by_this_user\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 5970 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(480, 0x61646d696e, 0x757365725f65646974, 0, '<xf:if is=\"$user.isInsert()\">\n	<xf:title>{{ phrase(\'add_user\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_user:\') }} {$user.username}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$user.isUpdate()\">\n	<div>\n		<xf:button href=\"{{ link(\'users/delete\', $user) }}\" icon=\"delete\" overlay=\"true\" />\n\n		<xf:button class=\"menuTrigger\" data-xf-click=\"menu\" aria-expanded=\"false\" aria-haspopup=\"true\">{{ phrase(\'actions\') }}</xf:button>\n		<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n			<div class=\"menu-content\">\n				<h3 class=\"menu-header\">{{ phrase(\'actions\') }}</h3>\n				<!--[XF:actions_menu:top]-->\n				<a href=\"{{ link_type(\'public\', \'members\', $user) }}\" class=\"menu-linkRow\" target=\"_blank\">{{ phrase(\'view_public_profile\') }}</a>\n\n				<xf:if is=\"$user.is_banned\">\n					<a href=\"{{ link(\'banning/users/lift\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'lift_ban\') }}</a>\n				<xf:elseif is=\"!$user.is_moderator AND !$user.is_admin\" />\n					<a href=\"{{ link(\'banning/users/add\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'ban_user\') }}</a>\n				</xf:if>\n\n				<xf:if is=\"!$user.is_moderator AND !$user.is_admin\">\n					<a href=\"{{ link(\'users/merge\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'merge_with_user\') }}</a>\n					<a href=\"{{ link(\'users/delete-direct-messages\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'delete_direct_messages\') }}</a>\n				</xf:if>\n\n				<xf:if is=\"!$user.is_super_admin AND $xf.options.editHistory.enabled\">\n					<a href=\"{{ link(\'users/revert-message-edit\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'revert_message_edits\') }}</a>\n				</xf:if>\n\n				<xf:if is=\"!$user.is_super_admin\">\n					<a href=\"{{ link(\'users/remove-reactions\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'remove_reactions\') }}</a>\n					<a href=\"{{ link(\'users/manage-watched-threads\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'manage_watched_threads\') }}</a>\n				</xf:if>\n\n				<xf:if is=\"$user.isAwaitingEmailConfirmation()\">\n					<a href=\"{{ link(\'users/resend-confirmation\', $user) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'resend_account_confirmation\') }}</a>\n				</xf:if>\n				<!--[XF:actions_menu:bottom]-->\n			</div>\n		</div>\n	</div>\n</xf:pageaction>\n\n<xf:if is=\"$success\">\n	<div class=\"blockMessage blockMessage--success blockMessage--iconic\">{{ phrase(\'redirect_changes_saved_successfully\') }}</div>\n</xf:if>\n\n<div class=\"block\">\n	<xf:if is=\"$user.user_id\">\n	<xf:if contentcheck=\"true\">\n		<div class=\"block-outer\">\n			<ul class=\"listInline listInline--bullet\">\n			<xf:contentcheck>\n				<!--[XF:status_list:start]-->\n				<xf:if is=\"$user.is_admin\">\n					<li><a href=\"{{ link(\'admins/edit\', $user) }}\">{{ $user.is_super_admin ?  phrase(\'super_administrator\') : phrase(\'administrator\') }}</a></li>\n				</xf:if>\n				<xf:if is=\"$user.is_moderator\">\n					<li><a href=\"{{ link(\'moderators\', null, {\'user_id\': $user.user_id}) }}\">{{ phrase(\'moderator\') }}</a></li>\n				</xf:if>\n				<xf:if is=\"$user.Option.is_discouraged\">\n					<li>{{ phrase(\'discouraged\') }}</li>\n				</xf:if>\n				<xf:if is=\"$user.is_banned\">\n					<li><a href=\"{{ link(\'banning/users/lift\', $user) }}\" data-xf-click=\"overlay\">{{ phrase(\'banned\') }}</a></li>\n				</xf:if>\n				<!--[XF:status_list:end]-->\n			</xf:contentcheck>\n			</ul>\n		</div>\n	</xf:if>\n	</xf:if>\n\n	<xf:form action=\"{{ link(\'users/save\', $user) }}\" ajax=\"true\" class=\"block-container\" novalidate=\"novalidate\">\n		<xf:if is=\"$user.is_super_admin\">\n			<div class=\"block-body\">\n				<xf:passwordboxrow name=\"visitor_password\" label=\"{{ phrase(\'your_password\') }}\">\n					<xf:explain>{{ phrase(\'you_must_enter_your_current_password_to_validate_this_request\') }}</xf:explain>\n				</xf:passwordboxrow>\n			</div>\n		</xf:if>\n\n		<h2 class=\"block-tabHeader tabs hScroller\" data-xf-init=\"tabs h-scroller\" data-state=\"replace\" role=\"tablist\">\n			<span class=\"hScroller-scroll\">\n				<!--[XF:tabs:start]-->\n				<a class=\"tabs-tab is-active\" role=\"tab\" tabindex=\"0\"\n					id=\"user-details\"\n					aria-controls=\"user-details\"\n					href=\"{{ link(\'users/edit\', $user) }}#user-details\">{{ phrase(\'user_details\') }}</a>\n				<xf:if is=\"$user.user_id\">\n					<a class=\"tabs-tab\" role=\"tab\" tabindex=\"0\"\n						id=\"user-extras\"\n						aria-controls=\"user-extras\"\n						href=\"{{ link(\'users/edit\', $user) }}#user-extras\">{{ phrase(\'extra\') }}</a>\n					<a class=\"tabs-tab\" role=\"tab\" tabindex=\"0\"\n						id=\"user-ips\"\n						aria-controls=\"user-ips\"\n						href=\"{{ link(\'users/edit\', $user) }}#user-ips\">{{ phrase(\'ip_addresses\') }}</a>\n					<a class=\"tabs-tab\" role=\"tab\" tabindex=\"0\"\n						id=\"user-changes\"\n						aria-controls=\"user-changes\"\n						href=\"{{ link(\'users/edit\', $user) }}#user-changes\">{{ phrase(\'change_log\') }}</a>\n					<a class=\"tabs-tab\" role=\"tab\" tabindex=\"0\"\n						id=\"user-permissions\"\n						aria-controls=\"user-permissions\"\n						href=\"{{ link(\'users/edit\', $user) }}#user-permissions\">{{ phrase(\'permissions\') }}</a>\n				</xf:if>\n				<!--[XF:tabs:end]-->\n			</span>\n		</h2>\n\n		<ul class=\"tabPanes\">\n			<!--[XF:tab_panes:start]-->\n			<li class=\"is-active\" role=\"tabpanel\" aria-labelledby=\"user-details\">\n				<div class=\"block-body\">\n					<xf:textboxrow name=\"user[username]\" value=\"{$user}\"\n						label=\"{{ phrase(\'user_name\') }}\"\n						autocomplete=\"off\">\n						<xf:html><xf:if is=\"$user.exists()\">\n							<xf:checkbox style=\"margin-top: 5px;\">\n								<xf:option name=\"username_change_invisible\">{{ phrase(\'do_not_display_username_change_publicly_if_changed\') }}</xf:option>\n							</xf:checkbox>\n						</xf:if></xf:html>\n					</xf:textboxrow>\n\n					<xf:if is=\"$user.username_date\">\n						<xf:formrow label=\"{{ phrase(\'last_username_change\') }}\">\n							<xf:date time=\"{$user.username_date}\" />\n						</xf:formrow>\n					</xf:if>\n\n					<xf:if is=\"$user.next_allowed_username_change\">\n						<xf:formrow label=\"{{ phrase(\'next_allowed_username_change\') }}\">\n							<xf:date time=\"{$user.next_allowed_username_change}\" />\n						</xf:formrow>\n					</xf:if>\n\n					<xf:textboxrow name=\"user[email]\" value=\"{$user}\" dir=\"ltr\"\n						label=\"{{ phrase(\'email\') }}\" />\n\n					<xf:if is=\"$user.exists()\">\n						<xf:radiorow name=\"change_password\"\n							label=\"{{ phrase(\'password\') }}\"\n							explain=\"{{ phrase(\'changing_users_password_will_reset_any_security_lock_on_their_account\') }}\">\n\n							<xf:option value=\"\" checked=\"checked\"\n								label=\"{{ phrase(\'do_not_change\') }}\" />\n							<xf:option value=\"generate\"\n								label=\"{{ phrase(\'send_password_reset\') }}\"\n								hint=\"{{ phrase(\'password_reset_confirmation_will_be_emailed_to_user\') }}\" />\n							<xf:option value=\"change\"\n								label=\"{{ phrase(\'set_new_password:\') }}\">\n								<xf:textbox name=\"password\" autocomplete=\"off\" />\n							</xf:option>\n						</xf:radiorow>\n					<xf:else />\n						<xf:textboxrow name=\"password\" autocomplete=\"off\"\n							label=\"{{ phrase(\'password\') }}\" />\n					</xf:if>\n\n					<xf:if is=\"$user.user_id\">\n						<xf:formrow label=\"{{ phrase(\'two_step_verification\') }}\">\n							<xf:if is=\"$user.Option.use_tfa\">\n								<ul class=\"inputChoices\">\n									<li class=\"inputChoices-choice inputChoices-plainChoice\">{{ phrase(\'enabled\') }}</li>\n									<li class=\"inputChoices-choice\"><xf:checkbox standalone=\"true\"><xf:option name=\"disable_tfa\"\n										label=\"{{ phrase(\'disable_two_step_verification\') }}\" /></xf:checkbox></li>\n								</ul>\n							<xf:else />\n								{{ phrase(\'disabled\') }}\n							</xf:if>\n						</xf:formrow>\n\n						<xf:formrow label=\"{{ phrase(\'avatar\') }}\" rowtype=\"button avatar\">\n							<xf:avatar user=\"$user\" size=\"l\" href=\"{{ link(\'users/avatar\', $user) }}\" data-xf-click=\"overlay\" />\n							<div>\n								<xf:button href=\"{{ link(\'users/avatar\', $user) }}\" data-xf-click=\"overlay\" class=\"button--link\">{{ phrase(\'edit_avatar\') }}</xf:button>\n							</div>\n						</xf:formrow>\n\n						<xf:formrow label=\"{{ phrase(\'profile_banner\') }}\" rowtype=\"button memberProfileBanner\">\n							<xf:profilebanner user=\"$user\" size=\"l\" class=\"memberProfileBanner--small\" href=\"{{ link(\'users/banner\', $user) }}\" overlay=\"true\" hideempty=\"true\" />\n							<xf:button href=\"{{ link(\'users/banner\', $user) }}\" data-xf-click=\"overlay\" class=\"button--link\">{{ phrase(\'edit_profile_banner\') }}</xf:button>\n						</xf:formrow>\n\n						<xf:formrow label=\"{{ phrase(\'joined\') }}\">\n							<xf:date time=\"{$user.register_date}\" />\n						</xf:formrow>\n						<xf:if is=\"$user.last_activity\">\n							<xf:formrow label=\"{{ phrase(\'last_activity\') }}\">\n								<xf:date time=\"{$user.last_activity}\" />\n							</xf:formrow>\n						</xf:if>\n					</xf:if>\n\n					<hr class=\"formRowSep\" />\n\n					<xf:set var=\"$_userChangesHtml\">\n						<xf:if is=\"$user.user_id\">\n							<xf:if is=\"!$user.is_moderator\"><a href=\"{{ link(\'moderators\') }}\">{{ phrase(\'make_this_user_moderator\') }}</a></xf:if>\n							<xf:if is=\"!$user.is_admin AND !$user.is_moderator\">/</xf:if>\n							<xf:if is=\"!$user.is_admin\"><a href=\"{{ link(\'admins\') }}\">{{ phrase(\'make_this_user_administrator\') }}</a></xf:if>\n						</xf:if>\n					</xf:set>\n\n					<xf:selectrow name=\"user[user_group_id]\" value=\"{$user}\"\n						label=\"{{ phrase(\'user_group\') }}\">\n						<xf:options source=\"$userGroups\" />\n						<xf:explain>{$_userChangesHtml|raw}</xf:explain>\n					</xf:selectrow>\n\n					<xf:checkboxrow name=\"user[secondary_group_ids]\" value=\"{$user.secondary_group_ids}\"\n						listclass=\"listColumns\"\n						label=\"{{ phrase(\'secondary_user_groups\') }}\">\n						<xf:options source=\"$userGroups\" />\n					</xf:checkboxrow>\n\n					<xf:checkboxrow>\n						<xf:option name=\"user[is_staff]\" selected=\"$user.is_staff\"\n							label=\"{{ phrase(\'display_user_as_staff\') }}\"\n							hint=\"{{ phrase(\'if_selected_this_user_will_be_listed_publicly_as_staff_member\') }}\" />\n					</xf:checkboxrow>\n\n					<xf:selectrow name=\"user[user_state]\" value=\"{$user}\"\n						label=\"{{ phrase(\'user_state\') }}\">\n\n						<xf:option value=\"valid\">{{ phrase(\'valid\') }}</xf:option>\n						<xf:option value=\"email_confirm\">{{ phrase(\'awaiting_email_confirmation\') }}</xf:option>\n						<xf:option value=\"email_confirm_edit\">{{ phrase(\'awaiting_email_confirmation_from_edit\') }}</xf:option>\n						<xf:option value=\"email_bounce\">{{ phrase(\'email_invalid_bounced\') }}</xf:option>\n						<xf:option value=\"moderated\">{{ phrase(\'awaiting_approval\') }}</xf:option>\n						<xf:option value=\"rejected\">{{ phrase(\'rejected\') }}</xf:option>\n						<xf:option value=\"disabled\">{{ phrase(\'disabled\') }}</xf:option>\n						<xf:explain>\n							{{ phrase(\'when_user_state_non_x_users_receive_permissions_guest_group\', {\'valid_state\': phrase(\'valid\'), \'guest\': \'<a href=\"\' . link(\'user-groups/edit\', {\'user_group_id\': 1, \'title\': $userGroups.1}) . \'\" target=\"_blank\">\' . $userGroups.1 . \'</a>\'}) }}\n						</xf:explain>\n					</xf:selectrow>\n\n					<xf:selectrow name=\"user[security_lock]\" value=\"{$user}\"\n						label=\"{{ phrase(\'security_lock\') }}\">\n\n						<xf:option value=\"\">{{ phrase(\'none\') }}</xf:option>\n						<xf:option value=\"change\">{{ phrase(\'locked:\') }} {{ phrase(\'user_must_change_password\') }}</xf:option>\n						<xf:option value=\"reset\">{{ phrase(\'locked:\') }} {{ phrase(\'user_must_reset_password\') }}</xf:option>\n						<xf:explain>\n							{{ phrase(\'user_security_lock_explain\') }}\n						</xf:explain>\n					</xf:selectrow>\n\n					<hr class=\"formRowSep\" />\n\n					<xf:checkboxrow>\n						<xf:option name=\"option[is_discouraged]\" selected=\"$user.Option.is_discouraged\"\n							hint=\"{{ phrase(\'discouraged_hint\') }}\">{{ phrase(\'discouraged\') }}</xf:option>\n						<xf:explain><a href=\"{{ link(\'banning/discouraged-ips\') }}\">{{ phrase(\'alternatively_use_ip_discouragement\') }}</a></xf:explain>\n					</xf:checkboxrow>\n				</div>\n\n				<h3 class=\"block-formSectionHeader\">\n					<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n						<span class=\"block-formSectionHeader-aligner\">{{ phrase(\'personal_details\') }}</span>\n					</span>\n				</h3>\n				<div class=\"block-body block-body--collapsible\">\n					<xf:macro id=\"public:helper_user_dob_edit::dob_edit\" arg-dobData=\"{$user.Profile}\" />\n\n					<hr class=\"formRowSep\" />\n\n					<xf:textboxrow name=\"profile[location]\" value=\"{$user.Profile}\" column=\"location_\"\n						label=\"{{ phrase(\'location\') }}\" />\n					<xf:textboxrow name=\"profile[website]\" value=\"{$user.Profile}\" column=\"website_\"\n						label=\"{{ phrase(\'website\') }}\"\n						dir=\"ltr\" />\n					<xf:macro id=\"public:custom_fields_macros::custom_fields_edit\"\n						arg-type=\"users\" arg-group=\"personal\" arg-set=\"{$user.Profile.custom_fields}\" arg-editMode=\"admin\" />\n					<xf:textarearow name=\"profile[about]\" value=\"{$user.Profile}\" column=\"about_\" autosize=\"true\"\n						label=\"{{ phrase(\'about\') }}\"\n						hint=\"{{ phrase(\'you_may_use_bb_code\') }}\" />\n				</div>\n\n				<h3 class=\"block-formSectionHeader\">\n					<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n						<span class=\"block-formSectionHeader-aligner\">{{ phrase(\'profile_info\') }}</span>\n					</span>\n				</h3>\n				<div class=\"block-body block-body--collapsible\">\n					<xf:textboxrow name=\"user[custom_title]\" value=\"{$user}\" column=\"custom_title_\"\n						maxlength=\"{{ max_length($user, \'custom_title\') }}\"\n						label=\"{{ phrase(\'custom_title\') }}\" />\n					<xf:textarearow name=\"profile[signature]\" value=\"{$user.Profile}\" column=\"signature_\" autosize=\"true\"\n						label=\"{{ phrase(\'signature\') }}\"\n						hint=\"{{ phrase(\'you_may_use_bb_code\') }}\" />\n\n					<hr class=\"formRowSep\" />\n\n					<xf:numberboxrow name=\"user[message_count]\" value=\"{$user}\"\n						label=\"{{ phrase(\'messages\') }}\" />\n					<xf:numberboxrow name=\"user[reaction_score]\" value=\"{$user.reaction_score}\"\n						label=\"{{ phrase(\'reaction_score\') }}\" />\n					<xf:numberboxrow name=\"user[trophy_points]\" value=\"{$user.trophy_points}\"\n						label=\"{{ phrase(\'trophy_points\') }}\" />\n				</div>\n\n				<h3 class=\"block-formSectionHeader\">\n					<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n						<span class=\"block-formSectionHeader-aligner\">{{ phrase(\'additional_contact\') }}</span>\n					</span>\n				</h3>\n				<div class=\"block-body block-body--collapsible\">\n					<xf:macro id=\"public:custom_fields_macros::custom_fields_edit\"\n						arg-type=\"users\" arg-group=\"contact\" arg-set=\"{$user.Profile.custom_fields}\" arg-editMode=\"admin\" />\n				</div>\n\n				<h3 class=\"block-formSectionHeader\">\n					<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n						<span class=\"block-formSectionHeader-aligner\">{{ phrase(\'preferences\') }}</span>\n					</span>\n				</h3>\n				<div class=\"block-body block-body--collapsible\">\n					<xf:selectrow name=\"user[style_id]\" value=\"{$user}\"\n						label=\"{{ phrase(\'style\') }}\">\n\n						<xf:option value=\"0\">{{ phrase(\'(use_default_style)\') }}</xf:option>\n						<xf:foreach loop=\"$styleTree.getFlattened(0)\" value=\"$treeEntry\">\n							<xf:option value=\"{$treeEntry.record.style_id}\">{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>\n						</xf:foreach>\n					</xf:selectrow>\n\n					<hr class=\"formRowSep\" />\n\n					<xf:selectrow name=\"user[language_id]\" value=\"{$user}\"\n						label=\"{{ phrase(\'language\') }}\">\n\n						<xf:foreach loop=\"$languageTree.getFlattened(0)\" value=\"$treeEntry\">\n							<xf:option value=\"{$treeEntry.record.language_id}\">{{ repeat(\'--\', $treeEntry.depth) }}\n								{$treeEntry.record.title}</xf:option>\n						</xf:foreach>\n					</xf:selectrow>\n\n					<xf:selectrow name=\"user[timezone]\" value=\"{$user}\"\n						label=\"{{ phrase(\'time_zone\') }}\">\n\n						<xf:options source=\"$timeZones\" />\n					</xf:selectrow>\n\n					<hr class=\"formRowSep\" />\n\n					<xf:checkboxrow>\n						<xf:option name=\"option[content_show_signature]\" selected=\"$user.Option.content_show_signature\">\n							{{ phrase(\'show_signatures_with_messages\') }}</xf:option>\n						<xf:option name=\"option[receive_admin_email]\" selected=\"$user.Option.receive_admin_email\">\n							{{ phrase(\'receive_site_mailings_option\') }}\n						</xf:option>\n						<xf:option name=\"enable_activity_summary_email\" selected=\"$user.last_summary_email_date !== null\">\n							{{ phrase(\'receive_summary_activity_email\') }}\n						</xf:option>\n						<xf:option name=\"option[email_on_conversation]\" selected=\"$user.Option.email_on_conversation\">\n							{{ phrase(\'receive_email_when_new_direct_message_is_received\') }}</xf:option>\n					</xf:checkboxrow>\n\n					<xf:selectrow name=\"option[creation_watch_state]\" value=\"{$user.Option}\"\n						label=\"{{ phrase(\'watch_content_on_creation\') }}\">\n\n						<xf:option value=\"watch_no_email\">{{ phrase(\'yes\') }}</xf:option>\n						<xf:option value=\"watch_email\">{{ phrase(\'yes_with_email\') }}</xf:option>\n						<xf:option value=\"\">{{ phrase(\'no\') }}</xf:option>\n					</xf:selectrow>\n\n					<xf:selectrow name=\"option[interaction_watch_state]\" value=\"{$user.Option}\"\n						label=\"{{ phrase(\'watch_content_on_interaction\') }}\">\n\n						<xf:option value=\"watch_no_email\">{{ phrase(\'yes\') }}</xf:option>\n						<xf:option value=\"watch_email\">{{ phrase(\'yes_with_email\') }}</xf:option>\n						<xf:option value=\"\">{{ phrase(\'no\') }}</xf:option>\n					</xf:selectrow>\n\n					<xf:macro id=\"public:custom_fields_macros::custom_fields_edit\"\n						arg-type=\"users\"\n						arg-group=\"preferences\"\n						arg-set=\"{$user.Profile.custom_fields}\"\n						arg-editMode=\"admin\" />\n				</div>\n\n				<h3 class=\"block-formSectionHeader\">\n					<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n						<span class=\"block-formSectionHeader-aligner\">{{ phrase(\'privacy\') }}</span>\n					</span>\n				</h3>\n				<div class=\"block-body block-body--collapsible\">\n					<xf:checkboxrow label=\"{{ phrase(\'general_privacy\') }}\">\n						<xf:option name=\"user[visible]\" selected=\"$user.visible\">\n							<xf:label>{{ phrase(\'show_online_status\') }}</xf:label>\n							<xf:dependent>\n								<xf:checkbox>\n									<xf:option name=\"user[activity_visible]\" selected=\"$user.activity_visible\">\n										{{ phrase(\'show_current_activity\') }}\n									</xf:option>\n								</xf:checkbox>\n							</xf:dependent>\n						</xf:option>\n						<xf:option name=\"option[show_dob_date]\" selected=\"$user.Option.show_dob_date\">\n							<xf:label>{{ phrase(\'show_day_and_month_of_birth\') }}</xf:label>\n							<xf:dependent>\n								<xf:checkbox>\n									<xf:option name=\"option[show_dob_year]\" selected=\"$user.Option.show_dob_year\">\n										{{ phrase(\'show_year_of_birth\') }}\n									</xf:option>\n								</xf:checkbox>\n							</xf:dependent>\n						</xf:option>\n					</xf:checkboxrow>\n\n					<hr class=\"formRowSep\" />\n\n					<!--[XF:privacy_select:allow_view_profile]-->\n					<xf:macro id=\"privacy_select\"\n						arg-name=\"allow_view_profile\"\n						arg-label=\"{{ phrase(\'view_this_users_profile_page_details\') }}\"\n						arg-user=\"{$user}\" />\n\n					<!--[XF:privacy_select:allow_post_profile]-->\n					<xf:macro id=\"privacy_select\"\n						arg-name=\"allow_post_profile\"\n						arg-label=\"{{ phrase(\'post_messages_on_this_users_profile_page\') }}\"\n						arg-user=\"{$user}\"\n						arg-hideEveryone=\"{{true}}\" />\n\n					<!--[XF:privacy_select:allow_receive_news_feed]-->\n					<xf:macro id=\"privacy_select\"\n						arg-name=\"allow_receive_news_feed\"\n						arg-label=\"{{ phrase(\'receive_this_users_news_feed\') }}\"\n						arg-user=\"{$user}\" />\n\n					<hr class=\"formRowSep\" />\n\n					<!--[XF:privacy_select:allow_send_personal_conversation]-->\n					<xf:macro id=\"privacy_select\"\n						arg-name=\"allow_send_personal_conversation\"\n						arg-label=\"{{ phrase(\'send_direct_messages_to_this_user\') }}\"\n						arg-user=\"{$user}\"\n						arg-hideEveryone=\"{{true}}\" />\n\n					<!--[XF:privacy_select:allow_view_identities]-->\n					<xf:macro id=\"privacy_select\"\n						arg-name=\"allow_view_identities\"\n						arg-label=\"{{ phrase(\'view_this_users_identities\') }}\"\n						arg-user=\"{$user}\" />\n				</div>\n\n				<xf:submitrow icon=\"save\" sticky=\"true\" />\n			</li>\n\n			<xf:if is=\"$user.user_id\">\n				<li data-href=\"{{ link(\'users/extra\', $user) }}\" role=\"tabpanel\" aria-labelledby=\"user-extras\">\n					<div class=\"block-body block-row\">{{ phrase(\'loading...\') }}</div>\n				</li>\n			</xf:if>\n\n			<xf:if is=\"$user.user_id\">\n				<li data-href=\"{{ link(\'users/user-ips\', $user) }}\" role=\"tabpanel\" aria-labelledby=\"user-ips\">\n					<div class=\"block-body block-row\">{{ phrase(\'loading...\') }}</div>\n				</li>\n			</xf:if>\n\n			<xf:if is=\"$user.user_id\">\n				<li data-href=\"{{ link(\'users/change-log\', $user) }}\" role=\"tabpanel\" aria-labelledby=\"user-changes\">\n					<div class=\"block-body block-row\">{{ phrase(\'loading...\') }}</div>\n				</li>\n			</xf:if>\n\n			<xf:if is=\"$user.user_id\">\n				<li data-href=\"{{ link(\'permissions/users\', $user, {\'tabbed\':1}) }}\" role=\"tabpanel\" aria-labelledby=\"user-permissions\">\n					<div class=\"block-body block-row\">{{ phrase(\'loading...\') }}</div>\n				</li>\n			</xf:if>\n			<!--[XF:tab_panes:end]-->\n		</ul>\n	</xf:form>\n</div>\n\n<xf:macro id=\"privacy_select\" arg-name=\"!\" arg-label=\"!\" arg-user=\"!\" arg-hideEveryone=\"{{false}}\">\n	<xf:selectrow name=\"privacy[{$name}]\" value=\"{$user.Privacy.{$name}}\"\n		label=\"{$label}\">\n\n		<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n		<xf:if is=\"!$hideEveryone\">\n			<xf:option value=\"everyone\">{{ phrase(\'all_visitors\') }}</xf:option>\n		</xf:if>\n		<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n		<xf:option value=\"followed\">{{ phrase(\'people_x_follows\', {\'name\': ($user.username ? $user.username : \'[\' . phrase(\'user\') . \']\')}) }}</xf:option>\n	</xf:selectrow>\n</xf:macro>', 0x[encoded data, 299834 characters], 0x5846, 2030470, '2.3.4', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(481, 0x61646d696e, 0x757365725f656d61696c, 0, '<xf:title>{{ phrase(\'email_users\') }}</xf:title>\n<xf:description>{{ phrase(\'email_users_description\') }}</xf:description>\n\n<xf:if is=\"$sent\">\n	<div class=\"blockMessage blockMessage--success blockMessage--iconic\">\n		{{ phrase(\'your_email_was_sent_to_x_users\', {\'sent\': $sent|number}) }}\n	</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'users/email/confirm\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:checkboxrow>\n				<xf:option name=\"list_only\" label=\"{{ phrase(\'only_generate_list_of_email_addresses\') }}\">\n					<xf:dependent>\n						<xf:checkbox><xf:option label=\"{{ phrase(\'as_downloadable_csv\') }}\" name=\"csv\" /></xf:checkbox>\n					</xf:dependent>\n				</xf:option>\n			</xf:checkboxrow>\n\n			<xf:textboxrow name=\"from_name\" value=\"{{ $xf.options.emailSenderName ? $xf.options.emailSenderName : $xf.options.boardTitle }}\"\n				label=\"{{ phrase(\'from_name\') }}\" />\n\n			<xf:textboxrow name=\"from_email\" value=\"{$xf.options.defaultEmailAddress}\" type=\"email\"\n				label=\"{{ phrase(\'from_email\') }}\"/>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"email_title\"\n				label=\"{{ phrase(\'email_title\') }}\" />\n\n			<xf:radiorow name=\"email_format\"\n				label=\"{{ phrase(\'email_format\') }}\">\n\n				<xf:option value=\"\" selected=\"true\"\n					label=\"{{ phrase(\'plain_text\') }}\" />\n				<xf:option value=\"html\"\n					label=\"HTML\"\n					hint=\"{{ phrase(\'note_that_email_clients_handle_html_in_widely_varying_ways\') }}\" />\n			</xf:radiorow>\n\n			<xf:codeeditorrow name=\"email_body\"\n				mode=\"html\" data-line-wrapping=\"true\"\n				class=\"codeEditor--autoSize codeEditor--proportional\"\n				label=\"{{ phrase(\'email_body\') }}\"\n				explain=\" {{ phrase(\'following_placeholders_will_be_replaced_in_message_for_email\') }} {{ phrase(\'you_may_also_use_phrase_title_which_will_be_replaced\') }}\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"email_wrapped\" selected=\"true\"\n					label=\"{{ phrase(\'include_default_email_wrapper\') }}\"\n					hint=\"{{ phrase(\'include_default_email_wrapper_explain\') }}\" />\n				<xf:option name=\"email_unsub\" selected=\"true\"\n					label=\"{{ phrase(\'automatically_include_unsubscribe_link\') }}\"\n					hint=\"{{ phrase(\'automatically_include_unsubscribe_link_desc\') }}\" />\n			</xf:checkboxrow>\n		</div>\n\n		<h2 class=\"block-formSectionHeader\"><span class=\"block-formSectionHeader-aligner\">{{ phrase(\'user_criteria\') }}</span></h2>\n		<div class=\"block-body\">\n			<xf:checkboxrow>\n				<xf:option name=\"criteria[Option][receive_admin_email]\" selected=\"true\">\n					{{ phrase(\'only_send_to_users_opting_to_receive_emails_from_admin\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			<xf:include template=\"helper_user_search_criteria\" />\n		</div>\n\n		<xf:submitrow submit=\"{{ phrase(\'proceed...\') }}\" sticky=\"true\" />\n	</div>\n</xf:form>', 0x[encoded data, 39116 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
