INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(24, 0x61646d696e, 0x61637469766974795f73756d6d6172795f646566696e6974696f6e5f65646974, 0, '<xf:if is=\"$definition.isInsert()\">\n	<xf:title>{{ phrase(\'add_activity_summary_definition\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_activity_summary_definition:\') }} {$definition.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$definition.isUpdate()\">\n	<xf:button href=\"{{ link(\'activity-summary/definitions/delete\', $definition) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'activity-summary/definitions/save\', $definition) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"definition_id\" value=\"{$definition}\"\n				label=\"{{ phrase(\'definition_id\') }}\"\n				dir=\"ltr\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$definition}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:textarearow name=\"description\" value=\"{$definition}\" autosize=\"true\"\n				label=\"{{ phrase(\'description\') }}\" />\n\n			<xf:textboxrow name=\"definition_class\" value=\"{$definition}\"\n				label=\"{{ phrase(\'definition_class\') }}\"\n				explain=\"{{ phrase(\'class_implement_relevant_activity_summary_section_behaviors\') }}\"\n				dir=\"ltr\" />\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$definition.addon_id}\" />\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 19736 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(25, 0x61646d696e, 0x61637469766974795f73756d6d6172795f646566696e6974696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'activity_summary_definitions\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'activity-summary/definitions/add\') }}\" icon=\"add\">{{ phrase(\'add_activity_summary_definition\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$definitions is not empty\">\n	<div class=\"block\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"activity-summary-definitions\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$definitions\" value=\"$definition\">\n						<xf:datarow\n							label=\"{$definition.title}\"\n							hint=\"{$definition.definition_class}\"\n							explain=\"{$definition.description}\"\n							href=\"{{ link(\'activity-summary/definitions/edit\', $definition) }}\"\n							delete=\"{{ link(\'activity-summary/definitions/delete\', $definition) }}\">\n\n							<xf:action href=\"{{ link(\'activity-summary/add\', null, {\'definition_id\': $definition.definition_id}) }}\">\n								{{ phrase(\'add_activity_summary\') }}\n							</xf:action>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($definitions) }}</span>\n			</div>\n		</div>\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 18138 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
(26, 0x61646d696e, 0x61637469766974795f73756d6d6172795f6f7074696f6e735f6c61746573745f706f737473, 0, '<hr class=\"formRowSep\" />\n\n<xf:numberboxrow name=\"options[limit]\" value=\"{$options.limit}\" min=\"1\"\n	label=\"{{ phrase(\'maximum_entries\') }}\" />\n\n<xf:selectrow name=\"options[node_ids][]\" value=\"{{ $options.node_ids ?: \'\' }}\" multiple=\"multiple\" size=\"7\"\n	label=\"{{ phrase(\'forum_limit\') }}\"\n	explain=\"{{ phrase(\'only_include_posts_in_selected_forums\') }}\">\n\n	<xf:option value=\"\">{{ phrase(\'all_forums\') }}</xf:option>\n	<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n		<xf:option value=\"{$treeEntry.record.node_id}\" disabled=\"{{ $treeEntry.record.node_type_id != \'Forum\' }}\">\n			{{ repeat(\'&nbsp;&nbsp;\', $treeEntry.depth)|raw }} {$treeEntry.record.title}\n		</xf:option>\n	</xf:foreach>\n</xf:selectrow>\n\n<xf:checkboxrow label=\"{{ phrase(\'only_include_posts_with\') }}...\" rowtype=\"noColon\">\n	<xf:option label=\"{{ phrase(\'reaction_score_at_least_x\') }}\" selected=\"$options.min_reaction_score !== null\">\n		<xf:numberbox name=\"options[min_reaction_score]\" value=\"{{ $options.min_reaction_score ?: 0 }}\" />\n	</xf:option>\n</xf:checkboxrow>\n\n<xf:formrow rowtype=\"input\"\n	label=\"{{ phrase(\'sort\') }}\">\n\n	<div class=\"inputPair\">\n		<xf:select name=\"options[order]\" value=\"{$options.order}\">\n			<xf:options source=\"{$sortOrders}\" />\n		</xf:select>\n		<xf:select name=\"options[direction]\" value=\"{$options.direction}\">\n			<xf:option value=\"ASC\">{{ phrase(\'ascending\') }}</xf:option>\n			<xf:option value=\"DESC\">{{ phrase(\'descending\') }}</xf:option>\n		</xf:select>\n	</div>\n</xf:formrow>', 0x[encoded data, 27598 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
(27, 0x61646d696e, 0x61637469766974795f73756d6d6172795f6f7074696f6e735f6c61746573745f74687265616473, 0, '<hr class=\"formRowSep\" />\n\n<xf:numberboxrow name=\"options[limit]\" value=\"{$options.limit}\" min=\"1\"\n	label=\"{{ phrase(\'maximum_entries\') }}\" />\n\n<xf:selectrow name=\"options[node_ids][]\" value=\"{{ $options.node_ids ?: \'\' }}\" multiple=\"multiple\" size=\"7\"\n	label=\"{{ phrase(\'forum_limit\') }}\"\n	explain=\"{{ phrase(\'only_include_threads_in_selected_forums\') }}\">\n\n	<xf:option value=\"\">{{ phrase(\'all_forums\') }}</xf:option>\n	<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n		<xf:option value=\"{$treeEntry.record.node_id}\" disabled=\"{{ $treeEntry.record.node_type_id != \'Forum\' }}\">\n			{{ repeat(\'&nbsp;&nbsp;\', $treeEntry.depth)|raw }} {$treeEntry.record.title}\n		</xf:option>\n	</xf:foreach>\n</xf:selectrow>\n\n<xf:radiorow name=\"options[condition]\" label=\"{{ phrase(\'include_threads\') }}\" value=\"{$options.condition}\">\n	<xf:option value=\"last_post_date\">{{ phrase(\'updated_since_last_email\') }}</xf:option>\n	<xf:option value=\"post_date\">{{ phrase(\'created_since_last_email\') }}</xf:option>\n</xf:radiorow>\n\n<xf:checkboxrow label=\"{{ phrase(\'only_include_threads_with\') }}...\" rowtype=\"noColon\">\n	<xf:option label=\"{{ phrase(\'at_least_x_replies\') }}\" selected=\"$options.min_replies !== null\">\n		<xf:numberbox name=\"options[min_replies]\" value=\"{{ $options.min_replies ?: 0}}\" min=\"0\" />\n	</xf:option>\n\n	<xf:option label=\"{{ phrase(\'reaction_score_at_least_x\') }}\" selected=\"$options.min_reaction_score !== null\">\n		<xf:numberbox name=\"options[min_reaction_score]\" value=\"{{ $options.min_reaction_score ?: 0 }}\" />\n	</xf:option>\n</xf:checkboxrow>\n\n<xf:formrow rowtype=\"input\"\n	label=\"{{ phrase(\'sort\') }}\">\n\n	<div class=\"inputPair\">\n		<xf:select name=\"options[order]\" value=\"{$options.order}\">\n			<xf:options source=\"{$sortOrders}\" />\n		</xf:select>\n		<xf:select name=\"options[direction]\" value=\"{$options.direction}\">\n			<xf:option value=\"ASC\">{{ phrase(\'ascending\') }}</xf:option>\n			<xf:option value=\"DESC\">{{ phrase(\'descending\') }}</xf:option>\n		</xf:select>\n	</div>\n</xf:formrow>', 0x[encoded data, 36088 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
(28, 0x61646d696e, 0x61637469766974795f73756d6d6172795f73656374696f6e5f65646974, 0, '<xf:if is=\"$section.isInsert()\">\n	<xf:title>{{ phrase(\'add_activity_summary_section\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_activity_summary_section:\') }} {$section.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$section.isUpdate()\">\n	<xf:button href=\"{{ link(\'activity-summary/delete\', $section) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'activity-summary/save\', $section) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n\n			<xf:formrow\n				label=\"{{ phrase(\'activity_summary_definition\') }}\"\n				explain=\"{$definition.description}\">\n				{$definition.title}\n				<xf:hiddenval name=\"definition_id\">{$definition.definition_id}</xf:hiddenval>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$section}\"\n				label=\"{{ phrase(\'title\') }}\"\n				hint=\"{{ phrase(\'optional\') }}\"\n				explain=\"{{ phrase(\'you_may_choose_enter_title_for_section_if_not_default\') }}\" />\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$section}\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"show_value\" value=\"1\" selected=\"$section.show_value\"\n					label=\"{{ phrase(\'display_total_count_in_summary\') }}\" />\n				<xf:explain>{{ phrase(\'if_enabled_total_found_section_displayed_top_activity_summary_email\') }}</xf:explain>\n			</xf:checkboxrow>\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" value=\"1\" selected=\"$section.active\">\n					{{ phrase(\'enabled\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			{$section.renderOptions()|raw}\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 25824 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
(29, 0x61646d696e, 0x61637469766974795f73756d6d6172795f73656374696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'activity_summary\') }}</xf:title>\n\n<xf:if is=\"$testSuccess AND $xf.visitor.email\">\n	<div class=\"blockMessage blockMessage--success blockMessage--iconic\">{{ phrase(\'test_activity_summary_email_sent_to_x_successfully\', {\'email\': $xf.visitor.email|email_display}) }}</div>\n</xf:if>\n\n<xf:if is=\"$isImportRunning AND $xf.options.activitySummaryEmail.enabled\">\n	<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n		{{ phrase(\'while_import_running_sending_activity_summary_disabled\') }}\n	</div>\n</xf:if>\n\n<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link(\'activity-summary/add\') }}\" icon=\"add\" overlay=\"true\">{{ phrase(\'add_activity_summary_section\') }}</xf:button>\n		<xf:button href=\"{{ link(\'activity-summary/sort\') }}\" icon=\"sort\" overlay=\"true\" />\n	</div>\n\n	<xf:if is=\"$sections is not empty AND $xf.visitor.email\">\n		<xf:button href=\"{{ link(\'activity-summary/send-test-email\') }}\" fa=\"fa-envelope\" overlay=\"true\">{{ phrase(\'send_test_email\') }}</xf:button>\n	</xf:if>\n</xf:pageaction>\n\n<xf:if is=\"$sections is not empty\">\n	<xf:form action=\"{{ link(\'activity-summary/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"activity-summary-sections\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$sections\" value=\"$section\">\n						<xf:datarow\n							label=\"{$section.title}\"\n							href=\"{{ link(\'activity-summary/edit\', $section) }}\"\n							delete=\"{{ link(\'activity-summary/delete\', $section) }}\">\n							<xf:toggle name=\"active[{$section.section_id}]\" selected=\"$section.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $section.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($sections) }}</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>\n\n<xf:macro id=\"option_macros::option_form_block\" arg-options=\"{$options}\" />', 0x[encoded data, 30376 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(30, 0x61646d696e, 0x61637469766974795f73756d6d6172795f73656374696f6e5f736f7274, 0, '<xf:title>{{ phrase(\'sort_activity_summary_sections\') }}</xf:title>\n\n<xf:macro id=\"public:nestable_macros::setup\" />\n\n<xf:form action=\"{{ link(\'activity-summary/sort\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<div class=\"nestable-container\" data-xf-init=\"nestable\" data-max-depth=\"1\" data-value-function=\"serialize\">\n				<xf:macro id=\"section_list\" arg-sections=\"{$sections}\" />\n				<xf:hiddenval name=\"sections\" value=\"\" />\n			</div>\n		</div>\n		<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n	</div>\n</xf:form>\n\n<xf:macro id=\"section_list\" arg-sections=\"!\">\n	<ol class=\"nestable-list\">\n		<xf:foreach loop=\"$sections\" key=\"$id\" value=\"$section\">\n			<li class=\"nestable-item\" data-id=\"{$id}\">\n				<div class=\"nestable-handle\" aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"><xf:fa icon=\"fa-bars\" /></div>\n				<div class=\"nestable-content\">\n					{$section.title}\n				</div>\n			</li>\n		</xf:foreach>\n	</ol>\n</xf:macro>', 0x[encoded data, 12728 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
(31, 0x61646d696e, 0x61637469766974795f73756d6d6172795f73656e645f746573745f656d61696c, 0, '<xf:title>{{ phrase(\'activity_summary:\') }} {{ phrase(\'send_test_email\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'activity-summary/send-test-email\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'you_sure_want_generate_receive_test_activity_summary_email_to_x\', {\'email\': $xf.visitor.email}) }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'send_test_email\') }}\" rowtype=\"simple\" fa=\"fa-envelope\" />\n	</div>\n</xf:form>', 0x[encoded data, 8174 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(32, 0x61646d696e, 0x6164646f6e5f616374696f6e5f6d6163726f73, 0, '<xf:macro id=\"summary\" arg-errors=\"{{ [] }}\" arg-warnings=\"{{ [] }}\">\n	<xf:if contentcheck=\"true\">\n		<div class=\"block-row\">\n			<xf:contentcheck>\n				<xf:macro id=\"addon_action_macros::errors\" arg-errors=\"{$errors}\" />\n				<xf:macro id=\"addon_action_macros::warnings\" arg-warnings=\"{$warnings}\" />\n			</xf:contentcheck>\n		</div>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"action\" arg-errors=\"{{ [] }}\" arg-warnings=\"{{ [] }}\" arg-submit=\"!\">\n	<xf:if is=\"!$errors\">\n		<xf:if is=\"$warnings\">\n			<div class=\"block-body\">\n				<xf:checkboxrow rowtype=\"fullWidth noLabel\">\n					<xf:option name=\"confirm\" data-xf-init=\"disabler\" data-container=\".js-submitDisable\">\n						<xf:label>{{ phrase(\'i_have_reviewed_warnings_and_i_still_wish_to_proceed\') }}</xf:label>\n					</xf:option>\n				</xf:checkboxrow>\n			</div>\n		</xf:if>\n		<xf:submitrow submit=\"{$submit}\" rowtype=\"simple\" rowclass=\"js-submitDisable\" />\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"errors\" arg-errors=\"{{ [] }}\">\n	<xf:if is=\"$errors\">\n		<div class=\"block-rowMessage block-rowMessage--error block-rowMessage--iconic\">\n			{{ phrase(\'following_errors_must_be_resolved_before_continuing:\') }}\n			<ul>\n				<xf:foreach loop=\"$errors\" value=\"$error\">\n					<li>{$error}</li>\n				</xf:foreach>\n			</ul>\n		</div>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"warnings\" arg-warnings=\"{{ [] }}\">\n	<xf:if is=\"$warnings\">\n		<div class=\"block-rowMessage block-rowMessage--warning block-rowMessage--iconic\">\n			{{ phrase(\'prevent_potential_issues_please_resolve_following_warnings_before_continuing:\') }}\n			<ul>\n				<xf:foreach loop=\"$warnings\" value=\"$warning\">\n					<li>{$warning}</li>\n				</xf:foreach>\n			</ul>\n		</div>\n	</xf:if>\n</xf:macro>', 0x[encoded data, 24140 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
(33, 0x61646d696e, 0x6164646f6e5f636f6e74726f6c73, 0, '<xf:if contentcheck=\"false\">\n	<xf:contentcheck>\n		<xf:if contentcheck=\"false\">\n			<xf:contentcheck>\n				<xf:if is=\"$hasOptions AND $addOn.active AND $xf.visitor.hasAdminPermission(\'option\')\">\n					<a href=\"{{ $hasOptions === true ? link(\'add-ons/options\', $addOn) : link($hasOptions) }}\" class=\"menu-linkRow\">{{ phrase(\'options\') }}</a>\n				</xf:if>\n				<xf:if is=\"$hasPublicTemplates AND $xf.visitor.hasAdminPermission(\'style\')\">\n					<a href=\"{{ link(\'styles/templates\', $style, {\'addon_id\': $addOn.addon_id, \'type\': \'public\'}) }}\" class=\"menu-linkRow\">{{ phrase(\'public_templates\') }}</a>\n				</xf:if>\n				<xf:if is=\"$hasEmailTemplates AND $xf.visitor.hasAdminPermission(\'style\')\">\n					<a href=\"{{ link(\'styles/templates\', $style, {\'addon_id\': $addOn.addon_id, \'type\': \'email\'}) }}\" class=\"menu-linkRow\">{{ phrase(\'email_templates\') }}</a>\n				</xf:if>\n				<xf:if is=\"$hasAdminTemplates AND $xf.visitor.hasAdminPermission(\'style\')\">\n					<a href=\"{{ link(\'styles/templates\', $masterStyle, {\'addon_id\': $addOn.addon_id, \'type\': \'admin\'}) }}\" class=\"menu-linkRow\">{{ phrase(\'admin_templates\') }}</a>\n				</xf:if>\n				<xf:if is=\"$hasPhrases AND $xf.visitor.hasAdminPermission(\'language\')\">\n					<a href=\"{{ link(\'languages/phrases\', $language, {\'addon_id\': $addOn.addon_id}) }}\" class=\"menu-linkRow\">{{ phrase(\'phrases\') }}</a>\n				</xf:if>\n			</xf:contentcheck>\n\n			<hr class=\"menu-separator\" />\n		</xf:if>\n\n		<xf:if contentcheck=\"false\">\n			<xf:contentcheck>\n				<xf:if is=\"($addOn.isInstalled() OR $addOn.canUpgrade()) AND !$addOn.isLegacy()\">\n					<a href=\"{{ link(\'add-ons/toggle\', $addOn, {\'t\': csrf_token()}) }}\" class=\"menu-linkRow\">{{ $addOn.active ? phrase(\'disable\') : phrase(\'enable\') }}</a>\n				</xf:if>\n				<xf:if is=\"$addOn.hasPendingChanges() AND $xf.development\">\n					<a href=\"{{ link(\'add-ons/sync-changes\', $addOn, {\'t\': csrf_token()}) }}\" class=\"menu-linkRow\">{{ phrase(\'sync_changes\') }}</a>\n				</xf:if>\n				<xf:if is=\"$addOn.isFileVersionValid() AND $addOn.canRebuild()\">\n					<a href=\"{{ link(\'add-ons/rebuild\', $addOn) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'rebuild\') }}</a>\n				</xf:if>\n				<xf:if is=\"$addOn.isInstalled() AND !$addOn.canUpgrade()\">\n					<a href=\"{{ link(\'add-ons/uninstall\', $addOn) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'uninstall\') }}</a>\n				</xf:if>\n			</xf:contentcheck>\n		</xf:if>\n	</xf:contentcheck>\n<xf:else />\n	<div class=\"menu-row\">{{ phrase(\'no_items_to_display\') }}</div>\n</xf:if>', 0x[encoded data, 41264 characters], 0x5846, 2020470, '2.2.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
(34, 0x61646d696e, 0x6164646f6e5f64656c6574655f66696c6573, 0, '<xf:title>\n	<xf:if is=\"!$undeletableFiles\">\n		{{ phrase(\'confirm_file_deletion_for_x\', {\'title\': $addOn.title}) }}\n	<xf:else />\n		{{ phrase(\'unable_to_delete_files_for_x\', {\'title\': $addOn.title}) }}\n	</xf:if>\n</xf:title>\n\n<xf:if is=\"!$undeletableFiles\">\n	<xf:form action=\"{{ link(\'add-ons/delete-files\', $addOn) }}\" class=\"block\" ajax=\"true\">\n\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:inforow rowtype=\"confirm\">\n					{{ phrase(\'please_confirm_that_you_wish_to_delete_files_from_following_add_on:\') }}\n					<strong>{$addOn.title} {$addOn.version_string}</strong>\n				</xf:inforow>\n\n				<xf:if is=\"$conflictingFiles\">\n					<div class=\"block-row\">\n						<div class=\"block-rowMessage block-rowMessage--iconic block-rowMessage--warning\">\n							{{ phrase(\'following_files_not_deletable_as_they_may_be_in_use_by_another_add_on\') }}\n						</div>\n						<ul>\n							<xf:foreach loop=\"$conflictingFiles\" value=\"$conflictingFile\">\n								<li><code>{$conflictingFile}</code></li>\n							</xf:foreach>\n						</ul>\n					</div>\n				</xf:if>\n				<div class=\"block-row\">\n					<div class=\"block-rowMessage block-rowMessage--iconic block-rowMessage--important\">\n						{{ phrase(\'all_files_known_to_be_associated_with_this_add_on_will_be_deleted\') }}\n					</div>\n				</div>\n			</div>\n\n			<h3 class=\"block-formSectionHeader\">\n				<span class=\"collapseTrigger collapseTrigger--block\" data-xf-click=\"toggle\" data-target=\"< :up:next\">\n					{{ phrase(\'view_files_to_be_deleted\') }}\n				</span>\n			</h3>\n			<div class=\"block-body block-body--contained block-body--collapsible\" tabindex=\"-1\">\n				<div class=\"block-row\">\n					<ul>\n						<xf:foreach loop=\"$filesToDelete\" value=\"$file\">\n							<li><code>{$file}</code></li>\n						</xf:foreach>\n					</ul>\n				</div>\n			</div>\n\n			<xf:submitrow submit=\"{{ phrase(\'delete_files\') }}\" rowtype=\"simple\" />\n		</div>\n\n		<xf:redirect />\n	</xf:form>\n<xf:else />\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:inforow>\n					<div class=\"block-rowMessage block-rowMessage--error\">\n						{{ phrase(\'following_files_or_directories_not_deletable_due_to_file_permissions\') }}\n					</div>\n					<ul>\n						<xf:foreach loop=\"$undeletableFiles\" value=\"$undeletableFile\">\n							<li><code>{$undeletableFile}</code></li>\n						</xf:foreach>\n					</ul>\n				</xf:inforow>\n			</div>\n		</div>\n	</div>\n</xf:if>', 0x[encoded data, 26168 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(35, 0x61646d696e, 0x6164646f6e5f696e7374616c6c, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/install\', $addOn) }}\" class=\"block\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				<xf:if is=\"$errors\">\n					{{ phrase(\'we_found_some_errors_while_trying_to_install_following_add_on:\') }}\n				<xf:elseif is=\"$warnings\" />\n					{{ phrase(\'please_review_warnings_and_confirm_you_wish_to_proceed_installing:\') }}\n				<xf:else />\n					{{ phrase(\'please_confirm_that_you_want_to_install_following_add_on:\') }}\n				</xf:if>\n				<strong>{$addOn.title} {$addOn.version_string}</strong>\n			</xf:inforow>\n		</div>\n\n		<xf:macro id=\"addon_action_macros::summary\"\n			arg-errors=\"{$errors}\"\n			arg-warnings=\"{$warnings}\" />\n\n		<xf:macro id=\"addon_action_macros::action\"\n			arg-errors=\"{$errors}\"\n			arg-warnings=\"{$warnings}\"\n			arg-submit=\"{{ phrase(\'install\') }}\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 14182 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
(36, 0x61646d696e, 0x6164646f6e5f696e7374616c6c5f66726f6d5f61726368697665, 0, '<xf:title>{{ phrase(\'install_upgrade_from_archive\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/install-from-archive\') }}\" upload=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:uploadrow name=\"uploads[]\" multiple=\"multiple\" required=\"required\" accept=\".zip\"\n				label=\"{{ phrase(\'add_on_archives\') }}\" />\n		</div>\n		<xf:submitrow icon=\"upload\" submit=\"{{ phrase(\'upload\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 6294 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686057),
(37, 0x61646d696e, 0x6164646f6e5f696e7374616c6c5f66726f6d5f617263686976655f636f6d706c657465, 0, '<xf:title>{{ phrase(\'add_on_batch_result\') }}</xf:title>\n\n<xf:if is=\"$hasErrors\">\n	<div class=\"blockMessage blockMessage--error\">\n		{{ phrase(\'one_or_more_of_add_ons_in_this_batch_failed_to_install_upgrade\') }}\n	</div>\n<xf:else />\n	<div class=\"blockMessage blockMessage--success\">\n		{{ phrase(\'all_add_ons_in_this_batch_installed_upgraded_successfully\') }}\n	</div>\n</xf:if>\n\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(\'add_on\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'action\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'version\') }}</xf:cell>\n				</xf:datarow>\n				<xf:foreach loop=\"$batch.results\" key=\"$addOnId\" value=\"$result\">\n					<xf:set var=\"$addOn\" value=\"{{ $addOns.{$addOnId} ?: $batch.addon_ids.{$addOnId} }}\" />\n					<xf:datarow rowclass=\"dataList-row--noHover\">\n						<xf:cell>{{ $addOn.title ?: $addOnId }}</xf:cell>\n						<xf:cell>\n							<xf:if is=\"$result.status == \'error\'\">\n								<span data-xf-init=\"tooltip\" data-trigger=\"hover focus click\" title=\"{$result.error}\">\n									<xf:fa icon=\"fas fa-exclamation-circle\" style=\"color: #c84448;\" />\n									{{ phrase(\'error\') }}\n								</span>\n							<xf:else />\n								<span data-xf-init=\"tooltip\" data-trigger=\"hover focus click\"\n									title=\"{{ phrase(\'action_completed_successfully\')|for_attr }}\">\n									<xf:fa icon=\"fas fa-check-circle\" style=\"color: #63b265;\" />\n									<xf:if is=\"$result.action == \'install\'\">\n										{{ phrase(\'install\') }}\n									<xf:elseif is=\"$result.action == \'upgrade\'\" />\n										{{ phrase(\'upgrade\') }}\n									<xf:elseif is=\"$result.action == \'rebuild\'\" />\n										{{ phrase(\'rebuild\') }}\n									</xf:if>\n								</span>\n							</xf:if>\n						</xf:cell>\n						<xf:cell>\n							<xf:if is=\"$action.action == \'upgrade\'\">\n								{$result.old_version} -&gt; {$addOn.version_string}\n							<xf:else />\n								{$addOn.version_string}\n							</xf:if>\n						</xf:cell>\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n		<div class=\"block-footer\">\n			<span class=\"block-footer-controls\"><a\n				href=\"{{ link(\'add-ons\') }}\">{{ phrase(\'view_all_add_ons\') }}</a></span>\n		</div>\n	</div>\n</div>', 0x[encoded data, 35090 characters], 0x5846, 2020470, '2.2.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
(38, 0x61646d696e, 0x6164646f6e5f696e7374616c6c5f66726f6d5f617263686976655f636f6e6669726d, 0, '<xf:title>{{ phrase(\'install_upgrade_from_archive\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/install-from-archive-confirm\') }}\" 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(\'add_on\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'action\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'version\') }}</xf:cell>\n				</xf:datarow>\n				<xf:foreach loop=\"$plannedActions\" key=\"$addOnId\" value=\"$action\">\n					<xf:datarow rowclass=\"dataList-row--noHover\">\n						<xf:cell><span data-xf-init=\"tooltip\" title=\"{$addOnId}\">{$action.title}</span></xf:cell>\n						<xf:cell>\n							<xf:if is=\"$action.action == \'install\'\">\n								{{ phrase(\'install\') }}\n							<xf:elseif is=\"$action.action == \'upgrade\'\" />\n								{{ phrase(\'upgrade\') }}\n								<xf:set var=\"$displayAdvanced\" value=\"{{ true }}\" />\n							<xf:elseif is=\"$action.action == \'rebuild\'\" />\n								{{ phrase(\'rebuild\') }}\n								<xf:set var=\"$displayAdvanced\" value=\"{{ true }}\" />\n							</xf:if>\n						</xf:cell>\n						<xf:cell>\n							<xf:if is=\"$action.action == \'upgrade\'\">\n								{$action.oldVersion} -&gt; {$action.version}\n							<xf:else />\n								{$action.version}\n							</xf:if>\n						</xf:cell>\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n		<xf:if is=\"$displayAdvanced\">\n			<h3 class=\"block-formSectionHeader\">\n				{{ phrase(\'advanced_options\') }}\n			</h3>\n			<div class=\"block-body\">\n				<xf:checkboxrow rowtype=\"fullWidth\">\n					<xf:option name=\"force_overwrite\">\n						<xf:label>{{ phrase(\'addon_force_overwrite\') }}</xf:label>\n						<xf:hint>{{ phrase(\'addon_force_overwrite_hint\') }}</xf:hint>\n					</xf:option>\n				</xf:checkboxrow>\n			</div>\n		</xf:if>\n		<xf:submitrow submit=\"{{ phrase(\'confirm_actions\') }}\" rowtype=\"simple\"/>\n	</div>\n	<xf:hiddenval name=\"batch_id\">{$batch.batch_id}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 33504 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
(39, 0x61646d696e, 0x6164646f6e5f6c697374, 0, '<xf:title>{{ phrase(\'add_ons\') }}</xf:title>\n\n<xf:css src=\"addon_list.less\" />\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'add-ons/install-from-archive\') }}\" overlay=\"true\" icon=\"add\">\n		{{ phrase(\'install_upgrade_from_archive\') }}\n	</xf:button>\n	<xf:if is=\"$disabled\">\n		<xf:button href=\"{{ link(\'add-ons/mass-toggle\', null, {\'enable\': 1}) }}\" overlay=\"true\" data-cache=\"0\">\n			{{ phrase(\'enable\') }}\n		</xf:button>\n	</xf:if>\n	<xf:button href=\"{{ link(\'add-ons/mass-toggle\', null, {\'enable\': 0}) }}\" overlay=\"true\" data-cache=\"0\">\n		{{ phrase(\'disable_all\') }}\n	</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$hasProcessing\">\n	<div class=\"blockMessage blockMessage--error blockMessage--iconic\">\n		{{ phrase(\'addon_action_pending_warning\') }}\n	</div>\n</xf:if>\n\n<xf:if is=\"$upgradeCheck\">\n	<xf:macro id=\"upgrade_check_macros::installable_add_ons\" arg-upgradeCheck=\"{$upgradeCheck}\" />\n</xf:if>\n\n<xf:macro id=\"addon_list_macros::addon_list_filter\" />\n\n<xf:if is=\"$total\">\n	<div class=\"addOnList\">\n		<!--[XF:list_block:top]-->\n		<xf:macro id=\"addon_list_macros::addon_list_block\"\n			arg-addOns=\"{$upgradeable}\"\n			arg-heading=\"{{ phrase(\'upgradeable_add_ons\') }}\" />\n		<!--[XF:list_block:below_upgradeable]-->\n		<xf:macro id=\"addon_list_macros::addon_list_block\"\n			arg-addOns=\"{$installable}\"\n			arg-heading=\"{{ phrase(\'installable_add_ons\') }}\"\n			arg-addOnDirWritable=\"{$addOnDirWritable}\" />\n		<!--[XF:list_block:below_installable]-->\n		<xf:macro id=\"addon_list_macros::addon_list_block\"\n			arg-addOns=\"{$installed}\"\n			arg-heading=\"{{ phrase(\'installed_add_ons\') }}\" />\n		<!--[XF:list_block:below_installed]-->\n		<xf:macro id=\"addon_list_macros::addon_list_block\"\n			arg-addOns=\"{$legacy}\"\n			arg-heading=\"{{ phrase(\'legacy_add_ons\') }}\"\n			arg-desc=\"{{ phrase(\'legacy_add_ons_desc\') }}\" />\n		<!--[XF:list_block:bottom]-->\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_add_ons_installed_or_available_to_be_installed\') }}</div>\n</xf:if>', 0x[encoded data, 28316 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(40, 0x61646d696e, 0x6164646f6e5f6c6973742e6c657373, 0, '.addOnList\n{\n	.block,\n	.blockMessage\n	{\n		&.is-hidden\n		{\n			display: none;\n		}\n	}\n}\n\n.addOnList-row\n{\n	&.is-disabled\n	{\n		.contentRow-figure,\n		.contentRow-header,\n		.contentRow-lesser\n		{\n			opacity: 0.5;\n		}\n\n		.contentRow-header\n		{\n			text-decoration: line-through;\n		}\n\n		.contentRow-extra\n		{\n			// this is needed to move this above the semi-transparent layer that\'s created above\n			position: relative;\n			z-index: 2;\n		}\n	}\n\n	&.is-hidden\n	{\n		display: none;\n	}\n\n	.contentRow-lesser\n	{\n		&.no-description\n		{\n			visibility: hidden;\n		}\n	}\n\n	.is-match\n	{\n		text-decoration: underline;\n		color: red;\n	}\n}\n\n', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a3631323a222e6164644f6e4c6973740a7b0a092e626c6f636b2c0a092e626c6f636b4d6573736167650a097b0a0909262e69732d68696464656e0a09097b0a090909646973706c61793a206e6f6e653b0a09097d0a097d0a7d0a0a2e6164644f6e4c6973742d726f770a7b0a09262e69732d64697361626c65640a097b0a09092e636f6e74656e74526f772d6669677572652c0a09092e636f6e74656e74526f772d6865616465722c0a09092e636f6e74656e74526f772d6c65737365720a09097b0a0909096f7061636974793a20302e353b0a09097d0a0a09092e636f6e74656e74526f772d6865616465720a09097b0a090909746578742d6465636f726174696f6e3a206c696e652d7468726f7567683b0a09097d0a0a09092e636f6e74656e74526f772d65787472610a09097b0a0909092f2f2074686973206973206e656564656420746f206d6f766520746869732061626f7665207468652073656d692d7472616e73706172656e74206c617965722074686174277320637265617465642061626f76650a090909706f736974696f6e3a2072656c61746976653b0a0909097a2d696e6465783a20323b0a09097d0a097d0a0a09262e69732d68696464656e0a097b0a0909646973706c61793a206e6f6e653b0a097d0a0a092e636f6e74656e74526f772d6c65737365720a097b0a0909262e6e6f2d6465736372697074696f6e0a09097b0a0909097669736962696c6974793a2068696464656e3b0a09097d0a097d0a0a092e69732d6d617463680a097b0a0909746578742d6465636f726174696f6e3a20756e6465726c696e653b0a0909636f6c6f723a207265643b0a097d0a7d0a0a223b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686057);
