INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(41, 0x61646d696e, 0x6164646f6e5f6c6973745f6d6163726f73, 0, '<xf:macro id=\"addon_list_filter\">\n	<div class=\"block\">\n		<div class=\"block-outer\">\n			<xf:js src=\"xf/filter.js\" min=\"1\" />\n			<div class=\"block-outer-opposite quickFilter u-jsOnly\"\n				data-xf-init=\"filter\"\n				data-key=\"addOns\"\n				data-search-target=\".addOnList\"\n				data-search-row=\".addOnList-row\"\n				data-search-row-group=\".block\"\n				data-search-limit=\".js-filterSearchable\"\n				data-no-results-format=\"<div class=&quot;blockMessage js-filterNoResults&quot;>%s</div>\">\n\n				<div class=\"inputGroup inputGroup--inline inputGroup--joined\">\n					<input type=\"search\" class=\"input js-filterInput\" placeholder=\"{{ phrase(\'filter...\') }}\" />\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		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"addon_list_block\" arg-addOns=\"!\" arg-heading=\"!\" arg-desc=\"\" arg-addOnDirWritable=\"{{ false }}\">\n	<xf:if is=\"$addOns is not empty\">\n		<div class=\"block\">\n			<div class=\"block-container\">\n				<h3 class=\"block-header\">\n					{$heading}\n					<xf:if is=\"$desc\">\n						<span class=\"block-desc\">\n							{$desc}\n						</span>\n					</xf:if>\n				</h3>\n				<ol class=\"block-body\">\n					<xf:foreach loop=\"$addOns\" value=\"$addOn\">\n						<xf:macro id=\"addon_list_item\" arg-addOn=\"{$addOn}\" arg-addOnDirWritable=\"{$addOnDirWritable}\" />\n					</xf:foreach>\n				</ol>\n			</div>\n		</div>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"addon_list_item\" arg-addOn=\"!\" arg-addOnDirWritable=\"{{ false }}\">\n	<xf:css src=\"addon_list.less\" />\n\n	<li class=\"block-row block-row--separated addOnList-row{{ ($addOn.isInstalled() && !$addOn.active) ? \' is-disabled\' : \'\' }}\">\n		<div class=\"contentRow\">\n			<xf:macro id=\"addon_list_item_icon\" arg-addOn=\"{$addOn}\" />\n			<div class=\"contentRow-main\">\n				<xf:macro id=\"addon_list_item_menu\" arg-addOn=\"{$addOn}\" arg-addOnDirWritable=\"{$addOnDirWritable}\" />\n				<h3 class=\"contentRow-header js-filterSearchable\">\n					{$addOn.title} <span class=\"contentRow-muted\">{$addOn.version_string}</span>\n					<xf:if is=\"$addOn.is_processing\">\n						<span class=\"label label--error\" data-xf-init=\"tooltip\" title=\"{{ phrase(\'last_action:\')|for_attr }} {{ $addOn.last_pending_action ?: phrase(\'n_a\')|for_attr }}\">{{ phrase(\'action_pending\') }}</span>\n					</xf:if>\n				</h3>\n				<div class=\"contentRow-lesser js-filterSearchable{{ !$addOn.description ? \' no-description\' : \'\' }}\">\n					{{ $addOn.description ? snippet($addOn.description, 200)|nl2br : \'&nbsp;\' }}\n				</div>\n				<xf:macro id=\"addon_list_item_footer\" arg-addOn=\"{$addOn}\" />\n			</div>\n		</div>\n	</li>\n</xf:macro>\n\n<xf:macro id=\"addon_list_item_icon\" arg-addOn=\"!\">\n	<div class=\"contentRow-figure\">\n		<div class=\"contentRow-figureIcon\">\n			<xf:if is=\"$addOn.hasFaIcon()\">\n				<xf:fa icon=\"{$addOn.icon} fa-3x\" />\n			<xf:elseif is=\"$addOn.hasIcon()\" />\n				<img src=\"{$addOn.getIconUri()}\" alt=\"{$addOn.title}\" />\n			<xf:elseif is=\"$addOn.isLegacy()\" />\n				<xf:fa icon=\"fa-question-circle fa-3x\" />\n			<xf:else />\n				<xf:fa icon=\"fa-puzzle-piece fa-3x\" />\n			</xf:if>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"addon_list_item_menu\" arg-addOn=\"!\" arg-addOnDirWritable=\"{{ false }}\">\n	<div class=\"contentRow-extra\">\n		<xf:if is=\"$addOn.canUpgrade()\">\n			<xf:button href=\"{{ link(\'add-ons/upgrade\', $addOn) }}\" overlay=\"true\" data-cache=\"0\" class=\"button--primary\">\n				{{ phrase(\'upgrade\') }}\n			</xf:button>\n		<xf:elseif is=\"$addOn.canInstall()\" />\n			<xf:if is=\"$addOnDirWritable AND $addOn.canDeleteFiles()\">\n				<xf:button href=\"{{ link(\'add-ons/delete-files\', $addOn) }}\" overlay=\"true\" data-cache=\"0\">\n					{{ phrase(\'delete_files\') }}\n				</xf:button>\n			</xf:if>\n			<xf:button href=\"{{ link(\'add-ons/install\', $addOn) }}\" overlay=\"true\" data-cache=\"0\" class=\"button--primary\">\n				{{ phrase(\'install\') }}\n			</xf:button>\n		</xf:if>\n		<xf:if is=\"$addOn.isInstalled()\">\n			<xf:button class=\"button--link menuTrigger\"\n				data-xf-click=\"menu\"\n				aria-label=\"{{ phrase(\'more_options\') }}\"\n				aria-expanded=\"false\"\n				aria-haspopup=\"true\">\n				<xf:fa icon=\"fa-cog\" />\n			</xf:button>\n			<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\"\n				data-href=\"{{ link(\'add-ons/controls\', $addOn) }}\"\n				data-load-target=\".js-controlsMenuBody\">\n				<div class=\"menu-content\">\n					<div class=\"js-controlsMenuBody\">\n						<div class=\"menu-row\">{{ phrase(\'loading...\') }}</div>\n					</div>\n				</div>\n			</div>\n		</xf:if>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"addon_list_item_footer\" arg-addOn=\"!\">\n	<div class=\"contentRow-minor\">\n		<ul class=\"listInline listInline--bullet\">\n			<xf:if is=\"$addOn.isInstalled() && !$addOn.canUpgrade()\">\n				<xf:if is=\"$addOn.isLegacy()\">\n					<li class=\"addOnList-row-noSearch\">\n						<span class=\"label label--red\" data-xf-init=\"tooltip\"\n							title=\"{{ phrase(\'this_legacy_add_on_cannot_be_enabled\')|for_attr }}\">\n							{{ phrase(\'legacy_add_on\') }}\n						</span>\n					</li>\n				<xf:elseif is=\"$addOn.hasMissingFiles()\" />\n					<li class=\"addOnList-row-noSearch\">\n						<span class=\"label label--red\" data-xf-init=\"tooltip\"\n							title=\"{{ phrase(\'some_files_or_directories_for_this_add_on_missing_x\', {\n								\'missing_files\': $addOn.missing_files|join(\', \')\n							})|for_attr }}\">\n							{{ phrase(\'missing_files\') }}\n						</span>\n					</li>\n				<xf:elseif is=\"!$addOn.isFileVersionValid()\" />\n					<li class=\"addOnList-row-noSearch\">\n						<span class=\"label label--primary\" data-xf-init=\"tooltip\"\n							title=\"{{ phrase(\'add_on_files_do_not_appear_to_be_from_correct_version\')|for_attr }}\">\n							{{ phrase(\'version_mismatch\') }}\n						</span>\n					</li>\n				<xf:elseif is=\"$addOn.hasPendingChanges()\" />\n					<li class=\"addOnList-row-noSearch\">\n						<span class=\"label label--primary\" data-xf-init=\"tooltip\"\n							title=\"{{ phrase(\'this_add_on_has_pending_metadata_changes\')|for_attr }}\">\n							{{ phrase(\'pending_changes\') }}\n						</span>\n					</li>\n				</xf:if>\n			</xf:if>\n			<xf:if is=\"$addOn.dev || $addOn.dev_url\">\n				<li>\n					<xf:if is=\"$addOn.dev && $addOn.dev_url\">\n						<span class=\"addOnList-row-noSearch\">{{ phrase(\'developer:\') }}</span> <a href=\"{$addOn.dev_url}\" target=\"_blank\">{$addOn.dev}</a>\n					<xf:elseif is=\"$addOn.dev\" />\n						<span class=\"addOnList-row-noSearch\">{{ phrase(\'developer:\') }}</span> {$addOn.dev}\n					<xf:elseif is=\"$addOn.dev_url\" />\n						<span class=\"addOnList-row-noSearch\">{{ phrase(\'developer:\') }}</span> <a href=\"{$addOn.dev_url}\" target=\"_blank\">{$addOn.dev_url}</a>\n					</xf:if>\n				</li>\n			</xf:if>\n			<xf:if is=\"$addOn.faq_url\">\n				<li><a href=\"{$addOn.faq_url}\" target=\"_blank\">{{ phrase(\'faq\') }}</a></li>\n			</xf:if>\n			<xf:if is=\"$addOn.support_url\">\n				<li><a href=\"{$addOn.support_url}\" target=\"_blank\">{{ phrase(\'support\') }}</a></li>\n			</xf:if>\n			<xf:if is=\"$addOn.extra_urls is not empty\">\n				<xf:foreach loop=\"$addOn.extra_urls\" key=\"$text\" value=\"$url\">\n					<li><a href=\"{$url}\" target=\"_blank\">{$text}</a></li>\n				</xf:foreach>\n			</xf:if>\n		</ul>\n	</div>\n</xf:macro>', 0x[encoded data, 95584 characters], 0x5846, 2030070, '2.3.0', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(42, 0x61646d696e, 0x6164646f6e5f6d6163726f73, 0, '<xf:macro id=\"addon_edit\" arg-addOnId=\"!\" arg-row=\"{{ true }}\" arg-includeAny=\"{{ false }}\">\n	<xf:set var=\"$addOnRepo\" value=\"{{ $xf.app.em.getRepository(\'XF:AddOn\') }}\" />\n	<xf:if is=\"$addOnRepo.canChangeAddOn()\">\n		<xf:macro id=\"addon_select\" arg-addOnId=\"{$addOnId}\" arg-row=\"{$row}\" arg-includeAny=\"{$includeAny}\" />\n	<xf:else />\n		<xf:hiddenval name=\"addon_id\">{$addOnId}</xf:hiddenval>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"addon_change_menu\"\n	arg-addOns=\"!\"\n	arg-route=\"!\"\n	arg-routeData=\"!\"\n	arg-routeParams=\"{{ {} }}\"\n	arg-currentAddOn=\"{{ null }}\"\n	arg-linkClass=\"button button--link\">\n\n	<a class=\"{$linkClass} menuTrigger\"\n		data-xf-click=\"menu\"\n		role=\"button\"\n		tabindex=\"0\"\n		aria-expanded=\"false\"\n		aria-haspopup=\"true\">{{ phrase(\'add_on:\') }} {{ $currentAddOn ? $currentAddOn.title : phrase(\'(any)\') }}</a>\n\n	<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n		<div class=\"menu-content\">\n			<h3 class=\"menu-header\">{{ phrase(\'add_ons\') }}</h3>\n			<a href=\"{{ link($route, $routeData, {\'addon_id\': null} + $routeParams) }}\"\n				class=\"menu-linkRow {{ !$currentAddOn ? \'is-selected\' : \'\' }}\">\n				{{ phrase(\'(any)\') }}\n			</a>\n			<xf:foreach loop=\"$addOns\" value=\"$addOn\">\n				<a href=\"{{ link($route, $routeData, {\'addon_id\': $addOn.addon_id} + $routeParams) }}\"\n					class=\"menu-linkRow {{ ($currentAddOn && $currentAddOn.addon_id == $addOn.addon_id) ? \'is-selected\' : \'\' }}\">\n					{$addOn.title}\n				</a>\n			</xf:foreach>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"addon_select\" arg-addOnId=\"!\" arg-row=\"{{ true }}\" arg-class=\"\" arg-includeAny=\"{{ false }}\" arg-emptyValue=\"\">\n	<xf:set var=\"$addOnRepo\" value=\"{{ $xf.app.em.getRepository(\'XF:AddOn\') }}\" />\n	<xf:set var=\"$select\">\n		<xf:select name=\"addon_id\" value=\"{{ $addOnId === false ? $addOnRepo.getDefaultAddOnId() : $addOnId }}\" class=\"{$class}\">\n			<xf:option value=\"{$emptyValue}\"></xf:option>\n			<xf:if is=\"$includeAny\">\n				<xf:option value=\"_any\">{{ phrase(\'(any)\') }}</xf:option>\n			</xf:if>\n			<xf:foreach loop=\"{{ $addOnRepo.findAddOnsForList().fetch() }}\" value=\"$addOn\">\n				<xf:option value=\"{$addOn.addon_id}\">{$addOn.title}</xf:option>\n			</xf:foreach>\n		</xf:select>\n	</xf:set>\n	<xf:if is=\"$row\">\n		<xf:formrow rowtype=\"input\"\n			label=\"{{ phrase(\'add_on\') }}\">\n\n			{$select|raw}\n		</xf:formrow>\n	<xf:else />\n		{$select|raw}\n	</xf:if>\n</xf:macro>', 0x[encoded data, 47876 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
(43, 0x61646d696e, 0x6164646f6e5f6d6173735f64697361626c65, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/mass-toggle\', null, {\'enable\': 0}) }}\" class=\"block\" ajax=\"true\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				<p>{{ phrase(\'you_sure_you_want_to_disable_all_add_ons\') }}</p>\n				<xf:if is=\"!$disabled\">\n					<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n						{{ phrase(\'note_this_action_will_overwrite_previously_cached_disabled_add_ons_list\') }}\n					</div>\n				</xf:if>\n			</xf:inforow>\n		</div>\n\n		<xf:submitrow submit=\"{{ phrase(\'disable_all\') }}\" rowtype=\"simple\" icon=\"disable\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 9504 characters], 0x5846, 2000036, '2.0.0 Beta 6', 1748686057),
(44, 0x61646d696e, 0x6164646f6e5f6d6173735f656e61626c65, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/mass-toggle\', null, {\'enable\': 1}) }}\" class=\"block\" ajax=\"true\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				<p>{{ phrase(\'you_sure_you_want_to_re_enable_previously_disabled_add_ons\') }}</p>\n				<p>{{ phrase(\'you_may_control_which_add_ons_re_enabled_from_list_below:\') }}</p>\n			</xf:inforow>\n\n			<xf:checkboxrow name=\"to_enable\">\n				<xf:foreach loop=\"$addOns\" key=\"$addOnId\" value=\"$addOn\">\n					<xf:option value=\"{$addOnId}\" selected=\"in_array($addOnId, $disabled)\" label=\"{$addOn.title}\">\n						<xf:hint>{{ $addOn.active ? phrase(\'this_add_on_is_already_enabled\') : \'\' }}</xf:hint>\n					</xf:option>\n				</xf:foreach>\n			</xf:checkboxrow>\n		</div>\n\n		<xf:submitrow submit=\"{{ phrase(\'enable\') }}\" icon=\"disable\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 14346 characters], 0x5846, 2000036, '2.0.0 Beta 6', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(45, 0x61646d696e, 0x6164646f6e5f6f7074696f6e73, 0, '<xf:title>{{ phrase(\'options:\') }} {$addOn.title}</xf:title>\n\n<xf:if is=\"$groups is not empty\">\n	<xf:form action=\"{{ link(\'options/update\') }}\" ajax=\"true\" class=\"block\">\n		<div class=\"block-container\">\n			<xf:foreach loop=\"$groups\" key=\"$groupId\" value=\"$group\">\n				<xf:if is=\"{$groupedOptions.{$groupId}} is not empty\">\n					<h3 class=\"block-formSectionHeader\">\n						<span class=\"{{ $groups.count() > 1 ? \'collapseTrigger collapseTrigger--block\' : \'\' }} is-active\" data-xf-click=\"{{ $groups.count() > 1 ? \'toggle\' : \'\' }}\" data-target=\"< :up:next\">\n							{$group.title}\n						</span>\n						<span class=\"block-desc\">\n							{$group.description}\n						</span>\n					</h3>\n					<div class=\"block-body {{ $groups.count() > 1 ? \'block-body--collapsible\' : \'\' }} is-active\">\n\n						<xf:set var=\"$hundred\" value=\"0\" />\n\n						<xf:foreach loop=\"{$groupedOptions.{$groupId}}\" value=\"{$option}\">\n\n							<xf:if is=\"$group\">\n								<xf:set var=\"$curHundred\" value=\"{{ floor($option.Relations.{$group.group_id}.display_order / 100) }}\" />\n								<xf:if is=\"{{ $curHundred > $hundred }}\">\n									<xf:set var=\"$hundred\" value=\"{$curHundred}\" />\n									<hr class=\"formRowSep\" />\n								</xf:if>\n							</xf:if>\n\n							<xf:macro id=\"option_macros::option_row\" arg-group=\"{$group}\" arg-option=\"{$option}\" arg-includeAddOnHint=\"{{ false }}\" />\n						</xf:foreach>\n					</div>\n				</xf:if>\n			</xf:foreach>\n			<xf:submitrow sticky=\"true\" icon=\"save\" />\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, 30622 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(46, 0x61646d696e, 0x6164646f6e5f72656275696c64, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/rebuild\', $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_rebuild_following_add_on:\') }}\n				<xf:elseif is=\"$warnings\" />\n					{{ phrase(\'please_review_warnings_and_confirm_you_wish_to_proceed_rebuilding:\') }}\n				<xf:else />\n					{{ phrase(\'please_confirm_that_you_want_to_rebuild_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(\'rebuild\') }}\" />\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
(47, 0x61646d696e, 0x6164646f6e5f72756e5f73746570, 0, '<xf:title>{$actionText}{$xf.language.ellipsis}</xf:title>\n<xf:page option=\"template\">PAGE_RUN_JOB</xf:page>\n\n<form action=\"{{ link($actionRoute, $addOn) }}\" method=\"post\"\n	class=\"blockMessage\"\n	data-xf-init=\"auto-submit\">\n\n	<div>\n		{$actionText}\n		<strong>{$addOn.title} {$addOn.version_string}{{ repeat(\' . \', $count ) }}</strong>\n	</div>\n\n	<div class=\"u-noJsOnly\"><xf:button type=\"submit\">{{ phrase(\'proceed...\') }}</xf:button></div>\n\n	<xf:hiddenval name=\"_xfProcessing\">{$isProcessing}</xf:hiddenval>\n\n	<xf:hiddenval name=\"continue\">1</xf:hiddenval>\n	<xf:hiddenval name=\"confirm\">1</xf:hiddenval>\n\n	<xf:hiddenval name=\"params\">{$params|json}</xf:hiddenval>\n	<xf:hiddenval name=\"count\">{$count}</xf:hiddenval>\n	<xf:hiddenval name=\"finished\">{{ $finished ? 1 : 0 }}</xf:hiddenval>\n\n	<xf:csrf />\n</form>', 0x[encoded data, 15434 characters], 0x5846, 2000170, '2.0.1', 1748686057),
(48, 0x61646d696e, 0x6164646f6e5f756e696e7374616c6c, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/uninstall\', $addOn) }}\" class=\"block\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'please_confirm_that_you_want_to_uninstall_following_add_on:\') }}\n				<strong>{$addOn.title} {$addOn.version_string}</strong>\n				<xf:if is=\"$addOn.isLegacy()\">\n					<div class=\"blockMessage blockMessage--warning blockMessage--iconic\">\n						{{ phrase(\'uninstalling_legacy_add_ons_may_leave_orphaned_data\') }}\n					</div>\n				<xf:else />\n					<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n						{{ phrase(\'this_will_remove_any_data_created_by_add_on\') }}\n					</div>\n				</xf:if>\n			</xf:inforow>\n		</div>\n\n		<xf:submitrow submit=\"{{ phrase(\'uninstall\') }}\" rowtype=\"simple\" icon=\"delete\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 11876 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(49, 0x61646d696e, 0x6164646f6e5f75706772616465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'add-ons/upgrade\', $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_upgrade_following_add_on:\') }}\n				<xf:elseif is=\"$warnings\" />\n					{{ phrase(\'please_review_warnings_and_confirm_you_wish_to_proceed_upgrading:\') }}\n				<xf:else />\n					{{ phrase(\'please_confirm_that_you_want_to_upgrade_following_add_on:\') }}\n				</xf:if>\n				<strong>{$addOn.title} &middot; {$addOn.version_string} -&gt; {$addOn.json_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(\'upgrade\') }}\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 14912 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
(50, 0x61646d696e, 0x61646d696e5f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'admins/delete\', $admin) }}\" class=\"block\" ajax=\"true\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'confirm_that_you_want_to_remove_following_user_as_an_admin:\') }}\n				<strong><a href=\"{{ link(\'admins/edit\', $admin) }}\">{$admin.username}</a></strong>\n			</xf:inforow>\n\n			<xf:passwordboxrow name=\"visitor_password\"\n				label=\"{{ phrase(\'your_password\') }}\"\n				explain=\"{{ phrase(\'you_must_enter_your_current_password_to_validate_this_request\') }}\" />\n		</div>\n\n		<xf:submitrow icon=\"delete\" />\n	</div>\n\n</xf:form>', 0x[encoded data, 9610 characters], 0x5846, 2010010, '2.1.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
(51, 0x61646d696e, 0x61646d696e5f65646974, 0, '<xf:if is=\"$admin.isInsert()\">\n	<xf:title>{{ phrase(\'add_administrator\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_administrator:\') }} {$admin.username}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$admin.isUpdate()\">\n	<xf:button href=\"{{ link(\'admins/delete\', $admin) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'admins/save\', $admin) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:passwordboxrow name=\"visitor_password\"\n				label=\"{{ phrase(\'your_password\') }}\"\n				explain=\"{{ phrase(\'you_must_enter_your_current_password_to_validate_this_request\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:if is=\"!$admin.user_id\">\n				<xf:textboxrow name=\"username\" ac=\"single\"\n					label=\"{{ phrase(\'user\') }}\"\n					data-xf-init=\"input-validator\"\n					data-validation-url=\"{{ link(\'admins/admin-warnings\') }}\"\n					data-error-target=\"< dd | .js-adminWarnings\">\n\n					<xf:explain>\n						<div class=\"block-rowMessage block-rowMessage--important u-hidden u-hidden--transition js-adminWarnings\"></div>\n					</xf:explain>\n				</xf:textboxrow>\n			</xf:if>\n\n			<xf:checkboxrow name=\"extra_user_group_ids\" value=\"{$admin.extra_user_group_ids}\" listclass=\"listColumns\"\n				label=\"{{ phrase(\'add_user_to_user_groups\') }}\">\n				<xf:hint><br />\n					<xf:checkbox standalone=\"true\"><xf:option check-all=\"< .formRow\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox>\n				</xf:hint>\n				<xf:options source=\"$userGroups\" />\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"advanced\" selected=\"{$admin.advanced}\">{{ phrase(\'show_advanced_control_panel_options\') }}</xf:option>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"is_super_admin\" value=\"{$admin}\" label=\"{{ phrase(\'administrator_type\') }}\">\n\n				<xf:option value=\"1\"\n					label=\"{{ phrase(\'super_administrator\') }}\"\n					hint=\"{{ phrase(\'super_admins_have_all_admin_permissions_and_can_manage_other_admins\') }}\" />\n				<xf:option value=\"0\" data-hide=\"true\" data-xf-init=\"disabler\" data-container=\".js-adminPermissions\"\n					label=\"{{ phrase(\'regular_administrator\') }}\" />\n			</xf:radiorow>\n\n			<div class=\"js-adminPermissions\">\n				<xf:checkboxrow name=\"permission_cache\" value=\"{{ array_keys($admin.permission_cache) }}\" listclass=\"listColumns\"\n					label=\"{{ phrase(\'permissions\') }}\">\n					<xf:hint><br />\n						<xf:checkbox standalone=\"true\"><xf:option check-all=\"< .formRow\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox>\n					</xf:hint>\n					<xf:options source=\"$permissions\" />\n				</xf:checkboxrow>\n			</div>\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 38170 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
(52, 0x61646d696e, 0x61646d696e5f6c697374, 0, '<xf:title>{{ phrase(\'administrators\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'admins/add\') }}\" icon=\"add\">{{ phrase(\'add_administrator\') }}</xf:button>\n</xf:pageaction>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:datalist>\n				<xf:foreach loop=\"$admins\" value=\"$admin\">\n					<xf:datarow>\n						<xf:cell class=\"dataList-cell--min dataList-cell--image dataList-cell--imageSmall\"\n							href=\"{{ link(\'admins/edit\', $admin) }}\">\n							<xf:avatar user=\"$admin.User\" size=\"s\" href=\"\" />\n						</xf:cell>\n						<xf:main href=\"{{ link(\'admins/edit\', $admin) }}\" label=\"{$admin.User.username}\">\n							<xf:hint>\n								<ul class=\"listInline listInline--bullet listInline--selfInline\">\n									<li>{{ phrase(\'last_login:\') }} {{ $admin.last_login ? date_dynamic($admin.last_login) : phrase(\'n_a\') }}</li>\n									<xf:if is=\"$admin.is_super_admin\">\n										<li>{{ phrase(\'super_administrator\') }}</li>\n									</xf:if>\n								</ul>\n							</xf:hint>\n						</xf:main>\n						<xf:action href=\"{{ link(\'users/edit\', $admin.User) }}\">{{ phrase(\'user_info\') }}</xf:action>\n						<xf:delete href=\"{{ link(\'admins/delete\', $admin) }}\" overlay=\"true\" />\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n	</div>\n</div>', 0x[encoded data, 21742 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(53, 0x61646d696e, 0x61646d696e5f6e617669676174696f6e5f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'admin-navigation/delete\', $navigation) }}\" 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_want_to_delete_following:\') }}\n				<strong><a href=\"{{ link(\'admin-navigation/edit\', $navigation) }}\">{$navigation.title}</a></strong>\n			</xf:inforow>\n\n			<xf:if is=\"$hasChildren\">\n				<xf:inforow>\n					<p class=\"block-rowMessage block-rowMessage--warning block-rowMessage--iconic\">\n						<strong>{{ phrase(\'note:\') }}</strong>\n						{{ phrase(\'deleting_parent_also_deletes_children\') }}\n					</p>\n				</xf:inforow>\n			</xf:if>\n		</div>\n\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 11808 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
(54, 0x61646d696e, 0x61646d696e5f6e617669676174696f6e5f65646974, 0, '<xf:if is=\"$navigation.isInsert()\">\n	<xf:title>{{ phrase(\'add_navigation\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_navigation:\') }} {$navigation.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$navigation.isUpdate()\">\n	<xf:button href=\"{{ link(\'admin-navigation/delete\', $navigation) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'admin-navigation/save\', $navigation) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"navigation_id\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'admin_navigation_id\') }}\"\n				dir=\"ltr\" />\n			<xf:textboxrow name=\"title\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'title\') }}\" />\n			<xf:textboxrow name=\"link\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'link\') }}\"\n				dir=\"ltr\" />\n			<xf:textboxrow name=\"icon\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'font_awesome_icon\') }}\"\n				explain=\"{{ phrase(\'admin_navigation_icon_explain\') }}\"\n				dir=\"ltr\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"parent_navigation_id\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'parent_navigation_entry\') }}\">\n\n				<xf:option>&nbsp;</xf:option>\n				<xf:foreach loop=\"$navigationTree.getFlattened()\" value=\"$treeEntry\">\n					<xf:option value=\"{$treeEntry.record.navigation_id}\" class=\"u-indentDepth{$treeEntry.depth}\">{{ (repeat(\'--\', $treeEntry.depth)|raw) }}\n						{$treeEntry.record.title}\n						({$treeEntry.record.display_order})\n					</xf:option>\n				</xf:foreach>\n			</xf:selectrow>\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$navigation}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"admin_permission_id\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'required_admin_permission\') }}\">\n\n				<xf:option>&nbsp;</xf:option>\n				<xf:foreach loop=\"$adminPermissions\" value=\"$adminPermission\">\n					<xf:option value=\"{$adminPermission.admin_permission_id}\">{$adminPermission.title}</xf:option>\n				</xf:foreach>\n			</xf:selectrow>\n			<xf:checkboxrow>\n				<xf:option name=\"debug_only\" selected=\"$navigation.debug_only\">{{\n					phrase(\'display_this_navigation_in_debug_mode_only\') }}\n				</xf:option>\n				<xf:option name=\"development_only\" selected=\"$navigation.development_only\">{{\n					phrase(\'display_this_navigation_in_development_mode_only\') }}\n				</xf:option>\n				<xf:option name=\"hide_no_children\" selected=\"$navigation.hide_no_children\">{{\n					phrase(\'hide_this_navigation_when_there_no_viewable_children\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$navigation.addon_id}\" />\n\n		</div>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 42230 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
