INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(158, 0x61646d696e, 0x666565645f6c697374, 0, '<xf:title>{{ phrase(\'rss_feed_importer\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'feeds/add\') }}\" icon=\"add\">{{ phrase(\'add_feed\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$feeds is not empty\">\n	<xf:form action=\"{{ link(\'feeds/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"feeds\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$feeds\" value=\"$feed\">\n						<xf:datarow>\n							<xf:main hash=\"{$feed.feed_id}\" href=\"{{ link(\'feeds/edit\', $feed) }}\"\n								label=\"{$feed.title}\" explain=\"{$feed.url|url_display}\" />\n							<xf:toggle name=\"active[{$feed.feed_id}]\" selected=\"$feed.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $feed.title}) }}\" />\n							<xf:action href=\"{{ link(\'feeds/import\', $feed) }}\">{{ phrase(\'import_now\') }}</xf:action>\n							<xf:delete href=\"{{ link(\'feeds/delete\', $feed) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($feeds) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_feeds_have_been_registered_yet\') }}</div>\n</xf:if>', 0x[encoded data, 23122 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(159, 0x61646d696e, 0x666565645f70726576696577, 0, '<xf:title>{{ phrase(\'preview_feed_entry\') }}</xf:title>\n<xf:h1>\n	{{ phrase(\'preview_feed_entry:\') }} <a href=\"{$feed.url}\" target=\"_blank\">{$feed.title}</a>\n</xf:h1>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<div class=\"block-row block-row--separated\">\n				<h3 class=\"block-textHeader\">{$entry.title}</h3>\n				{{ bb_code($entry.message, \'post\', $feed.User) }}\n			</div>\n			<div class=\"block-row block-row--separated\">\n				<dl class=\"pairs pairs--columns pairs--fluidSmall\">\n					<dt>{{ phrase(\'author\') }}</dt>\n					<dd>{$entry.author}</dd>\n				</dl>\n				<dl class=\"pairs pairs--columns pairs--fluidSmall\">\n					<dt>{{ phrase(\'last_modified\') }}</dt>\n					<dd><xf:date time=\"$entry.date_modified\" /></dd>\n				</dl>\n			</div>\n		</div>\n	</div>\n</div>', 0x[encoded data, 10394 characters], 0x5846, 2000038, '2.0.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
(160, 0x61646d696e, 0x66696c7465725f6d6163726f73, 0, '<xf:macro id=\"quick_filter\" arg-key=\"\" arg-ajax=\"\" arg-class=\"\">\n	<xf:js src=\"xf/filter.js\" min=\"1\" />\n	<div class=\"{$class} quickFilter u-jsOnly\" data-xf-init=\"filter\" data-key=\"{$key}\" data-ajax=\"{$ajax}\">\n		<div class=\"inputGroup inputGroup--inline inputGroup--joined\">\n			<input type=\"search\" class=\"input js-filterInput\" placeholder=\"{{ phrase(\'filter...\') }}\" data-xf-key=\"{{ phrase(\'shortcut.filter\')|for_attr }}\" />\n			<span class=\"inputGroup-text\">\n				<xf:checkbox standalone=\"true\">\n					<xf:option class=\"js-filterPrefix\" label=\"{{ phrase(\'prefix_search\') }}\" />\n				</xf:checkbox>\n			</span>\n			<i class=\"inputGroup-text js-filterClear is-disabled\" aria-hidden=\"true\"></i>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"filter_bar\"\n	arg-params=\"!\"\n	arg-content=\"{{ null }}\"\n	arg-route=\"\"\n	arg-displayValues=\"{{ [] }}\"\n	arg-phrases=\"{{ [] }}\"\n	arg-menu=\"\"\n	arg-menuIsRoute=\"{{ true }}\"\n	arg-menuParams=\"{{ [] }}\"\n	arg-menuTitle=\"{{ phrase(\'refine_search\') }}\">\n\n	<xf:if contentcheck=\"true\">\n		<div class=\"block-filterBar\">\n			<div class=\"filterBar\">\n				<xf:contentcheck>\n\n					<xf:if is=\"$route && $displayValues\">\n						<ul class=\"filterBar-filters\">\n							<xf:foreach loop=\"$displayValues\" key=\"$filterName\" value=\"$displayValue\">\n								<xf:set var=\"$lookupName\" value=\"key:{$filterName}\" />\n								<xf:set var=\"$displayName\">{{ $phrases.{$lookupName} ?: $filterName }}</xf:set>\n\n								<li><a href=\"{{ link($route, $content, $params + {\'_skipFilter\': $filterName}) }}\" class=\"filterBar-filterToggle\">\n									<xf:if is=\"$displayValue === true\">\n										{$displayName}\n									<xf:else />\n										<span class=\"filterBar-filterToggle-label\">{$displayName}</span>\n										<xf:if is=\"is_array($displayValue)\">\n											<xf:foreach loop=\"$displayValue\" value=\"$_displayValue\">\n												<xf:set var=\"$v\"><xf:macro id=\"lookup\" arg-value=\"{$_displayValue}\" arg-phrases=\"{$phrases}\" /></xf:set>\n												<span class=\"filterBar-filterToggle-value\" data-xf-init=\"tooltip\" title=\"{$v}\">{$v}</span>\n											</xf:foreach>\n										<xf:else />\n											<xf:set var=\"$v\"><xf:macro id=\"lookup\" arg-value=\"{$displayValue}\" arg-phrases=\"{$phrases}\" /></xf:set>\n											<span class=\"filterBar-filterToggle-value\" data-xf-init=\"tooltip\" title=\"{$v}\">{$v}</span>\n										</xf:if>\n									</xf:if>\n								</a></li>\n							</xf:foreach>\n						</ul>\n					</xf:if>\n\n					<xf:if is=\"$menu\">\n						<a class=\"filterBar-menuTrigger\" data-xf-click=\"menu\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-haspopup=\"true\">{$menuTitle}</a>\n						<xf:set var=\"$menuLink\" value=\"{{ $menuIsRoute ? link($menu, $content, $params + $menuParams) : $menu }}\" />\n						<div class=\"menu menu--wide\" data-menu=\"menu\" aria-hidden=\"true\"\n							data-href=\"{$menuLink}\"\n							data-load-target=\".js-filterMenuBody\">\n							<div class=\"menu-content\">\n								<h4 class=\"menu-header\">{$menuTitle}</h4>\n								<div class=\"js-filterMenuBody\">\n									<div class=\"menu-row\">{{ phrase(\'loading...\') }}</div>\n								</div>\n							</div>\n						</div>\n					</xf:if>\n\n				</xf:contentcheck>\n			</div>\n		</div>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"lookup\" arg-value=\"!\" arg-phrases=\"{{ [] }}\"><xf:trim>\n	<xf:if is=\"is_scalar($value) AND {$phrases.{$value}}\">\n		{{ $phrases.{$value} }}\n	<xf:else />\n		{$value}\n	</xf:if>\n\n</xf:trim></xf:macro>', 0x[encoded data, 47750 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
(161, 0x61646d696e, 0x666f7263655f61677265656d656e745f707269766163795f706f6c696379, 0, '<xf:title>{{ phrase(\'force_privacy_policy_agreement\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'force-agreement/privacy-policy\') }}\" ajax=\"true\" data-force-flash-message=\"on\" 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_force_all_current_users_to_accept_following\') }}\n				<strong><a href=\"{$xf.privacyPolicyUrl}\" target=\"_blank\">{{ phrase(\'privacy_policy\') }} &middot; {{ phrase(\'last_updated:\') }} <xf:if is=\"$xf.options.privacyPolicyLastUpdate\"><xf:date time=\"$xf.options.privacyPolicyLastUpdate\" /><xf:else />{{ phrase(\'never\') }}</xf:if></a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n	</div>\n</xf:form>\n\n<xf:set var=\"$header\">\n	<div class=\"block-header\">{{ phrase(\'options\') }}</div>\n</xf:set>\n<xf:macro id=\"option_macros::option_form_block\"\n	arg-options=\"{$options}\"\n	arg-containerBeforeHtml=\"{$header}\" />', 0x[encoded data, 13842 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(162, 0x61646d696e, 0x666f7263655f61677265656d656e745f7465726d73, 0, '<xf:title>{{ phrase(\'force_terms_and_rules_agreement\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'force-agreement/terms\') }}\" ajax=\"true\" data-force-flash-message=\"on\" 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_force_all_current_users_to_accept_following\') }}\n				<strong><a href=\"{$xf.tosUrl}\" target=\"_blank\">{{ phrase(\'terms_and_rules\') }} &middot; {{ phrase(\'last_updated:\') }} <xf:if is=\"$xf.options.termsLastUpdate\"><xf:date time=\"$xf.options.termsLastUpdate\" /><xf:else />{{ phrase(\'never\') }}</xf:if></a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n	</div>\n</xf:form>\n\n<xf:set var=\"$header\">\n	<div class=\"block-header\">{{ phrase(\'options\') }}</div>\n</xf:set>\n<xf:macro id=\"option_macros::option_form_block\"\n	arg-options=\"{$options}\"\n	arg-containerBeforeHtml=\"{$header}\" />', 0x[encoded data, 13774 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
(163, 0x61646d696e, 0x666f72756d5f6368616e67655f74797065, 0, '<xf:title>{{ phrase(\'change_forum_type\') }}: {$node.title}</xf:title>\n\n<xf:form action=\"{{ link(\'forums/change-type\', $node) }}\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow>\n				<div class=\"blockMessage blockMessage--warning\">\n					{{ phrase(\'changing_forums_type_warning_desc\') }}\n				</div>\n			</xf:inforow>\n\n			<xf:formrow label=\"{{ phrase(\'current_forum_type\') }}\" explain=\"{$currentForumTypeDesc}\">\n				{$currentForumTypeTitle}\n			</xf:formrow>\n\n			<xf:if is=\"$newForumTypeId\">\n				<xf:formrow label=\"{{ phrase(\'new_forum_type\') }}\" explain=\"{$newForumTypeDesc}\">\n					{$newForumTypeTitle}\n				</xf:formrow>\n				<xf:if is=\"$typeConfigTemplate\">\n					<xf:include template=\"{$typeConfigTemplate}\" />\n				</xf:if>\n				<xf:hiddenval name=\"new_forum_type_id\">{$newForumTypeId}</xf:hiddenval>\n				<xf:hiddenval name=\"confirm\">1</xf:hiddenval>\n			<xf:else />\n				<xf:radiorow name=\"new_forum_type_id\" value=\"{$currentForumTypeId}\"\n					label=\"{{ phrase(\'new_forum_type\') }}\">\n					<xf:foreach loop=\"$forumTypesInfo\" key=\"$forumTypeId\" value=\"$forumTypeInfo\">\n						<xf:option value=\"{$forumTypeId}\"\n							label=\"{$forumTypeInfo.title}\"\n							hint=\"{$forumTypeInfo.description}\" />\n					</xf:foreach>\n				</xf:radiorow>\n			</xf:if>\n		</div>\n		<xf:if is=\"$newForumTypeId\">\n			<xf:submitrow submit=\"{{ phrase(\'change_type\') }}\" />\n		<xf:else />\n			<xf:submitrow submit=\"{{ phrase(\'continue...\') }}\" />\n		</xf:if>\n	</div>\n</xf:form>', 0x[encoded data, 24102 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(164, 0x61646d696e, 0x666f72756d5f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'forums/delete\', $node) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'please_confirm_want_to_delete_forum_and_discussions:\') }}\n				<strong><a href=\"{{ link(\'forums/edit\', $node) }}\">{$node.title}</a></strong>\n			</xf:inforow>\n\n			<xf:macro id=\"helper_node_delete_children::delete_row\" arg-node=\"{$node}\" arg-nodeTree=\"{$nodeTree}\" />\n		</div>\n		<xf:submitrow rowtype=\"{{ !$node.hasChildren() ? \'simple\' : \'\' }}\" icon=\"delete\" />\n	</div>\n	<xf:redirect />\n</xf:form>', 0x[encoded data, 11046 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
(165, 0x61646d696e, 0x666f72756d5f65646974, 0, '<xf:if is=\"$forum.isInsert()\">\n	<xf:title>{{ phrase(\'add_forum\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_forum:\') }} {$node.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$forum.isUpdate()\">\n	<div class=\"buttonGroup\">\n		<xf:if is=\"$canChangeForumType\">\n			<xf:button href=\"{{ link(\'forums/change-type\', $node) }}\" overlay=\"true\">{{ phrase(\'change_type\') }}</xf:button>\n		</xf:if>\n		<xf:button href=\"{{ link(\'forums/delete\', $node) }}\" icon=\"delete\" overlay=\"true\" />\n	</div>\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'forums/save\', $node) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:macro id=\"node_edit_macros::title\" arg-node=\"{$node}\" />\n			<xf:macro id=\"node_edit_macros::description\" arg-node=\"{$node}\" />\n\n			<hr class=\"formRowSep\" />\n			<xf:macro id=\"node_edit_macros::node_name\" arg-node=\"{$node}\" />\n			<xf:macro id=\"node_edit_macros::position\" arg-node=\"{$node}\" arg-nodeTree=\"{$nodeTree}\" />\n			<xf:macro id=\"node_edit_macros::navigation\" arg-node=\"{$node}\" arg-navChoices=\"{$navChoices}\" />\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow label=\"{{ phrase(\'forum_type\') }}\" explain=\"{$forumTypeDesc}\"><span>{$forumTypeTitle}</span></xf:formrow>\n			<xf:if is=\"$typeConfigTemplate\">\n				<xf:include template=\"{$typeConfigTemplate}\" />\n			</xf:if>\n			<xf:hiddenval name=\"forum_type_id\">{$forumTypeId}</xf:hiddenval>\n\n			<hr class=\"formRowSep\" />\n			<xf:if is=\"$availableFields is not empty\">\n				<xf:checkboxrow name=\"available_fields\" value=\"{$forum.field_cache}\" listclass=\"field listColumns\"\n					label=\"{{ phrase(\'available_fields\') }}\"\n					explain=\"{{ phrase(\'asterisk_fields_required_explain\') }}\">\n\n					<xf:foreach loop=\"$availableFields\" key=\"$fieldId\" value=\"$field\">\n						<xf:option value=\"{$fieldId}\" label=\"{$field.title}\" labelclass=\"{{ $field.required ? \'u-appendAsterisk\' : \'\' }}\" />\n					</xf:foreach>\n\n					<xf:hint>\n						<xf:checkbox standalone=\"true\">\n							<xf:option check-all=\".field.listColumns\">{{ phrase(\'select_all\') }}</xf:option>\n						</xf:checkbox>\n					</xf:hint>\n				</xf:checkboxrow>\n			<xf:else />\n				<xf:formrow label=\"{{ phrase(\'available_fields\') }}\">\n					{{ phrase(\'none\')|parens }}\n					<a href=\"{{ link(\'custom-thread-fields/add\') }}\" target=\"_blank\">{{ phrase(\'add_field\') }}</a>\n				</xf:formrow>\n			</xf:if>\n\n			<hr class=\"formRowSep\" />\n			<xf:if is=\"$prefixesGrouped is not empty\">\n\n				<xf:checkboxrow name=\"available_prefixes\" rowtype=\"explainOffset\" listclass=\"prefix\"\n					data-xf-init=\"checkbox-select-disabler\"\n					data-select=\".js-availablePrefixSelect\"\n					label=\"{{ phrase(\'available_prefixes\') }}\"\n					explain=\"{{ phrase(\'available_prefixes_forum_explain\') }}\">\n\n					<xf:foreach loop=\"$prefixGroups\" key=\"$prefixGroupId\" value=\"$prefixGroup\" if=\"{$prefixesGrouped.{$prefixGroupId}}\">\n\n						<xf:optgroup check-all=\"true\" listclass=\"listColumns\"\n							label=\"{{ $prefixGroupId ? $prefixGroup.title : phrase(\'ungrouped\') }}\">\n\n							<xf:foreach loop=\"{$prefixesGrouped.{$prefixGroupId}}\" key=\"$prefixId\" value=\"$prefix\">\n								<xf:option value=\"{$prefixId}\" selected=\"{$forum.prefix_cache.{$prefixId}}\">\n									<xf:label><span class=\"label {$prefix.css_class}\">{$prefix.title}</span></xf:label>\n								</xf:option>\n							</xf:foreach>\n						</xf:optgroup>\n					</xf:foreach>\n\n					<xf:hint>\n						<xf:checkbox standalone=\"true\">\n							<xf:option check-all=\".prefix\">{{ phrase(\'select_all\') }}</xf:option>\n						</xf:checkbox>\n					</xf:hint>\n				</xf:checkboxrow>\n\n				<xf:selectrow name=\"default_prefix_id\" value=\"{$forum}\"\n					label=\"{{ phrase(\'default_thread_prefix\') }}\"\n					explain=\"{{ phrase(\'default_thread_prefix_explain\') }}\"\n					class=\"js-availablePrefixSelect\">\n\n					<xf:option value=\"-1\">{{ phrase(\'none\') }}</xf:option>\n					<xf:foreach loop=\"$prefixGroups\" key=\"$prefixGroupId\" value=\"$prefixGroup\"\n						if=\"{{ count($prefixesGrouped.{$prefixGroupId}) > 0 }}\">\n						<xf:optgroup label=\"{{ $prefixGroupId > 0 ? $prefixGroup.title : phrase(\'ungrouped\') }}\">\n							<xf:foreach loop=\"{$prefixesGrouped.{$prefixGroupId}}\" key=\"$prefixId\" value=\"$prefix\">\n								<xf:option value=\"{$prefixId}\" disabled=\"{{ !in_array($prefixId, $forum.prefix_cache) }}\">{$prefix.title}</xf:option>\n							</xf:foreach>\n						</xf:optgroup>\n					</xf:foreach>\n				</xf:selectrow>\n\n				<xf:checkboxrow name=\"require_prefix\" value=\"{$forum.require_prefix}\">\n					<xf:option value=\"1\"\n						label=\"{{ phrase(\'require_users_to_select_prefix\') }}\"\n						hint=\"{{ phrase(\'if_selected_users_required_select_prefix_for_thread\') }}\" />\n				</xf:checkboxrow>\n\n			<xf:else />\n				<xf:formrow label=\"{{ phrase(\'available_prefixes\') }}\">\n					{{ phrase(\'none\')|parens }} <a href=\"{{ link(\'thread-prefixes/add\') }}\" target=\"_blank\">{{ phrase(\'add_prefix\') }}</a>\n				</xf:formrow>\n\n				<xf:hiddenval name=\"default_thread_prefix\" value=\"0\" />\n				<xf:hiddenval name=\"require_prefix\" value=\"0\" />\n			</xf:if>\n\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(\'advanced_options\') }}</span>\n			</span>\n		</h3>\n		<div class=\"block-body block-body--collapsible\">\n			<xf:checkboxrow rowid=\"advancedToggles\">\n				<xf:option name=\"allow_posting\" selected=\"$forum.allow_posting\"\n					label=\"{{ phrase(\'allow_new_messages_to_be_posted_in_this_forum\') }}\"\n					hint=\"{{ phrase(\'if_disabled_users_not_able_post_messages_in_forum\') }}\" />\n\n				<xf:option name=\"moderate_threads\" selected=\"$forum.moderate_threads\"\n					label=\"{{ phrase(\'moderate_new_threads_posted_in_this_forum\') }}\"\n					hint=\"{{ phrase(\'if_enabled_moderator_manually_approve_threads_posted_in_forum\') }}\" />\n\n				<xf:option name=\"moderate_replies\" selected=\"$forum.moderate_replies\"\n					label=\"{{ phrase(\'moderate_replies_posted_in_this_forum\') }}\"\n					hint=\"{{ phrase(\'if_enabled_moderator_manually_approve_replies_posted_in_forum\') }}\" />\n\n				<xf:option name=\"count_messages\" selected=\"$forum.count_messages\"\n					label=\"{{ phrase(\'count_messages_in_forum_toward_user_total\') }}\"\n					hint=\"{{ phrase(\'if_disabled_messages_posted_will_not_contribute_to_user_message_total\') }}\" />\n\n				<xf:option name=\"auto_feature\" selected=\"$forum.auto_feature\"\n					label=\"{{ phrase(\'automatically_feature_threads\') }}\"\n					hint=\"{{ phrase(\'if_enabled_threads_posted_in_this_forum_will_automatically_be_featured\') }}\" />\n\n				<xf:option name=\"find_new\" selected=\"$forum.find_new\"\n					label=\"{{ phrase(\'include_forum_in_find_new_threads\') }}\"\n					hint=\"{{ phrase(\'if_disabled_messages_will_never_appear_in_find_new_threads\') }}\" />\n			</xf:checkboxrow>\n\n			<xf:radiorow name=\"allow_index\" value=\"{$forum}\"\n				label=\"{{ phrase(\'allow_search_engine_indexing\') }}\"\n				explain=\"{{ phrase(\'you_can_choose_whether_or_not_to_allow_external_search_engines_to_index\') }}\">\n\n				<xf:option value=\"allow\">{{ phrase(\'index_all_threads\') }}</xf:option>\n				<xf:option value=\"deny\">{{ phrase(\'do_not_index_any_threads\') }}</xf:option>\n				<xf:option value=\"criteria\"\n					data-xf-init=\"disabler\" data-container=\".js-indexCriteria\" data-hide=\"true\">\n					{{ phrase(\'index_threads_based_on_criteria\') }}\n				</xf:option>\n			</xf:radiorow>\n\n			<div class=\"js-indexCriteria\">\n				<xf:checkboxrow label=\"{{ phrase(\'search_engine_index_criteria\') }}\"\n					explain=\"{{ phrase(\'threads_must_match_all_of_these_criteria_to_be_indexed_by_search_engines\') }}\">\n\n					<xf:option name=\"index_criteria[max_days_post][enabled]\" selected=\"{$forum.index_criteria.max_days_post}\"\n						label=\"{{ phrase(\'thread_was_posted_no_more_than_x_days_ago:\') }}\">\n\n						<xf:numberbox name=\"index_criteria[max_days_post][value]\" value=\"{{ $forum.index_criteria.max_days_post ?: 1 }}\"\n							min=\"1\" />\n					</xf:option>\n\n					<xf:option name=\"index_criteria[max_days_last_post][enabled]\" selected=\"{$forum.index_criteria.max_days_last_post}\"\n						label=\"{{ phrase(\'thread_was_replied_to_no_more_than_x_days_ago:\') }}\">\n\n						<xf:numberbox name=\"index_criteria[max_days_last_post][value]\" value=\"{{ $forum.index_criteria.max_days_last_post ?: 1 }}\"\n							min=\"1\" />\n					</xf:option>\n\n					<xf:option name=\"index_criteria[min_replies][enabled]\" selected=\"{$forum.index_criteria.min_replies}\"\n						label=\"{{ phrase(\'thread_has_at_least_x_replies:\') }}\">\n\n						<xf:numberbox name=\"index_criteria[min_replies][value]\" value=\"{{ $forum.index_criteria.min_replies ?: 1 }}\"\n							min=\"1\" />\n					</xf:option>\n\n					<xf:option name=\"index_criteria[min_reaction_score][enabled]\" selected=\"{{ $forum.index_criteria.min_reaction_score !== null }}\"\n						label=\"{{ phrase(\'thread_has_at_least_x_reaction_score:\') }}\">\n\n						<xf:numberbox name=\"index_criteria[min_reaction_score][value]\" value=\"{{ $forum.index_criteria.min_reaction_score ?: 0 }}\" />\n					</xf:option>\n\n					<xf:option name=\"index_criteria[min_word_count][enabled]\" selected=\"{$forum.index_criteria.min_word_count}\"\n						label=\"{{ phrase(\'thread_has_at_least_x_words_in_first_post\') }}\">\n\n						<xf:numberbox name=\"index_criteria[min_word_count][value]\" value=\"{{ $forum.index_criteria.min_word_count ?: 1 }}\"\n							min=\"1\" />\n					</xf:option>\n				</xf:checkboxrow>\n\n				<xf:checkboxrow label=\"{{ phrase(\'search_engine_index_exceptions\') }}\"\n					explain=\"{{ phrase(\'threads_matching_any_of_these_criteria_will_always_be_indexed_by_search\') }}\">\n\n					<xf:option name=\"index_criteria[is_sticky][enabled]\" selected=\"{$forum.index_criteria.is_sticky}\"\n						label=\"{{ phrase(\'thread_is_sticky\') }}\" />\n\n					<xf:option name=\"index_criteria[is_article][enabled]\" selected=\"{$forum.index_criteria.is_article}\"\n						label=\"{{ phrase(\'thread_is_article\') }}\" />\n\n					<xf:option name=\"index_criteria[is_solved_question][enabled]\" selected=\"{$forum.index_criteria.is_solved_question}\"\n						label=\"{{ phrase(\'thread_is_solved_question\') }}\" />\n\n					<xf:option name=\"index_criteria[first_post_staff][enabled]\" selected=\"{$forum.index_criteria.first_post_staff}\"\n						label=\"{{ phrase(\'thread_was_posted_by_staff_member\') }}\" />\n\n					<xf:option name=\"index_criteria[first_post_groups][enabled]\" selected=\"{{ $forum.index_criteria.first_post_groups ? true : false }}\"\n						label=\"{{ phrase(\'thread_was_posted_by_member_of_user_group\') }}\">\n\n						<xf:select name=\"index_criteria[first_post_groups][value]\" multiple=\"true\" value=\"{$forum.index_criteria.first_post_groups}\">\n							<xf:foreach loop=\"$userGroups\" value=\"$userGroup\">\n								<xf:option value=\"{$userGroup.user_group_id}\">{$userGroup.title}</xf:option>\n							</xf:foreach>\n						</xf:select>\n					</xf:option>\n				</xf:checkboxrow>\n			</div>\n\n			<xf:numberboxrow name=\"min_tags\" value=\"{$forum}\"\n				label=\"{{ phrase(\'minimum_required_tags\') }}\"\n				explain=\"{{ phrase(\'forum_min_tags_explain\') }}\" />\n\n			<xf:radiorow name=\"allowed_watch_notifications\" value=\"{$forum}\"\n				label=\"{{ phrase(\'forum_watch_notification_limit\') }}\"\n				explain=\"{{ phrase(\'forum_watch_notification_limit_desc\') }}\">\n\n				<xf:option value=\"all\" label=\"{{ phrase(\'new_messages\') }}\" />\n				<xf:option value=\"thread\" label=\"{{ phrase(\'new_threads\') }}\" />\n				<xf:option value=\"none\" label=\"{{ phrase(\'none\') }}\" />\n			</xf:radiorow>\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'default_sort_order\') }}\">\n\n				<div class=\"inputPair\">\n					<xf:select name=\"default_sort_order\" value=\"{$forum.default_sort_order}\" class=\"input--inline\">\n						<xf:foreach loop=\"$sortOptions\" key=\"$sortKey\" value=\"$null\">\n							<xf:option value=\"{$sortKey}\">{{ phrase_dynamic(\'forum_sort.\' . $sortKey) }}</xf:option>\n						</xf:foreach>\n					</xf:select>\n					<xf:select name=\"default_sort_direction\" value=\"{$forum.default_sort_direction}\"\n						class=\"input--inline\">\n						<xf:option value=\"desc\" label=\"{{ phrase(\'descending\') }}\" />\n						<xf:option value=\"asc\" label=\"{{ phrase(\'ascending\') }}\" />\n					</xf:select>\n				</div>\n			</xf:formrow>\n\n			<xf:selectrow name=\"list_date_limit_days\" value=\"{$forum}\"\n				label=\"{{ phrase(\'thread_list_date_limit\') }}\"\n				explain=\"{{ phrase(\'thread_list_date_limit_used_on_busy_forums_to_improve_performance\') }}\">\n\n				<xf:option value=\"0\">{{ phrase(\'none\') }}</xf:option>\n				<xf:option value=\"7\">{{ phrase(\'x_days\', {\'days\': \'7\'}) }}</xf:option>\n				<xf:option value=\"14\">{{ phrase(\'x_days\', {\'days\': \'14\'}) }}</xf:option>\n				<xf:option value=\"30\">{{ phrase(\'x_days\', {\'days\': \'30\'}) }}</xf:option>\n				<xf:option value=\"60\">{{ phrase(\'x_months\', {\'months\': \'2\'}) }}</xf:option>\n				<xf:option value=\"90\">{{ phrase(\'x_months\', {\'months\': \'3\'}) }}</xf:option>\n				<xf:option value=\"182\">{{ phrase(\'x_months\', {\'months\': \'6\'}) }}</xf:option>\n				<xf:option value=\"365\">{{ phrase(\'1_year\') }}</xf:option>\n			</xf:selectrow>\n\n			<xf:macro id=\"node_edit_macros::style\" arg-node=\"{$node}\" arg-styleTree=\"{$styleTree}\" />\n\n			<xf:if is=\"$availablePrompts is not empty\">\n				<hr class=\"formRowSep\" />\n\n				<xf:checkboxrow name=\"available_prompts\" rowtype=\"explainOffset\" listclass=\"prompt\"\n					label=\"{{ phrase(\'available_prompts\') }}\"\n					explain=\"{{ phrase(\'available_thread_prompts_explain\',\n					{\n						\'link\': link(\n							\'phrases/edit-by-name\', {},\n							{\'title\': \'thread_prompt.default\'}\n						)\n					}) }}\">\n\n					<xf:foreach loop=\"$promptGroups\" key=\"$promptGroupId\" value=\"$promptGroup\" if=\"{$promptsGrouped.{$promptGroupId}}\">\n\n						<xf:optgroup check-all=\"true\" listclass=\"_listColumns\"\n							label=\"{{ $promptGroupId ? $promptGroup.title : phrase(\'ungrouped\') }}\">\n\n							<xf:foreach loop=\"{$promptsGrouped.{$promptGroupId}}\" key=\"$promptId\" value=\"$prompt\">\n								<xf:option value=\"{$promptId}\" selected=\"{$forum.prompt_cache.{$promptId}}\">\n									<xf:label>{$prompt.title}</xf:label>\n								</xf:option>\n							</xf:foreach>\n						</xf:optgroup>\n					</xf:foreach>\n\n					<xf:hint>\n						<xf:checkbox standalone=\"true\">\n							<xf:option check-all=\".prompt\">{{ phrase(\'select_all\') }}</xf:option>\n						</xf:checkbox>\n					</xf:hint>\n				</xf:checkboxrow>\n\n			</xf:if>\n		</div>\n\n		<xf:submitrow icon=\"save\" sticky=\"true\" />\n	</div>\n</xf:form>', 0x[encoded data, 211106 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
(166, 0x61646d696e, 0x666f72756d5f73656c656374696f6e5f6d6163726f73, 0, '<xf:macro id=\"select_forums\"\n	arg-nodeIds=\"!\"\n	arg-nodeTree=\"!\"\n	arg-withRow=\"1\"\n	arg-selectName=\"node_ids\">\n\n	<xf:set var=\"$inner\">\n		<ul class=\"inputList\">\n			<li><xf:select name=\"{$selectName}[]\" value=\"{$nodeIds}\" size=\"7\" multiple=\"multiple\" id=\"js-applicableForums\">\n\n				<xf:option value=\"\" selected=\"!{$nodeIds}\">{{ phrase(\'(none)\') }}</xf:option>\n\n				<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n					<xf:option value=\"{$treeEntry.record.node_id}\"\n						disabled=\"{{ $treeEntry.record.node_type_id != \'Forum\' }}\"\n						label=\"{{ repeat(\'&nbsp;&nbsp;\', $treeEntry.depth)|raw }} {$treeEntry.record.title}\" />\n				</xf:foreach>\n\n			</xf:select></li>\n\n			<xf:checkbox>\n				<xf:option label=\"{{ phrase(\'select_all\') }}\" id=\"js-selectAllForums\" />\n			</xf:checkbox>\n		</ul>\n	</xf:set>\n\n	<xf:if is=\"$withRow\">\n		<xf:formrow rowtype=\"input\" label=\"{{ phrase(\'applicable_forums\') }}\">\n			{$inner|raw}\n		</xf:formrow>\n	<xf:else />\n		{$inner|raw}\n	</xf:if>\n\n	<xf:js>\n		const selectAll = document.querySelector(\'#js-selectAllForums\')\n		XF.on(selectAll, \'click\', e =>\n		{\n			const forums = document.querySelector(\'#js-applicableForums\')\n			const options = forums.querySelectorAll(\'option:enabled\')\n			options.forEach(option =>\n			{\n				option.selected = option.matches(\'[value=\"\"]\')\n					? !e.target.checked\n					: e.target.checked\n			})\n		})\n	</xf:js>\n</xf:macro>', 0x[encoded data, 21336 characters], 0x5846, 2030032, '2.3.0 Beta 2', 1748686057),
(167, 0x61646d696e, 0x666f72756d5f73756767657374696f6e5f636f6e766572745f7265616374696f6e73, 0, '<xf:title>{{ phrase(\'convert_suggestion_reactions_to_votes\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'forums/suggestion-convert-reactions\', $node) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'forum_suggestion_convert_reactions_explain\') }}\n			</xf:inforow>\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'confirm_convert_suggestion_reactions_in_following_forum:\') }}\n				<strong><a href=\"{{ link(\'forums/edit\', $node) }}\">{$node.title}</a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"confirm\" />\n	</div>\n</xf:form>', 0x[encoded data, 9548 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057);
