INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(233, 0x61646d696e, 0x6c6f675f757365726e616d655f6368616e67655f6c697374, 0, '<xf:title>{{ phrase(\'username_change_log\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/username-change/toggle\') }}\" class=\"block\" ajax=\"true\">\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 class=\"dataList-cell--min\">&nbsp;</xf:cell>\n					<xf:cell>{{ phrase(\'old_username\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'new_username\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'change_state\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'date\') }}</xf:cell>\n					<xf:cell class=\"dataList-cell--min\" colspan=\"2\">&nbsp;</xf:cell>\n				</xf:datarow>\n\n				<xf:foreach loop=\"$entries\" value=\"$entry\">\n					<xf:datarow rowclass=\"dataList-row--noHover\">\n						<xf:cell class=\"dataList-cell--min dataList-cell--image dataList-cell--imageSmall\"\n							href=\"{{ link(\'users/edit\', $entry.User) }}\" data-xf-init=\"tooltip\" title=\"{{ phrase(\'current_username:\') }} {$entry.User.username}\">\n							<xf:avatar user=\"$entry.User\" size=\"s\" href=\"\" />\n						</xf:cell>\n						<xf:cell>\n							{$entry.old_username}\n						</xf:cell>\n						<xf:cell>\n							{$entry.new_username}\n							<xf:if is=\"$entry.change_reason\">\n								<a role=\"button\"\n									tabindex=\"0\"\n									data-xf-init=\"tooltip\"\n									data-trigger=\"hover focus click\"\n									title=\"{{ phrase(\'change_reason:\') }} {$entry.change_reason}\"><xf:trim>\n									<xf:fa icon=\"fa-info-circle\" />\n								</xf:trim></a>\n							</xf:if>\n						</xf:cell>\n						<xf:cell>\n							<xf:if is=\"$entry.change_state == \'approved\'\">\n								{{ phrase(\'approved\') }}\n							<xf:elseif is=\"$entry.change_state == \'moderated\'\" />\n								{{ phrase(\'awaiting_approval\') }}\n							<xf:elseif is=\"$entry.change_state == \'rejected\'\" />\n								{{ phrase(\'rejected\') }}\n								<xf:if is=\"$entry.reject_reason\">\n									<a role=\"button\"\n										tabindex=\"0\"\n										data-xf-init=\"tooltip\"\n										data-trigger=\"hover focus click\"\n										title=\"{{ phrase(\'reason:\') }} {$entry.reject_reason}\"><xf:trim>\n										<xf:fa icon=\"fa-info-circle\" />\n									</xf:trim></a>\n								</xf:if>\n							</xf:if>\n						</xf:cell>\n						<xf:cell>\n							<xf:date time=\"{$entry.change_date}\" />\n						</xf:cell>\n						<xf:toggle name=\"visible[{$entry.change_id}]\" selected=\"$entry.visible\"\n							class=\"dataList-cell--separated\" submit=\"true\"\n							tooltip=\"{{ phrase(\'toggle_visibility\') }}\" />\n						<xf:action href=\"{{ link(\'logs/username-change\', $entry) }}\" overlay=\"true\">\n							{{ phrase(\'view\') }}\n						</xf:action>\n					</xf:datarow>\n				<xf:else />\n					<xf:datarow>\n						<xf:cell colspan=\"7\">{{ phrase(\'no_entries_have_been_logged\') }}</xf:cell>\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n	</div>\n	<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n		link=\"logs/username-change\"\n		wrapperclass=\"block-outer block-outer--after\" />\n</xf:form>', 0x[encoded data, 47872 characters], 0x5846, 2020010, '2.2.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
(234, 0x61646d696e, 0x6c6f675f757365726e616d655f6368616e67655f76696577, 0, '<xf:title>{{ phrase(\'username_change_log_entry\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'current_username\') }}\" rowtype=\"button\">\n				<div class=\"contentRow contentRow--alignMiddle\">\n					<div class=\"contentRow-figure\">\n						<xf:avatar user=\"$entry.User\" size=\"xs\" />\n					</div>\n					<div class=\"contentRow-main\">\n						<h3 class=\"contentRow-title\"><xf:username user=\"$entry.User\" rich=\"true\" /></h3>\n					</div>\n				</div>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'old_username\') }}\">\n				{$entry.old_username}\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'new_username\') }}\">\n				{$entry.new_username}\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'change_reason\') }}\">\n				{{ $entry.change_reason ? $entry.change_reason|nl2br : phrase(\'n_a\') }}\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow label=\"{{ phrase(\'change_state\') }}\">\n				<xf:if is=\"$entry.change_state == \'approved\'\">\n					{{ phrase(\'approved\') }}\n				<xf:elseif is=\"$entry.change_state == \'moderated\'\" />\n					{{ phrase(\'awaiting_approval\') }}\n				<xf:elseif is=\"$entry.change_state == \'rejected\'\" />\n					{{ phrase(\'rejected\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<xf:if is=\"$entry.change_state == \'rejected\'\">\n				<xf:formrow label=\"{{ phrase(\'rejected_by\') }}\">\n					<xf:if is=\"$entry.moderator_user_id AND $entry.Moderator\">\n						<xf:username user=\"$entry.Moderator\" href=\"{{ link(\'users/edit\', $entry.Moderator) }}\" />\n					<xf:else />\n						{{ phrase(\'n_a\') }}\n					</xf:if>\n				</xf:formrow>\n\n				<xf:formrow label=\"{{ phrase(\'reason\') }}\">\n					<xf:if is=\"$entry.reject_reason\">\n						{$entry.reject_reason}\n					<xf:else />\n						{{ phrase(\'n_a\') }}\n					</xf:if>\n				</xf:formrow>\n			<xf:elseif is=\"$entry.user_id != $entry.change_user_id\" />\n				<xf:formrow label=\"{{ phrase(\'changed_by\') }}\">\n					<xf:if is=\"$entry.change_user_id AND $entry.ChangeUser\">\n						<xf:username user=\"$entry.ChangeUser\" href=\"{{ link(\'users/edit\', $entry.ChangeUser) }}\" />\n					<xf:else />\n						{{ phrase(\'n_a\') }}\n					</xf:if>\n				</xf:formrow>\n			<xf:elseif is=\"$entry.change_state == \'approved\' AND $entry.moderator_user_id AND $entry.Moderator\" />\n				<xf:formrow label=\"{{ phrase(\'approved_by\') }}\">\n					<xf:username user=\"$entry.Moderator\" href=\"{{ link(\'users/edit\', $entry.Moderator) }}\" />\n				</xf:formrow>\n			</xf:if>\n\n			<xf:formrow label=\"{{ phrase(\'date\') }}\">\n				<xf:date time=\"{$entry.change_date}\" />\n			</xf:formrow>\n		</div>\n	</div>\n</div>', 0x[encoded data, 42916 characters], 0x5846, 2020010, '2.2.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
(235, 0x61646d696e, 0x6c6f67696e5f666f726d, 0, '<xf:page option=\"template\">LOGIN_CONTAINER</xf:page>\n\n<xf:js src=\"xf/webauthn.js\" min=\"1\" />\n\n<div class=\"adminLogin-contentForm\">\n	<xf:form action=\"{{ link(\'login/login\') }}\" ajax=\"true\">\n		<div><a href=\"{$xf.options.boardUrl}\"><img src=\"{{ base_url(\'styles/default/xenforo/xenforo-logo.svg\') }}\"\n			width=\"100\" height=\"36\" alt=\"XenForo Ltd.\" /></a></div>\n		<!--<h1>{$xf.options.boardTitle}</h1>-->\n		<dl class=\"adminLogin-row\">\n			<dt>{{ phrase(\'your_name_or_email_address:\') }}</dt>\n			<dd>\n				<xf:textbox name=\"login\" value=\"{$xf.visitor.username}\"\n					placeholder=\"{{ phrase(\'user_name_or_email...\') }}\"\n					aria-label=\"{{ phrase(\'user_name_or_email\') }}\"\n					autofocus=\"autofocus\" />\n				<xf:fa icon=\"fa-user\" />\n			</dd>\n		</dl>\n		<dl class=\"adminLogin-row\">\n			<dt>{{ phrase(\'password:\') }}</dt>\n			<dd>\n				<xf:set var=\"$afterInput\"><xf:fa icon=\"fa-key\" /></xf:set>\n				<xf:passwordbox name=\"password\" placeholder=\"{{ phrase(\'password...\') }}\"\n					aria-label=\"{{ phrase(\'password\') }}\"\n					afterinputhtml=\"{$afterInput}\" />\n			</dd>\n		</dl>\n		<div class=\"adminLogin-row adminLogin-row--submit\">\n			<xf:button type=\"submit\" icon=\"login\">{{ phrase(\'admin_login\') }}</xf:button>\n		</div>\n	</xf:form>\n\n	<xf:if is=\"$xf.request.isSecure()\">\n		<div class=\"u-jsOnly\">\n			<div class=\"blocks-textJoiner\"><span></span><em>{{ phrase(\'or_separator\') }}</em><span></span></div>\n\n			<xf:form action=\"{{ link(\'login/login\') }}\" data-xf-init=\"webauthn\"\n				data-type=\"get\"\n				data-autotrigger=\"false\"\n				data-autosubmit=\"true\"\n				data-verifying=\"{{ phrase(\'verifying...\') }}\">\n\n				<div class=\"adminLogin-row adminLogin-row--submit\">\n					<xf:button class=\"button--icon button--provider button--provider--passkey js-webauthnStart\">\n						{{ phrase(\'passkey_login\') }}\n					</xf:button>\n\n					<xf:hiddenval name=\"webauthn_payload\" />\n					<xf:hiddenval name=\"webauthn_challenge\">{{ $passkey ? $passkey.getChallenge() : \'\' }}</xf:hiddenval>\n				</div>\n			</xf:form>\n		</div>\n	</xf:if>\n\n	<div class=\"adminLogin-boardTitle\">{$xf.options.boardTitle}</div>\n\n</div>', 0x[encoded data, 27964 characters], 0x5846, 2030570, '2.3.5', 1748686057),
(236, 0x61646d696e, 0x6c6f67696e5f70617373776f72645f636f6e6669726d, 0, '<xf:title>{{ phrase(\'password_confirmation\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'login/password-confirm\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'to_access_this_page_you_must_first_confirm_your_password\') }}\n			</xf:inforow>\n\n			<xf:formrow label=\"{{ phrase(\'user_name\') }}\">{$xf.visitor.username}</xf:formrow>\n\n			<xf:passwordboxrow name=\"password\" label=\"{{ phrase(\'password\') }}\" />\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'confirm\') }}\" />\n	</div>\n	<xf:redirect url=\"{$redirect}\" />\n</xf:form>', 0x[encoded data, 10024 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
(237, 0x61646d696e, 0x6c6f67696e5f74776f5f73746570, 0, '<xf:title>{{ phrase(\'two_step_verification_required\') }}</xf:title>\n\n<xf:page option=\"loginWide\" value=\"{{ true }}\" />\n\n<xf:form action=\"{{ link(\'login/two-step\') }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs hScroller\" data-xf-init=\"h-scroller\">\n			<span class=\"hScroller-scroll\">\n			<xf:foreach loop=\"$providers\" value=\"$tabProvider\">\n				<a href=\"{{ link(\'login/two-step\', null, {\'provider\': $tabProvider.provider_id, \'remember\': $remember ? 1 : null, \'_xfRedirect\': $redirect}) }}\"\n					class=\"tabs-tab {{ $tabProvider.provider_id == $providerId ? \'is-active\' : \'\' }}\">{$tabProvider.title}</a>\n			</xf:foreach>\n			</span>\n		</h2>\n\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'logging_in_as\') }}\">{$user.username}</xf:formrow>\n\n			{{ $provider.render(\'login\', $user, $providerData, $triggerData)|raw }}\n\n			<xf:checkboxrow>\n				<xf:option name=\"trust\" value=\"1\" hint=\"{{ phrase(\'trust_device_desc\') }}\" checked=\"{$trustChecked}\">\n					{{ phrase(\'trust_this_device_for_30_days\') }}\n				</xf:option>\n			</xf:checkboxrow>\n		</div>\n\n		<xf:submitrow submit=\"{{ phrase(\'confirm\') }}\" />\n	</div>\n\n	<xf:hiddenval name=\"confirm\">1</xf:hiddenval>\n	<xf:hiddenval name=\"provider\">{$providerId}</xf:hiddenval>\n	<xf:hiddenval name=\"_xfRedirect\">{$redirect}</xf:hiddenval>\n\n</xf:form>', 0x[encoded data, 23338 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
(238, 0x61646d696e, 0x6d656d6265725f737461745f65646974, 0, '<xf:if is=\"$memberStat.isInsert()\">\n	<xf:title>{{ phrase(\'add_member_stat\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_member_stat:\') }} {$memberStat.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$memberStat.isUpdate() AND $memberStat.canEdit()\">\n	<xf:button href=\"{{ link(\'member-stats/delete\', $memberStat) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:if is=\"{{ !$memberStat.canEdit() }}\">\n	<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n		{{ phrase(\'only_limited_fields_in_item_may_be_edited\') }}\n	</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'member-stats/save\', $memberStat) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"title\" value=\"{$memberStat}\"\n				readonly=\"{{ !$memberStat.canEdit() }}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:textboxrow name=\"member_stat_key\" value=\"{$memberStat}\"\n				readonly=\"{{ !$memberStat.canEdit() }}\"\n				label=\"{{ phrase(\'member_stat_key\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"user_criteria\" readonly=\"{{ !$memberStat.canEdit() }}\"\n				label=\"{{ phrase(\'user_criteria\') }}\">\n				<xf:option value=\"all\" selected=\"!$memberStat.criteria\"\n					label=\"{{ phrase(\'all_valid_users\') }}\" />\n				<xf:option value=\"searcher\" selected=\"$memberStat.criteria\"\n					label=\"{{ phrase(\'searcher_criteria\') }}\"\n					data-xf-init=\"disabler\"\n					data-container=\".js-hiderContainer\"\n					data-hide=\"yes\" />\n			</xf:radiorow>\n\n			<div class=\"js-hiderContainer\">\n				<hr class=\"formRowSep\" />\n\n				<xf:include template=\"helper_user_search_criteria\">\n					<xf:set var=\"$noSpecificUser\" value=\"{{ true }}\" />\n					<xf:set var=\"$readOnly\" value=\"{{ !$memberStat.canEdit() }}\" />\n				</xf:include>\n\n				<hr class=\"formRowSep\" />\n			</div>\n\n			<xf:if is=\"$memberStat.canEdit()\">\n				<xf:formrow label=\"{{ phrase(\'sort\') }}\" rowtype=\"input\">\n					<div class=\"inputPair\">\n						<xf:select name=\"sort_order\" value=\"{$memberStat.sort_order}\">\n						<xf:options source=\"{$sortOrders}\" />\n					</xf:select>\n\n					<xf:select name=\"sort_direction\" value=\"{$memberStat.sort_direction}\">\n						<xf:option value=\"desc\">{{ phrase(\'descending\') }}</xf:option>\n						<xf:option value=\"asc\">{{ phrase(\'ascending\') }}</xf:option>\n					</xf:select>\n					</div>\n				</xf:formrow>\n			<xf:else />\n				<xf:formrow label=\"{{ phrase(\'sort\') }}\">\n					{$sortOrders.{$memberStat.sort_order}}\n					&middot;\n					<xf:if is=\"$memberStat.sort_direction == \'desc\'\">\n						{{ phrase(\'descending\') }}\n					<xf:else />\n						{{ phrase(\'ascending\') }}\n					</xf:if>\n\n					<xf:hiddenval name=\"sort_order\">{$memberStat.sort_order}</xf:hiddenval>\n					<xf:hiddenval name=\"sort_direction\">{$memberStat.sort_direction}</xf:hiddenval>\n				</xf:formrow>\n			</xf:if>\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'php_callback\') }}\"\n				explain=\"{{ phrase(\'member_stat_callback_explain\') }}\">\n\n				<xf:macro id=\"helper_callback_fields::callback_fields\"\n					arg-data=\"{$memberStat}\"\n					arg-readOnly=\"{{ !$memberStat.canEdit() }}\" />\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"permission_limit\" value=\"{$memberStat}\" column=\"permission_limit_\"\n				disabled=\"{{ !$memberStat.canEdit() }}\"\n				readonly=\"{{ !$memberStat.canEdit() }}\"\n				label=\"{{ phrase(\'permission_limit\') }}\">\n				<xf:option value=\"\" label=\"{{ phrase(\'(none)\') }}\" />\n				<xf:foreach loop=\"$permissionsData.interfaceGroups\" key=\"$interfaceGroupId\" value=\"$interfaceGroup\">\n					<xf:optgroup label=\"{$interfaceGroup.title}\">\n						<xf:foreach loop=\"{$permissionsData.permissionsGrouped.{$interfaceGroupId}}\" value=\"{$permission}\">\n							<xf:option value=\"{$permission.permission_group_id}-{$permission.permission_id}\">\n								{$permission.title}\n							</xf:option>\n						</xf:foreach>\n					</xf:optgroup>\n				</xf:foreach>\n\n				<xf:explain>{{ phrase(\'permission_limit_explain\') }}</xf:explain>\n			</xf:selectrow>\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'visibility_callback\') }}\"\n				explain=\"{{ phrase(\'member_stat_visibility_callback_explain\') }}\">\n\n				<xf:macro id=\"helper_callback_fields::callback_fields\"\n					arg-data=\"{$memberStat}\"\n					arg-className=\"visibility_class\"\n					arg-methodName=\"visibility_method\"\n					arg-readOnly=\"{{ !$memberStat.canEdit() }}\" />\n			</xf:formrow>\n\n			<xf:checkboxrow label=\"{{ phrase(\'options\') }}\">\n				<xf:option name=\"show_value\" selected=\"$memberStat.show_value\"\n					readonly=\"{{ !$memberStat.canEdit() }}\"\n					label=\"{{ phrase(\'show_value\') }}\"\n					hint=\"{{ phrase(\'if_enabled_and_provided_value_will_be_displayed_for_each_user\') }}\" />\n				<xf:option name=\"overview_display\" selected=\"$memberStat.overview_display\"\n					label=\"{{ phrase(\'show_on_overview_tab\') }}\"\n					hint=\"{{\n						phrase(\'if_enabled_top_5_members_of_this_stat_will_be_displayed_on_overview\') . \' \'\n						. (($xf.development AND $memberStat.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\')\n					}}\" />\n			</xf:checkboxrow>\n\n			<xf:numberboxrow name=\"user_limit\" value=\"{$memberStat}\"\n				label=\"{{ phrase(\'user_limit\') }}\"\n				explain=\"{{ ($xf.development AND $memberStat.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\' }}\" />\n\n			<xf:macro id=\"display_order_macros::row\"\n				arg-value=\"{$memberStat}\"\n				arg-explain=\"{{ ($xf.development AND $memberStat.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\' }}\" />\n\n			<xf:checkboxrow readonly=\"{{ !$memberStat.canEdit() }}\">\n				<xf:option selected=\"{$memberStat.cache_lifetime}\"\n					label=\"{{ phrase(\'enable_cache_and_cache_for_x_minutes:\') }}\">\n\n					<xf:numberbox name=\"cache_lifetime\" value=\"{{ $memberStat.cache_lifetime ?: 60 }}\"\n						min=\"0\" readonly=\"{{ !$memberStat.canEdit() }}\" />\n				</xf:option>\n			</xf:checkboxrow>\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" selected=\"$memberStat.active\"\n					label=\"{{ phrase(\'member_stat_is_active\') }}\"\n					hint=\"{{\n						phrase(\'use_this_to_disable_member_stat_from_showing_on_members_page\') . \' \'\n						. (($xf.development AND $memberStat.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\')\n					}}\" />\n			</xf:checkboxrow>\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$memberStat.addon_id}\" />\n		</div>\n\n		<xf:submitrow icon=\"save\" sticky=\"true\" />\n	</div>\n</xf:form>', 0x[encoded data, 106522 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
(239, 0x61646d696e, 0x6d656d6265725f737461745f6c697374, 0, '<xf:title>{{ phrase(\'member_stats\') }}</xf:title>\n<xf:description>{{ phrase(\'member_stats_description\') }}</xf:description>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'member-stats/add\') }}\" icon=\"add\">{{ phrase(\'add_member_stat\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$memberStats is not empty\">\n	<xf:form action=\"{{ link(\'member-stats/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"member_stats\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$memberStats\" value=\"$memberStat\">\n						<xf:datarow\n							label=\"{$memberStat.title}\"\n							href=\"{{ link(\'member-stats/edit\', $memberStat) }}\"\n							delete=\"{{ link(\'member-stats/delete\', $memberStat) }}\">\n\n							<xf:toggle name=\"active[{$memberStat.member_stat_id}]\" selected=\"$memberStat.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $memberStat.title}) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($memberStats) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 20250 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(240, 0x61646d696e, 0x6d657373616765, 0, '<div class=\"blockMessage\">{$message|raw}</div>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a32363a223c64697620636c6173733d22626c6f636b4d657373616765223e223b7d693a313b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a373a226d657373616765223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a313a7b693a303b613a323a7b693a303b733a333a22726177223b693a313b613a303a7b7d7d7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a363a223c2f6469763e223b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(241, 0x61646d696e, 0x6d6573736167655f70616765, 0, '<div class=\"blockMessage\">{$message}</div>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a32363a223c64697620636c6173733d22626c6f636b4d657373616765223e223b7d693a313b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a373a226d657373616765223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a363a223c2f6469763e223b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(242, 0x61646d696e, 0x6d6f64657261746f725f6164645f63686f696365, 0, '<xf:title>{{ phrase(\'add_moderator\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'moderators/add\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"username\" value=\"{$username}\" ac=\"single\"\n				placeholder=\"{{ phrase(\'user_name...\') }}\"\n				label=\"{{ phrase(\'moderator_user_name\') }}\" />\n\n			<xf:radiorow name=\"type\" value=\"{$type}\"\n				label=\"{{ phrase(\'type_of_moderator\') }}\">\n\n				<xf:option value=\"_super\" selected=\"true\"\n					label=\"{{ phrase(\'super_moderator\') }}\"\n					hint=\"{{ phrase(\'super_moderator_can_moderate_entire_board\') }}\" />\n\n				<xf:foreach loop=\"$typeChoices\" key=\"$contentType\" value=\"$options\">\n					<xf:option value=\"{$contentType}\" label=\"{$options.label}\">\n						<xf:select name=\"{$options.name}\" value=\"{$options.value}\">\n							<xf:foreach loop=\"$options.choices\" value=\"$choice\">\n								<xf:option value=\"{$choice.value}\" label=\"{$choice.label}\" disabled=\"{$choice.disabled}\" />\n							</xf:foreach>\n						</xf:select>\n					</xf:option>\n				</xf:foreach>\n			</xf:radiorow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'add_moderator...\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 18470 characters], 0x5846, 2030038, '2.3.0 Beta 8', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(243, 0x61646d696e, 0x6d6f64657261746f725f65646974, 0, '<xf:title>{{ phrase(\'edit_moderator:\') }} {$user.username}</xf:title>\n\n<xf:pageaction if=\"$contentModerator ? $contentModerator.isUpdate() : $generalModerator.isUpdate()\">\n	<xf:if is=\"$contentModerator\">\n		<xf:button href=\"{{ link(\'moderators/content/delete\', $contentModerator) }}\" icon=\"delete\" overlay=\"true\" />\n	<xf:else />\n		<xf:button href=\"{{ link(\'moderators/super/delete\', $generalModerator) }}\" icon=\"delete\" overlay=\"true\" />\n	</xf:if>\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'moderators/save\') }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'type_of_moderator\') }}\">\n				<xf:if is=\"$contentTitle\">\n					{$contentTitle}\n					<xf:else />\n					{{ phrase(\'super_moderator\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"is_staff\" selected=\"$isStaff\"\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:checkboxrow name=\"extra_user_group_ids[]\" value=\"{{ $generalModerator.extra_user_group_ids }}\"\n				listclass=\"listColumns\"\n				rowid=\"addUserGroups\"\n				label=\"{{ phrase(\'add_moderator_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\n			<hr class=\"formRowSep\" />\n\n			<div id=\"piGroups\">\n\n				<xf:checkboxrow>\n					<xf:option check-all=\"#piGroups\" label=\"{{ phrase(\'select_all\') }}\" />\n				</xf:checkboxrow>\n\n				<xf:foreach loop=\"$interfaceGroups\" key=\"$interfaceGroupId\" value=\"$interfaceGroup\">\n					<xf:foreach loop=\"{$globalPermissions.{$interfaceGroupId}}\" value=\"$permission\">\n						<xf:hiddenval\n							name=\"globalPermissions[{$permission.permission_group_id}][{$permission.permission_id}]\"\n							value=\"unset\" />\n					</xf:foreach>\n					<xf:foreach loop=\"{$contentPermissions.{$interfaceGroupId}}\" value=\"$permission\">\n						<xf:hiddenval\n							name=\"contentPermissions[{$permission.permission_group_id}][{$permission.permission_id}]\"\n							value=\"unset\" />\n					</xf:foreach>\n				</xf:foreach>\n\n				<xf:foreach loop=\"$interfaceGroups\" key=\"$interfaceGroupId\" value=\"$interfaceGroup\">\n					<xf:if is=\"{$globalPermissions.{$interfaceGroupId}}\">\n						<hr class=\"formRowSep\" />\n\n						<xf:checkboxrow listclass=\"listColumns\"\n							label=\"{$interfaceGroup.title}\">\n							<xf:hint>\n								<xf:checkbox standalone=\"true\">\n									<xf:option check-all=\"< .formRow\" label=\"{{ phrase(\'select_all\') }}\" />\n								</xf:checkbox>\n							</xf:hint>\n							<xf:foreach loop=\"{$globalPermissions.{$interfaceGroupId}}\" value=\"$permission\">\n								<xf:option name=\"globalPermissions[{$permission.permission_group_id}][{$permission.permission_id}]\"\n									value=\"allow\"\n									selected=\"{{ {$existingValues.{$permission.permission_group_id}.{$permission.permission_id}} == \'allow\' }}\"\n									label=\"{$permission.title}\" />\n							</xf:foreach>\n						</xf:checkboxrow>\n					</xf:if>\n				</xf:foreach>\n\n				<xf:foreach loop=\"$interfaceGroups\" key=\"$interfaceGroupId\" value=\"$interfaceGroup\">\n					<xf:if is=\"{$contentPermissions.{$interfaceGroupId}}\">\n						<hr class=\"formRowSep\" />\n\n						<xf:checkboxrow listclass=\"listColumns\"\n							label=\"{$interfaceGroup.title}\">\n							<xf:hint>\n								<xf:checkbox standalone=\"true\">\n									<xf:option check-all=\"< .formRow\" label=\"{{ phrase(\'select_all\') }}\" />\n								</xf:checkbox>\n							</xf:hint>\n							<xf:foreach loop=\"{$contentPermissions.{$interfaceGroupId}}\" value=\"$permission\">\n								<xf:option name=\"contentPermissions[{$permission.permission_group_id}][{$permission.permission_id}]\"\n									value=\"content_allow\"\n									selected=\"{{ {$existingValues.{$permission.permission_group_id}.{$permission.permission_id}} == \'content_allow\' }}\"\n									label=\"{$permission.title}\" />\n							</xf:foreach>\n						</xf:checkboxrow>\n					</xf:if>\n				</xf:foreach>\n\n			</div>\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n\n	<xf:hiddenval name=\"user_id\">{$generalModerator.user_id}</xf:hiddenval>\n	<xf:hiddenval name=\"content_type\">{$contentModerator.content_type}</xf:hiddenval>\n	<xf:hiddenval name=\"content_id\">{$contentModerator.content_id}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 70014 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057);
