INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(482, 0x61646d696e, 0x757365725f656d61696c5f636f6e6669726d, 0, '<xf:title>{{ phrase(\'confirm_sending_email\') }}</xf:title>\n\n<xf:if is=\"$tested\">\n	<div class=\"blockMessage blockMessage--success blockMessage--iconic\">{{ phrase(\'test_email_sent_to_x\', {\'email\': $xf.visitor.email|email_display}) }}</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'users/email/send\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'number_of_users_matching_criteria\') }}\">\n				{$total|number}\n				<span role=\"presentation\" aria-hidden=\"true\">&middot;</span>\n				<a href=\"{{ link(\'users/list\', null, {\'criteria\': $criteria}) }}\">{{ phrase(\'view_full_list\') }}</a>\n			</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'test\') }}\">\n				<xf:button type=\"submit\" name=\"test\" value=\"1\" class=\"button\">{{ phrase(\'send_test\') }}</xf:button>\n			</xf:formrow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'send\') }}\" />\n	</div>\n\n	<xf:hiddenval name=\"json_criteria\">{$criteria|json}</xf:hiddenval>\n\n	<xf:hiddenval name=\"total\">{$total}</xf:hiddenval>\n\n	<xf:hiddenval name=\"from_name\">{$email.from_name}</xf:hiddenval>\n	<xf:hiddenval name=\"from_email\">{$email.from_email}</xf:hiddenval>\n\n	<xf:hiddenval name=\"email_title\">{$email.email_title}</xf:hiddenval>\n	<xf:hiddenval name=\"email_format\">{$email.email_format}</xf:hiddenval>\n	<xf:hiddenval name=\"email_body\">{$email.email_body}</xf:hiddenval>\n	<xf:hiddenval name=\"email_wrapped\">{$email.email_wrapped}</xf:hiddenval>\n	<xf:hiddenval name=\"email_unsub\">{$email.email_unsub}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 25698 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(483, 0x61646d696e, 0x757365725f656d61696c5f6c697374, 0, '<xf:title>{{ phrase(\'email_list\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body block-row\">\n			<pre style=\"max-height: 400px; overflow: auto;\"><xf:foreach loop=\"$users\" value=\"$user\" if=\"$user.email\">{$user.email|email_display}	{$user.username}\n</xf:foreach></pre>\n		</div>\n	</div>\n</div>', 0x[encoded data, 4146 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
(484, 0x61646d696e, 0x757365725f6578747261, 0, '<xf:title>{$user.username}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<h3 class=\"block-minorHeader\">{{ phrase(\'active_user_upgrades\') }}</h3>\n		<div class=\"block-body\">\n			<xf:if is=\"$upgrades is not empty\">\n				<xf:datalist data-xf-init=\"responsive-data-list\">\n					<xf:datarow rowtype=\"header\">\n						<xf:cell>{{ phrase(\'upgrade_title\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'start_date\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'end_date\') }}</xf:cell>\n						<xf:cell></xf:cell>\n						<xf:cell></xf:cell>\n					</xf:datarow>\n					<xf:foreach loop=\"$upgrades\" value=\"$upgrade\">\n						<xf:datarow rowclass=\"dataList-row--noHover\">\n							<xf:cell>{$upgrade.Upgrade.title}</xf:cell>\n							<xf:cell><xf:date time=\"{$upgrade.start_date}\" /></xf:cell>\n							<xf:cell>{{ $upgrade.end_date ? date($upgrade.end_date) : phrase(\'permanent\') }}</xf:cell>\n							<xf:action overlay=\"true\" href=\"{{ link(\'user-upgrades/edit-active\', null, {\'user_upgrade_record_id\': $upgrade.user_upgrade_record_id}) }}\">{{ phrase(\'edit\') }}</xf:action>\n							<xf:action overlay=\"true\" href=\"{{ link(\'user-upgrades/downgrade\', null, {\'user_upgrade_record_id\': $upgrade.user_upgrade_record_id}) }}\">{{ phrase(\'downgrade\') }}</xf:action>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			<xf:else />\n				<div class=\"block-row\">{{ phrase(\'none\') }}</div>\n			</xf:if>\n		</div>\n\n		<h3 class=\"block-minorHeader\">{{ phrase(\'connected_accounts\') }}</h3>\n		<div class=\"block-body block-row\">\n			<xf:foreach loop=\"$connectedProviders\" value=\"$provider\" if=\"{$provider.isAssociated($user)}\">\n				<dl class=\"pairs pairs--columns pairs--fixedSmall\">\n					<dt>{$provider.title}</dt>\n					<dd>{$provider.renderAssociated($user)|raw}</dd>\n				</dl>\n			<xf:else />\n				{{ phrase(\'none\') }}\n			</xf:foreach>\n		</div>\n	</div>\n</div>', 0x[encoded data, 30840 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(485, 0x61646d696e, 0x757365725f6669656c645f64656c657465, 0, '<xf:include template=\"base_custom_field_delete\" />', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a373a22696e636c756465223b733a31303a2261747472696275746573223b613a313a7b733a383a2274656d706c617465223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a32343a22626173655f637573746f6d5f6669656c645f64656c657465223b7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(486, 0x61646d696e, 0x757365725f6669656c645f65646974, 0, '<xf:include template=\"base_custom_field_edit\">\n	<xf:set var=\"$extraOptions\">\n		<xf:macro id=\"base_custom_field_macros::common_options\"\n			arg-field=\"{$field}\"\n			arg-supportsUserEditable=\"{{ true }}\"\n			arg-supportsEditableOnce=\"{{ true }}\"\n			arg-supportsModeratorEditable=\"{{ true }}\" />\n\n		<xf:checkboxrow>\n			<xf:option name=\"show_registration\" selected=\"$field.show_registration\"\n				label=\"{{ phrase(\'show_during_registration\') }}\"\n				hint=\"{{ phrase(\'required_fields_will_always_be_shown_during_registration\') }}\" />\n			<xf:option name=\"viewable_profile\" selected=\"$field.viewable_profile\"\n				label=\"{{ phrase(\'viewable_on_profile_pages\') }}\"\n				hint=\"{{ phrase(\'this_does_not_apply_to_fields_displayed_within_preferences_page\') }}\" />\n			<xf:option name=\"viewable_message\" selected=\"$field.viewable_message\"\n				label=\"{{ phrase(\'viewable_in_message_user_info\') }}\"\n				hint=\"{{ phrase(\'dependent_upon_show_custom_fields_style_property\') }}\" />\n		</xf:checkboxrow>\n	</xf:set>\n</xf:include>', 0x[encoded data, 11852 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(487, 0x61646d696e, 0x757365725f6669656c645f6c697374, 0, '<xf:title>{{ phrase(\'custom_user_fields\') }}</xf:title>\n\n<xf:include template=\"base_custom_field_list\" />', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a353a227469746c65223b733a31303a2261747472696275746573223b613a303a7b7d733a383a226368696c6472656e223b613a313a7b693a303b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a313b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31383a22637573746f6d5f757365725f6669656c6473223b7d7d7d7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a323a220a0a223b7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a373a22696e636c756465223b733a31303a2261747472696275746573223b613a313a7b733a383a2274656d706c617465223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a32323a22626173655f637573746f6d5f6669656c645f6c697374223b7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2000010, '2.0.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
(488, 0x61646d696e, 0x757365725f67726f75705f65646974, 0, '<xf:if is=\"$userGroup.isInsert()\">\n	<xf:title>{{ phrase(\'add_user_group\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_user_group:\') }} {$userGroup.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$userGroup.isUpdate()\">\n	<xf:button href=\"{{ link(\'user-groups/delete\', $userGroup) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'user-groups/save\', $userGroup) }}\" ajax=\"true\" class=\"block\"\n	data-xf-init=\"permission-form\"\n	data-permission-type=\"global\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"title\" value=\"{$userGroup}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:numberboxrow name=\"display_style_priority\" value=\"{$userGroup}\"\n				label=\"{{ phrase(\'display_styling_priority\') }}\"\n				explain=\"{{ phrase(\'if_usermultiple_groups_user_title_from_highest_priority\') }}\" />\n\n			<xf:radiorow name=\"user_title_override\" value=\"{{ $userGroup.user_title ? 1 : 0 }}\"\n				label=\"{{ phrase(\'user_title_override\') }}\"\n				explain=\"{{ phrase(\'you_may_use_html\') }}\">\n\n				<xf:option value=\"0\" label=\"{{ phrase(\'use_default_user_title_ladder\') }}\" />\n				<xf:option value=\"1\" label=\"{{ phrase(\'use_following_user_title:\') }}\">\n					<xf:textbox name=\"user_title\" value=\"{$userGroup.user_title}\"\n						maxlength=\"{{ max_length($userGroup, \'user_title\') }}\" size=\"50\" />\n				</xf:option>\n			</xf:radiorow>\n\n			<xf:codeeditorrow name=\"username_css\" value=\"{$userGroup.username_css}\"\n				mode=\"css\" data-line-wrapping=\"true\"\n				class=\"codeEditor--autoSize\"\n				label=\"{{ phrase(\'user_name_css\') }}\" />\n\n			<xf:css src=\"public:app_user_banners.less\" />\n			<xf:textboxrow name=\"banner_text\" value=\"{$userGroup}\"\n				label=\"{{ phrase(\'user_banner_text\') }}\"\n				explain=\"{{ phrase(\'banner_displayed_under_name_of_members_of_this_group\') }}\" />\n\n			<xf:formrow label=\"{{ phrase(\'user_banner_styling\') }}\">\n				<xf:radio name=\"banner_css_class\"\n					value=\"{{ $userGroup.banner_css_class ? $userGroup.banner_css_class : \'userBanner userBanner--primary\' }}\"\n					listclass=\"listColumns\">\n\n					<xf:foreach loop=\"$displayStyles\" value=\"$class\">\n						<xf:option value=\"{$class}\">\n							<span title=\"{$class}\" class=\"{$class}\" data-xf-init=\"tooltip\" style=\"display: inline\">{{ phrase(\'banner\') }}</span>\n						</xf:option>\n					</xf:foreach>\n\n					<xf:option value=\"\" selected=\"$userGroup.banner_css_class AND !in_array($userGroup.banner_css_class, $displayStyles)\"\n						label=\"{{ phrase(\'other_using_custom_css_class_name\') }}\">\n\n						<xf:textbox name=\"banner_css_class_other\"\n							value=\"{{ ($userGroup.banner_css_class AND !in_array($userGroup.banner_css_class, $displayStyles)) ? $userGroup.banner_css_class : \'\' }}\"\n							maxlength=\"{{ max_length($userGroup, \'banner_css_class\') }}\" />\n					</xf:option>\n				</xf:radio>\n			</xf:formrow>\n		</div>\n\n		<xf:js src=\"xf/permission.js\" min=\"1\" />\n		<xf:css src=\"permission.less\" />\n\n		<xf:macro id=\"permission_macros::edit_groups\"\n			arg-interfaceGroups=\"{$permissionData.interfaceGroups}\"\n			arg-permissionsGrouped=\"{$permissionData.permissionsGrouped}\"\n			arg-values=\"{$permissionData.values}\" />\n\n		<xf:submitrow icon=\"save\" sticky=\"true\" />\n	</div>\n\n</xf:form>', 0x[encoded data, 49214 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
(489, 0x61646d696e, 0x757365725f67726f75705f6c697374, 0, '<xf:title>{{ phrase(\'user_groups\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'user-groups/add\') }}\" icon=\"add\">\n		{{ phrase(\'add_user_group\') }}\n	</xf:button>\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'user-groups/toggle\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-outer\">\n		<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"user-groups\" arg-class=\"block-outer-opposite\" />\n	</div>\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:datalist>\n				<xf:foreach loop=\"$userGroups\" value=\"$userGroup\">\n					<xf:datarow>\n						<xf:main hash=\"{$userGroup.user_group_id}\"\n							href=\"{{ link(\'user-groups/edit\', $userGroup) }}\" label=\"{$userGroup.title}\"\n							hint=\"{$userGroup.user_title}\" />\n						<xf:delete href=\"{{ link(\'user-groups/delete\', $userGroup) }}\" />\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n		<div class=\"block-footer\">\n			<span class=\"block-footer-counter\">{{ display_totals(count($userGroups)) }}</span>\n		</div>\n	</div>\n</xf:form>', 0x[encoded data, 15642 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(490, 0x61646d696e, 0x757365725f67726f75705f70726f6d6f74696f6e5f64656d6f7465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'user-group-promotions/demote\', null, {\'promotion_id\': $promotion.promotion_id, \'user_id\': $promotionLog.user_id}) }}\"\n	ajax=\"true\" class=\"block\">\n\n	<div class=\"block-container\">\n		<xf:if is=\"$isDemotion\">\n			<div class=\"block-body\">\n				<xf:inforow rowtype=\"confirm\">\n					{{ phrase(\'please_confirm_want_remove_user_from_promotion:\') }}\n					<strong>{$user.username} - {$promotion.title}</strong>\n					{{ phrase(\'this_user_not_receive_promotion_even_if_meets_requirements\') }}\n				</xf:inforow>\n			</div>\n			<xf:submitrow submit=\"{{ phrase(\'demote_user\') }}\" rowtype=\"simple\" />\n		<xf:else />\n			<div class=\"block-body\">\n				<xf:inforow rowtype=\"confirm\">\n					{{ phrase(\'please_confirm_want_enable_promotion_for_user:\') }}\n					<strong>{$user.username} - {$promotion.title}</strong>\n					{{ phrase(\'this_user_will_receive_promotion_when_meets_requirements\') }}\n				</xf:inforow>\n			</div>\n			<xf:submitrow submit=\"{{ phrase(\'enable_promotion_for_user\') }}\" rowtype=\"simple\" />\n		</xf:if>\n	</div>\n\n	<xf:redirect />\n</xf:form>', 0x[encoded data, 17694 characters], 0x5846, 2010770, '2.1.7', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(491, 0x61646d696e, 0x757365725f67726f75705f70726f6d6f74696f6e5f65646974, 0, '<xf:if is=\"$userGroupPromotion.isInsert()\">\n	<xf:title>{{ phrase(\'add_promotion\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_promotion:\') }} {$userGroupPromotion.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$userGroupPromotion.isUpdate()\">\n	<xf:button href=\"{{ link(\'user-group-promotions/delete\', $userGroupPromotion) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'user-group-promotions/save\', $userGroupPromotion) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs hScroller\" data-xf-init=\"tabs h-scroller\" role=\"tablist\">\n			<span class=\"hScroller-scroll\">\n				<a class=\"tabs-tab is-active\" role=\"tab\" tabindex=\"0\" aria-controls=\"promotion-options\">{{ phrase(\'promotion_options\') }}</a>\n				<xf:macro id=\"helper_criteria::user_tabs\"\n					arg-userTabTitle=\"{{ phrase(\'apply_this_promotion_while\') }}\" />\n			</span>\n		</h2>\n\n		<ul class=\"tabPanes block-body\">\n			<li class=\"is-active\" role=\"tabpanel\" id=\"promotion-options\">\n				<xf:textboxrow name=\"title\" value=\"{$userGroupPromotion}\"\n					label=\"{{ phrase(\'title\') }}\" />\n\n				<xf:checkboxrow>\n					<xf:option name=\"active\" selected=\"$userGroupPromotion.active\">{{ phrase(\'promotion_is_active\') }}</xf:option>\n				</xf:checkboxrow>\n\n				<hr class=\"formRowSep\" />\n\n				<xf:checkboxrow rowid=\"addUserGroups\" name=\"extra_user_group_ids[]\" value=\"{$userGroupPromotion.extra_user_group_ids}\"\n					listclass=\"listColumns\"\n					label=\"{{ phrase(\'add_user_to_user_groups\') }}\">\n\n					<xf:hint>\n						<xf:checkbox standalone=\"true\">\n							<xf:option check-all=\"#addUserGroups\" label=\"{{ phrase(\'select_all\') }}\" />\n						</xf:checkbox>\n					</xf:hint>\n					<xf:options source=\"$userGroups\" />\n				</xf:checkboxrow>\n			</li>\n\n			<xf:macro id=\"helper_criteria::user_panes\"\n				arg-criteria=\"{{ $userCriteria.getCriteriaForTemplate() }}\"\n				arg-data=\"{{ $userCriteria.getExtraTemplateData() }}\" />\n		</ul>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 26238 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
(492, 0x61646d696e, 0x757365725f67726f75705f70726f6d6f74696f6e5f686973746f7279, 0, '<xf:title>{{ phrase(\'promotion_history\') }}</xf:title>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:datarow\n							label=\"{$entry.User.username}\"\n							hint=\"{$entry.Promotion.title}\">\n\n							<xf:explain>\n								<xf:date time=\"$entry.promotion_date\" />\n								<xf:if is=\"$entry.promotion_state == \'manual\'\">\n									- {{ phrase(\'manually_applied\') }}\n								<xf:elseif is=\"$entry.promotion_state == \'disabled\'\" />\n									- {{ phrase(\'promotion_disabled\') }}\n								<xf:else />\n									- {{ phrase(\'automatically_promoted\') }}\n								</xf:if>\n							</xf:explain>\n\n							<xf:action\n								href=\"{{ link(\'user-group-promotions/demote\', null, {\'promotion_id\': $entry.promotion_id, \'user_id\': $entry.user_id}) }}\"\n								overlay=\"true\">\n\n								<xf:if is=\"$entry.promotion_state == \'disabled\'\">\n									{{ phrase(\'enable_promotion\') }}\n								<xf:else />\n									{{ phrase(\'disable_promotion\') }}\n								</xf:if>\n							</xf:action>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n		</div>\n\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$totalEntries}\"\n			link=\"user-group-promotions/history\" params=\"{$linkParams}\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_promotion_history_meeting_criteria_found\') }}</div>\n</xf:if>', 0x[encoded data, 22876 characters], 0x5846, 2010770, '2.1.7', 1748686057),
(493, 0x61646d696e, 0x757365725f67726f75705f70726f6d6f74696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'user_group_promotions\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'user-group-promotions/manage\') }}\">{{ phrase(\'manage_promoted_users\') }}</xf:button>\n	<xf:button href=\"{{ link(\'cron/userGroupPromotions/run\') }}\" fa=\"fa-sync\">{{ phrase(\'run_now\') }}</xf:button>\n	<xf:button href=\"{{ link(\'user-group-promotions/add\') }}\" icon=\"add\">{{ phrase(\'add_promotion\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$userGroupPromotions is not empty\">\n	<xf:form action=\"{{ link(\'user-group-promotions/toggle\') }}\" ajax=\"true\" class=\"block\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"promotions\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$userGroupPromotions\" value=\"$userGroupPromotion\">\n						<xf:datarow\n							label=\"{$userGroupPromotion.title}\"\n							href=\"{{ link(\'user-group-promotions/edit\', $userGroupPromotion) }}\"\n							delete=\"{{ link(\'user-group-promotions/delete\', $userGroupPromotion) }}\">\n\n							<xf:toggle name=\"active[{$userGroupPromotion.promotion_id}]\"\n								selected=\"$userGroupPromotion.active\" class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $userGroupPromotion.title}) }}\" />\n\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($userGroupPromotions) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_promotions_have_been_defined\') }}</div>\n</xf:if>', 0x[encoded data, 23036 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
(494, 0x61646d696e, 0x757365725f67726f75705f70726f6d6f74696f6e5f6d616e616765, 0, '<xf:title>{{ phrase(\'manage_promoted_users\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'user-group-promotions/history\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-header\">{{ phrase(\'search_promotion_history\') }}</h2>\n		<div class=\"block-body\">\n			<xf:textboxrow hint=\"{{ phrase(\'you_may_leave_this_blank\') }}\" name=\"username\" ac=\"single\"\n				label=\"{{ phrase(\'user_name\') }}\" />\n\n			<xf:selectrow name=\"promotion_id\"\n				label=\"{{ phrase(\'promotion\') }}\">\n\n				<xf:option value=\"0\">{{ phrase(\'(any)\') }}</xf:option>\n				<xf:options source=\"$userGroupPromotions\" />\n			</xf:selectrow>\n		</div>\n		<xf:submitrow icon=\"search\" />\n	</div>\n</xf:form>\n\n<xf:form action=\"{{ link(\'user-group-promotions/manual\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-header\">{{ phrase(\'manually_promote_user\') }}</h2>\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"username\" ac=\"single\"\n				label=\"{{ phrase(\'user_name\') }}\" />\n\n			<xf:selectrow name=\"promotion_id\"\n				label=\"{{ phrase(\'promotion\') }}\">\n\n				<xf:option value=\"0\">{{ phrase(\'(any)\') }}</xf:option>\n				<xf:options source=\"$userGroupPromotions\" />\n			</xf:selectrow>\n\n			<xf:radiorow name=\"action\"\n				label=\"{{ phrase(\'action\') }}\">\n\n				<xf:option value=\"promote\" selected=\"true\">{{ phrase(\'promote_this_user\') }}</xf:option>\n				<xf:option value=\"demote\">{{ phrase(\'prevent_this_user_from_receiving_this_promotion_automatically\') }}</xf:option>\n			</xf:radiorow>\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 23262 characters], 0x5846, 2000010, '2.0.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
(495, 0x61646d696e, 0x757365725f69705f6c697374, 0, '<xf:title>{{ phrase(\'ip_addresses_logged_for_x\', {\'name\': $user.username}) }}</xf:title>\n\n<xf:if is=\"$ips is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist data-xf-init=\"responsive-data-list\">\n					<xf:datarow rowtype=\"header\">\n						<xf:cell>{{ phrase(\'ip\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'total\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'earliest\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'latest\') }}</xf:cell>\n						<xf:cell>&nbsp;</xf:cell>\n						<xf:cell>&nbsp;</xf:cell>\n					</xf:datarow>\n					<xf:foreach loop=\"$ips\" value=\"$ip\">\n						<xf:datarow rowclass=\"dataList-row--noHover\">\n							<xf:cell href=\"{{ link_type(\'public\', \'misc/ip-info\', null, {\'ip\': $ip.ip|ip}) }}\" target=\"_blank\">{$ip.ip|ip}</xf:cell>\n							<xf:cell>{$ip.total|number}</xf:cell>\n							<xf:cell><xf:date time=\"{$ip.first_date}\" /></xf:cell>\n							<xf:cell><xf:date time=\"{$ip.last_date}\" /></xf:cell>\n							<xf:action href=\"{{ link(\'users/ip-users\', null, {\'ip\': $ip.ip|ip}) }}\" overlay=\"true\">{{ phrase(\'more_users\') }}</xf:action>\n							<xf:popup label=\"&#8226;&#8226;&#8226;\" class=\"dataList-cell--separated\">\n								<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\" data-menu-builder=\"dataList\">\n									<div class=\"menu-content\">\n										<h3 class=\"menu-header\">{{ phrase(\'more_options\') }}</h3>\n										<a href=\"{{ link(\'banning/ips/add\', null, {\'ip\': $ip.ip|ip}) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'ban\') }}</a>\n										<a href=\"{{ link(\'banning/discouraged-ips/add\', null, {\'ip\': $ip.ip|ip}) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'discourage\') }}</a>\n										<div class=\"js-menuBuilderTarget u-showMediumBlock\"></div>\n									</div>\n								</div>\n							</xf:popup>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n		</div>\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_ip_logs_for_requested_user\') }}</div>\n</xf:if>', 0x[encoded data, 32756 characters], 0x5846, 2000370, '2.0.3', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(496, 0x61646d696e, 0x757365725f6c697374, 0, '<xf:title>{{ phrase(\'users\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'users/list-export\', null, {\n		\'export\': 1,\n		\'criteria\': $criteria,\n		\'order\': $order,\n		\'direction\': $direction\n	}) }}\" fa=\"fa-file-export\" title=\"{{ phrase(\'export_user_list_desc\') }}\" data-xf-init=\"_tooltip\">{{ phrase(\'export_user_list\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$users is not empty\">\n	<xf:form action=\"{{ link(\'users/batch-update/confirm\') }}\" class=\"block\">\n		<xf:if is=\"!$showingAll\">\n			<div class=\"block-outer\">\n				<div class=\"block-outer-main\">\n					<xf:button class=\"button--link menuTrigger\" data-xf-click=\"menu\" aria-expanded=\"false\" aria-haspopup=\"true\">\n						{{ phrase(\'sort_by:\') }} {{ $sortOptions.{$order} ?: phrase(\'user_name\') }}\n					</xf:button>\n\n					<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n						<div class=\"menu-content\">\n							<h3 class=\"menu-header\">{{ phrase(\'sort_by...\') }}</h3>\n							<xf:foreach loop=\"$sortOptions\" key=\"$sortKey\" value=\"$sortName\">\n								<a href=\"{{ link(\'users/list\', null, {\'criteria\': $criteria, \'order\': $sortKey}) }}\"\n									class=\"menu-linkRow {{ $order == $sortKey ? \'is-selected\' : \'\' }}\">\n									{$sortName}\n								</a>\n							</xf:foreach>\n						</div>\n					</div>\n				</div>\n				<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"users\"\n					arg-ajax=\"{{ link(\'users/list\', null, {\'criteria\': $criteria, \'order\': $order, \'direction\': $direction}) }}\"\n					arg-class=\"block-outer-opposite\" />\n			</div>\n		</xf:if>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:if is=\"$showingAll\">\n						<xf:datarow rowtype=\"header\" rowclass=\"dataList-row--noHover\">\n							<xf:if is=\"$showingAll\">\n								<xf:cell colspan=\"4\">\n									<xf:checkbox standalone=\"true\"><xf:option value=\"{$user.user_id}\" check-all=\".dataList >\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox>\n								</xf:cell>\n							</xf:if>\n						</xf:datarow>\n					</xf:if>\n					<xf:foreach loop=\"$users\" value=\"$user\">\n						<xf:datarow rowclass=\"{{ ($user.user_state != \'valid\' || $user.is_banned) ? \'dataList-row--deleted\' : \'\' }}\">\n							<xf:if is=\"$showingAll\">\n								<xf:toggle name=\"user_ids[]\" value=\"{$user.user_id}\" selected=\"true\" />\n							</xf:if>\n							<xf:cell class=\"dataList-cell--min dataList-cell--image dataList-cell--imageSmall\"\n								href=\"{{ link(\'users/edit\', $user) }}\">\n								<xf:avatar user=\"$user\" size=\"s\" href=\"\" />\n							</xf:cell>\n							<xf:main href=\"{{ link(\'users/edit\', $user) }}\">\n								<xf:label><xf:username user=\"$user\" rich=\"true\" notooltip=\"true\" href=\"\" /></xf:label>\n								<xf:hint>{$user.email|email_display}</xf:hint>\n							</xf:main>\n							<xf:delete href=\"{{ link(\'users/delete\', $user) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n					<xf:if is=\"$filter AND $total > $perPage\">\n						<xf:datarow rowclass=\"dataList-row--note dataList-row--noHover js-filterForceShow\">\n							<xf:cell colspan=\"3\">{{ phrase(\'more_records_matching_filter_more_specific\') }}\n							</xf:cell>\n						</xf:datarow>\n					</xf:if>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer block-footer--split\">\n				<span class=\"block-footer-counter\">{{ display_totals($users, $total) }}</span>\n				<xf:if is=\"$showAll\">\n					<span class=\"block-footer-controls\"><a href=\"{{ link(\'users/list\', null, {\'criteria\': $criteria, \'all\': true}) }}\">{{\n						phrase(\'show_all_matches\') }}</a></span>\n				<xf:elseif is=\"$showingAll\" />\n					<span class=\"block-footer-select\"><xf:checkbox standalone=\"true\"><xf:option check-all=\".dataList\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox></span>\n					<span class=\"block-footer-controls\"><xf:button type=\"submit\">{{ phrase(\'batch_update\') }}</xf:button></span>\n				</xf:if>\n			</div>\n		</div>\n\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"users/list\"\n			params=\"{{ {\'criteria\': $criteria, \'order\': $order, \'direction\': $direction} }}\"\n			wrapperclass=\"js-filterHide block-outer block-outer--after\" />\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_records_matched\') }}</div>\n</xf:if>', 0x[encoded data, 67170 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
(497, 0x61646d696e, 0x757365725f6d616e6167655f776174636865645f74687265616473, 0, '<xf:title>{{ phrase(\'manage_watched_threads:\') }} {$user.username}</xf:title>\n\n<xf:form action=\"{{ link(\'users/manage-watched-threads\', $user) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:radiorow name=\"action\"\n				label=\"{{ phrase(\'action\') }}\">\n\n				<xf:option value=\"watch_no_email\" checked=\"checked\">{{ phrase(\'disable_email_notification\') }}</xf:option>\n				<xf:option value=\"\">{{ phrase(\'stop_watching_threads\') }}</xf:option>\n			</xf:radiorow>\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 9120 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(498, 0x61646d696e, 0x757365725f6d65726765, 0, '<xf:title>{{ phrase(\'merge_users\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'users/merge\', $user) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow\n				label=\"{{ phrase(\'source_user\') }}\"\n				explain=\"{{ phrase(\'this_user_will_be_deleted\') }}\">\n				{$user.username}\n			</xf:formrow>\n\n			<xf:textboxrow name=\"username\" ac=\"single\"\n				label=\"{{ phrase(\'target_user\') }}\"\n				explain=\"{{ phrase(\'x_will_be_merged_into_this_user_and_all_of_xs_content_moved\', {\'name\': $user.username, \'name1\': $user.username}) }}\" />\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'merge\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 10794 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057);
