INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(107, 0x61646d696e, 0x62625f636f64655f6c697374, 0, '<xf:title>{{ phrase(\'custom_bb_codes\') }}</xf:title>\n\n<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link(\'bb-codes/add\') }}\" icon=\"add\">{{ phrase(\'add_bb_code\') }}</xf:button>\n		<xf:button href=\"{{ link(\'bb-codes/import\') }}\" icon=\"import\" overlay=\"true\" />\n		<xf:if is=\"$bbCodes is not empty\">\n			<xf:button href=\"{{ link(\'bb-codes\', null, {\'export\': ($exportView ? \'\' : \'1\')}) }}\" icon=\"export\" />\n		</xf:if>\n	</div>\n</xf:pageaction>\n\n<xf:if is=\"$bbCodes is not empty\">\n	<xf:form action=\"{{ link(($exportView ? \'bb-codes/export\' : \'bb-codes/toggle\')) }}\"\n		ajax=\"{{ $exportView ? false : true }}\" class=\"block\">\n\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"bb-codes\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$bbCodes\" value=\"$bbCode\">\n						<xf:datarow>\n							<xf:if is=\"$exportView\">\n								<xf:toggle name=\"export[]\" value=\"{$bbCode.bb_code_id}\"\n									disabled=\"{{ $bbCode.addon_id ? true : false }}\"\n									tooltip=\"{{ $bbCode.addon_id ? phrase(\'bb_codes_for_addon_not_exported_independently\') : \'\' }}\" />\n							</xf:if>\n							<xf:main href=\"{{ $exportView ? null : link(\'bb-codes/edit\', $bbCode) }}\">\n								<xf:label>{$bbCode.title}</xf:label>\n								<xf:hint>[{$bbCode.bb_code_id}]</xf:hint>\n								<xf:explain>{$bbCode.description}</xf:explain>\n							</xf:main>\n							<xf:if is=\"!$exportView\">\n								<xf:toggle name=\"active[{$bbCode.bb_code_id}]\" selected=\"$bbCode.active\"\n									class=\"dataList-cell--separated\" submit=\"true\"\n									tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': \'[\' . $bbCode.bb_code_id . \']\'}) }}\" />\n								<xf:delete href=\"{{ link(\'bb-codes/delete\', $bbCode) }}\" />\n							</xf:if>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer block-footer--split\">\n				<span class=\"block-footer-counter\">{{ display_totals($bbCodes) }}</span>\n				<xf:if is=\"$exportView\">\n					<span class=\"block-footer-select\"><xf:checkbox standalone=\"true\"><xf:option check-all=\"< .block-container\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox></span>\n					<span class=\"block-footer-controls\"><xf:button type=\"submit\" icon=\"export\" /></span>\n				</xf:if>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 42800 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
(108, 0x61646d696e, 0x62625f636f64655f6d656469615f736974655f65646974, 0, '<xf:if is=\"$site.isInsert()\">\n	<xf:title>{{ phrase(\'add_bb_code_media_site\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_bb_code_media_site:\') }} {$site.site_title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$site.isUpdate() AND $site.canEdit()\">\n	<xf:button href=\"{{ link(\'bb-code-media-sites/delete\', $site) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:if is=\"!$site.canEdit()\">\n	<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n		{{ phrase(\'only_limited_fields_in_item_may_be_edited\') }}\n	</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'bb-code-media-sites/save\', $site) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"media_site_id\" value=\"{$site}\"\n				readonly=\"{{ $site.exists() ? true : false }}\"\n				label=\"{{ phrase(\'media_site_id\') }}\"\n				explain=\"{{ phrase(\'this_will_be_used_to_identify_media_site_to_load_in_bb_code\') }}\"\n				dir=\"ltr\" />\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$site.addon_id}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"site_title\" value=\"{$site}\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				label=\"{{ phrase(\'site_title\') }}\" />\n\n			<xf:textboxrow name=\"site_url\" value=\"{$site}\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				label=\"{{ phrase(\'site_url\') }}\"\n				dir=\"ltr\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"supported\" value=\"1\" selected=\"$site.supported\">\n					{{ phrase(\'show_this_site_on_list_of_supported_sites_shown_to_visitors\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" value=\"1\" selected=\"$site.active\"\n					hint=\"{{ ($xf.development AND $site.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\' }}\">\n					{{ phrase(\'enabled\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textarearow name=\"match_urls\" value=\"{$site}\" autosize=\"true\" code=\"true\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				label=\"{{ phrase(\'match_urls\') }}\"\n				explain=\"{{ phrase(\'you_may_use_star_as_wildcard_and_id_to_point_to_media_id\') }}\"\n				dir=\"ltr\" />\n\n			<xf:codeeditorrow name=\"embed_html\" value=\"{{ $site.exists() ? $site.MasterTemplate.template : \'\' }}\"\n				mode=\"html\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				hint=\"{{ $site.isUpdate() ? $site.getTemplateName() : \'\' }}\"\n				class=\"codeEditor--short\"\n				label=\"{{ phrase(\'embed_template\') }}\">\n				<xf:explain>\n					{{ phrase(\'enter_id_where_you_want_user_entered_media_id_to_be_used\') }}<br />\n					<br />\n					<xf:if is=\"$site.canEdit()\">\n						{{ phrase(\'editing_master_embed_html_explain\') }}\n					<xf:else />\n						{{ phrase(\'unable_edit_master_embed_html_explain\') }}\n					</xf:if>\n				</xf:explain>\n			</xf:codeeditorrow>\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(\'oembed_options\') }}</span>\n			</span>\n		</h3>\n		<div class=\"block-body block-body--collapsible\">\n			<xf:checkboxrow explain=\"{{ phrase(\'oembed_explain\') }}\" readonly=\"{{ !$site.canEdit() }}\">\n				<xf:option name=\"oembed_enabled\" selected=\"{$site.oembed_enabled}\">{{ phrase(\'use_oembed\') }}</xf:option>\n			</xf:checkboxrow>\n\n			<xf:textboxrow name=\"oembed_api_endpoint\" value=\"{$site}\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				label=\"{{ phrase(\'oembed_api_endpoint\') }}\"\n				dir=\"ltr\" />\n\n			<xf:textboxrow name=\"oembed_url_scheme\" value=\"{$site}\"\n				label=\"{{ phrase(\'oembed_url_scheme\') }}\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				explain=\"{{ phrase(\'oembed_url_scheme_explain\') }}\"\n				dir=\"ltr\" />\n\n			<xf:checkboxrow\n				explain=\"{{ phrase(\'oembed_retain_scripts_explain\') }}\">\n				<xf:option name=\"oembed_retain_scripts\" selected=\"{$site.oembed_retain_scripts}\"\n					readonly=\"{{ !$site.canEdit() }}\"\n					label=\"{{ phrase(\'oembed_retain_scripts\') }}\" />\n			</xf:checkboxrow>\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 label=\"{{ phrase(\'regular_expression_matching\') }}\" readonly=\"{{ !$site.canEdit() }}\">\n				<xf:option name=\"match_is_regex\" selected=\"$site.match_is_regex\"\n					label=\"{{ phrase(\'match_urls_are_regex\') }}\" />\n				<xf:explain>{{ phrase(\'match_urls_are_regex_explain\') }}</xf:explain>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'match_url_callback\') }}\"\n				explain=\"{{ phrase(\'match_url_callback_explain\') }}\">\n				<xf:macro id=\"helper_callback_fields::callback_fields\"\n					arg-namePrefix=\"match_callback\"\n					arg-data=\"{$site}\"\n					arg-readOnly=\"{{ !$site.canEdit() }}\"/>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'embed_html_callback\') }}\"\n				explain=\"{{ phrase(\'embed_html_callback_explain\') }}\">\n				<xf:macro id=\"helper_callback_fields::callback_fields\"\n					arg-namePrefix=\"embed_html_callback\"\n					arg-data=\"{$site}\"\n					arg-readOnly=\"{{ !$site.canEdit() }}\"/>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textarearow name=\"cookie_third_parties\" value=\"{$site.cookie_third_parties}\"\n				readonly=\"{{ !$site.canEdit() }}\"\n				label=\"{{ phrase(\'cookie_third_parties\') }}\"\n				explain=\"{{ phrase(\'cookie_third_parties_explain\') }}\" />\n		</div>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\">\n			<xf:html>\n				<xf:button type=\"submit\" icon=\"save\" name=\"exit\">{{ phrase(\'save_and_exit\') }}</xf:button>\n			</xf:html>\n		</xf:submitrow>\n	</div>\n</xf:form>', 0x[encoded data, 85864 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
(109, 0x61646d696e, 0x62625f636f64655f6d656469615f736974655f6c697374, 0, '<xf:title>{{ phrase(\'bb_code_media_sites\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'bb-code-media-sites/add\') }}\" icon=\"add\">{{ phrase(\'add_bb_code_media_site\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$sites is not empty\">\n	<xf:form action=\"{{ link(\'bb-code-media-sites/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"help-pages\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$sites\" value=\"$site\">\n						<xf:datarow>\n							<xf:main hash=\"{$site.media_site_id}\"\n								href=\"{{ link(\'bb-code-media-sites/edit\', $site) }}\" label=\"{$site.site_title}\"\n								hint=\"{$site.site_url}\" />\n							<xf:toggle name=\"active[{$site.media_site_id}]\" selected=\"$site.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $site.site_title}) }}\" />\n							<xf:if is=\"{$site.site_url}\">\n								<xf:action href=\"{$site.site_url}\">{{ phrase(\'visit_site\') }}</xf:action>\n							<xf:else />\n								<xf:cell class=\"dataList-cell--alt\">&nbsp;</xf:cell>\n							</xf:if>\n							<xf:delete href=\"{{ link(\'bb-code-media-sites/delete\', $site) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($sites) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 25714 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(110, 0x61646d696e, 0x627574746f6e5f6d616e616765722e6c657373, 0, '.fr-toolbar .fr-command.fr-btn + div.hr\n{\n	float: left;\n	width: 100%;\n	height: 11px;\n	position: relative;\n\n	&:before\n	{\n		content: \'\';\n		display: block;\n		position: absolute;\n		top: 5px;\n		bottom: 5px;\n		left: 5px;\n		right: 5px;\n		background: @xf-borderColorLight;\n	}\n}\n\n.toolbar--dragTarget\n{\n	display: flex;\n	min-height: 40px;\n	border: solid 1px @xf-borderColorLight;\n	border-radius: @xf-borderRadiusMedium;\n	padding: @xf-paddingSmall;\n\n	.fr-btn\n	{\n		position: relative;\n		display: inline-flex;\n		width: 32px;\n		height: 32px;\n		align-items: center;\n		justify-content: center;\n\n		color: mix(@xf-textColor, @xf-textColorDimmed);\n		border-radius: @xf-borderRadiusMedium;\n\n		&.fr-dropdown\n		{\n			&:after\n			{\n				position: absolute;\n				width: 0;\n				height: 0;\n				border-left: 4px solid transparent;\n				border-right: 4px solid transparent;\n				border-top: 4px solid @xf-editorButtonColor;\n				right: 0;\n				top: 14px;\n				.m-transition(all, 0.3s);\n				content: \"\";\n			}\n		}\n\n		&.fr-btn-text\n		{\n			height: 35px;\n			align-items: center;\n\n			span:first-of-type\n			{\n				user-select: none;\n			}\n		}\n\n		svg\n		{\n			width: 24px;\n			height: 24px;\n		}\n\n		&[data-cmd=\"|\"]\n		{\n			background: @xf-contentAltBg;\n		}\n\n		&:hover\n		{\n			color: @xf-textColor;\n			background-color: @xf-contentAltBg;\n		}\n	}\n}\n\n\n.block-row--buttonGroup\n{\n	display: flex;\n\n	.block-row--buttons\n	{\n		flex: 1 1 auto;\n	}\n\n	.block-row--buttonMenu\n	{\n		flex: 0 0 auto;\n\n		.button.menuTrigger\n		{\n			margin-left: @xf-paddingLarge;\n			padding-top: 10px;\n			padding-bottom: 10px;\n		}\n	}\n}\n\n// mixin to generate 15x \'buttonsVisible\' rules, for up to 15 visible buttons before the \'more\' control\n.bvRules (@i) when (@i >= 0)\n{\n	@j: (@i + 1);\n	.toolbar-option--buttonsVisible-@{i}\n	{\n		.fr-btn:nth-child(n + @{j})\n		{\n			opacity: .4;\n		}\n	}\n	.bvRules((@i - 1));\n}\n.bvRules(15);\n\n// left and right aligned toolbar options\n.toolbar-option--align-right { justify-content: flex-end }\n\n// we want to hide the attach button, as it is non-functional\n.js-attachButton\n{\n	display: none !important;\n}\n\n{{ include(\'public:dragula.less\') }}', 0x[encoded data, 4982 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
(111, 0x61646d696e, 0x636170746368615f7175657374696f6e5f65646974, 0, '<xf:if is=\"$question.isInsert()\">\n	<xf:title>{{ phrase(\'add_question\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_question:\') }} {$question.question}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$question.isUpdate()\">\n	<xf:button href=\"{{ link(\'captcha-questions/delete\', $question) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'captcha-questions/save\', $question) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"question\" value=\"{$question}\"\n				label=\"{{ phrase(\'question\') }}\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'correct_answers\') }}\"\n				explain=\"{{ phrase(\'captcha_question_answers_explain\') }}\">\n\n				<ul class=\"inputList\">\n					<xf:foreach loop=\"$question.answers\" value=\"$answer\">\n						<li class=\"u-inputSpacer\">\n							<xf:textbox name=\"answers[]\" value=\"{$answer}\" placeholder=\"{{ phrase(\'answer...\') }}\" />\n						</li>\n					</xf:foreach>\n					<li data-xf-init=\"field-adder\">\n						<xf:textbox name=\"answers[]\" value=\"\" placeholder=\"{{ phrase(\'answer...\') }}\" />\n					</li>\n				</ul>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" value=\"1\" selected=\"$question.active\"\n					label=\"{{ phrase(\'question_is_active\') }}\"\n					hint=\"{{ phrase(\'inactive_questions_are_not_presented_to_visitors\') }}\" />\n			</xf:checkboxrow>\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 22050 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(112, 0x61646d696e, 0x636170746368615f7175657374696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'question_and_answer_captchas\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'captcha-questions/add\') }}\" icon=\"add\">{{ phrase(\'add_question\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$questions is not empty\">\n	<xf:form action=\"{{ link(\'captcha-questions/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"questions\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$questions\" value=\"$question\">\n						<xf:datarow>\n							<xf:main hash=\"{$question.captcha_question_id}\"\n								href=\"{{ link(\'captcha-questions/edit\', $question) }}\"\n								label=\"{$question.question}\" />\n							<xf:toggle name=\"active[{$question.captcha_question_id}]\" selected=\"$question.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $question.question}) }}\" />\n							<xf:delete href=\"{{ link(\'captcha-questions/delete\', $question) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($questions) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 20796 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
(113, 0x61646d696e, 0x63617465676f72795f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'categories/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_that_you_want_to_delete_following:\') }}\n				<strong><a href=\"{{ link(\'categories/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>	<xf:redirect />\n</xf:form>', 0x[encoded data, 11052 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(114, 0x61646d696e, 0x63617465676f72795f65646974, 0, '<xf:if is=\"$category.isInsert()\">\n	<xf:title>{{ phrase(\'add_category\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_category:\') }} {$node.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$category.isUpdate()\">\n	<xf:button href=\"{{ link(\'categories/delete\', $node) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'categories/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}\"  arg-additionalExplain=\"{{ phrase(\'only_relevant_if_create_pages_for_categories_option_is_enabled\', {\'link\': link(\'options/categoryOwnPage/view\')}) }}\" />\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			<xf:macro id=\"node_edit_macros::style\" arg-node=\"{$node}\" arg-styleTree=\"{$styleTree}\" />\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 19272 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
(115, 0x61646d696e, 0x63617465676f72795f747265655f6d6163726f73, 0, '<xf:macro id=\"page_action\" arg-linkPrefix=\"!\">\n	<xf:pageaction>\n		<div class=\"buttonGroup\">\n			<xf:button href=\"{{ link($linkPrefix . \'/add\') }}\" icon=\"add\">{{ phrase(\'add_category\') }}</xf:button>\n			<xf:button href=\"{{ link($linkPrefix . \'/sort\') }}\" icon=\"sort\" overlay=\"true\" />\n		</div>\n	</xf:pageaction>\n</xf:macro>\n\n<xf:comment><!--\n	Note that this is a global macro, so scope is inherited into it. The expectation is that this macro will generally\n	be close to the only thing in a template so this makes the macro work similarly to an include.\n--></xf:comment>\n<xf:macro id=\"category_list\" global=\"true\"\n	arg-categoryTree=\"!\"\n	arg-filterKey=\"!\"\n	arg-linkPrefix=\"!\"\n	arg-idKey=\"category_id\"\n	arg-parentIdKey=\"parent_category_id\">\n\n	<xf:if is=\"$categoryTree.countChildren()\">\n		<div class=\"block\">\n			<div class=\"block-outer\">\n				<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"{$filterKey}\" arg-class=\"block-outer-opposite\" />\n			</div>\n			<div class=\"block-container\">\n				<div class=\"block-body\">\n					<xf:datalist>\n						<xf:foreach loop=\"$categoryTree.getFlattened(0)\" value=\"$treeEntry\">\n							<xf:set var=\"$category\" value=\"{$treeEntry.record}\" />\n							<xf:datarow>\n								<xf:cell class=\"dataList-cell--link dataList-cell--main\" hash=\"{$category.{$idKey}}\">\n									<a href=\"{{ link($linkPrefix . \'/edit\', $category) }}\">\n										<div class=\"u-depth{$treeEntry.depth}\">\n											<div class=\"dataList-mainRow\">{$category.title}</div>\n										</div>\n									</a>\n								</xf:cell>\n								<xf:if is=\"$permissionContentType\">\n									<xf:action\n										class=\"{{ {$customPermissions.{$category.{$idKey}}} ? \'dataList-cell--highlighted\' : \'\' }}\"\n										href=\"{{ link($linkPrefix . \'/permissions\', $category) }}\">\n										{{ phrase(\'permissions\') }}\n									</xf:action>\n								</xf:if>\n								<xf:popup class=\"dataList-cell--action u-hideMedium\"\n									label=\"{{ phrase(\'add...\') }}\">\n\n									<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n										<div class=\"menu-content\">\n											<h3 class=\"menu-header\">{{ phrase(\'add...\') }}</h3>\n											<a href=\"{{ link($linkPrefix . \'/add\', null, { {$parentIdKey}: $category.{$parentIdKey} }) }}\" class=\"menu-linkRow\">{{ phrase(\'sibling\') }}</a>\n											<a href=\"{{ link($linkPrefix . \'/add\', null, { {$parentIdKey}: $category.{$idKey} }) }}\" class=\"menu-linkRow\">{{ phrase(\'child\') }}</a>\n										</div>\n									</div>\n								</xf:popup>\n								<xf:delete href=\"{{ link($linkPrefix . \'/delete\', $category) }}\" />\n							</xf:datarow>\n						</xf:foreach>\n					</xf:datalist>\n				</div>\n			</div>\n		</div>\n	<xf:else />\n		<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"sortable_form\" arg-categoryTree=\"!\" arg-linkPrefix=\"!\">\n	<xf:macro id=\"public:nestable_macros::setup\" />\n\n	<xf:form action=\"{{ link($linkPrefix . \'/sort\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<div class=\"nestable-container\" data-xf-init=\"nestable\">\n					<xf:macro id=\"sortable_list\" arg-children=\"{$categoryTree}\" />\n					<xf:hiddenval name=\"categories\" value=\"\" />\n				</div>\n			</div>\n			<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n		</div>\n	</xf:form>\n</xf:macro>\n\n<xf:macro id=\"sortable_list\" arg-children=\"!\">\n	<ol class=\"nestable-list\">\n		<xf:foreach loop=\"$children\" key=\"$id\" value=\"$child\">\n			<xf:macro id=\"sortable_list_entry\" arg-child=\"{$child}\" arg-children=\"{$child.children}\" />\n		</xf:foreach>\n	</ol>\n</xf:macro>\n\n<xf:macro id=\"sortable_list_entry\" arg-child=\"!\" arg-children=\"!\">\n	<li class=\"nestable-item\" data-id=\"{$child.id}\">\n		<div class=\"nestable-handle\" aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"><xf:fa icon=\"fa-bars\" /></div>\n		<div class=\"nestable-content\">{$child.record.title}</div>\n		<xf:if is=\"$child.children is not empty\">\n			<xf:macro id=\"sortable_list\" arg-children=\"{$child.children}\" />\n		</xf:if>\n	</li>\n</xf:macro>\n\n<xf:macro id=\"parent_category_select_row\"\n	arg-category=\"!\"\n	arg-categoryTree=\"!\"\n	arg-idKey=\"category_id\"\n	arg-parentIdKey=\"parent_category_id\">\n\n	<xf:selectrow name=\"{$parentIdKey}\" value=\"{$category}\"\n		label=\"{{ phrase(\'parent_category\') }}\">\n\n		<xf:option value=\"0\">{{ phrase(\'(none)\') }}</xf:option>\n		<xf:foreach loop=\"$categoryTree.getFlattened(0)\" value=\"$treeEntry\">\n			<xf:option value=\"{$treeEntry.record.{$idKey}}\">{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>\n		</xf:foreach>\n	</xf:selectrow>\n</xf:macro>\n\n<xf:macro id=\"category_delete_form\" arg-linkPrefix=\"!\" arg-category=\"!\">\n	<xf:form action=\"{{ link($linkPrefix . \'/delete\', $category) }}\" 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($linkPrefix . \'/edit\', $category) }}\">{$category.title}</a></strong>\n				</xf:inforow>\n\n				<xf:if is=\"$category.hasChildren()\">\n					<xf:radiorow name=\"child_nodes_action\">\n						<xf:option value=\"move\" selected=\"true\">{{ phrase(\'move_this_categorys_children_to_its_parent\') }}</xf:option>\n						<xf:option value=\"delete\">{{ phrase(\'delete_this_categorys_children\') }} </xf:option>\n					</xf:radiorow>\n				</xf:if>\n			</div>\n			<xf:submitrow rowtype=\"{{ !$category.hasChildren() ? \'simple\' : \'\' }}\" icon=\"delete\" />\n		</div>\n		<xf:redirect />\n\n	</xf:form>\n</xf:macro>', 0x[encoded data, 87822 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
(116, 0x61646d696e, 0x636c6173735f657874656e73696f6e5f65646974, 0, '<xf:if is=\"$extension.isInsert()\">\n	<xf:title>{{ phrase(\'add_extension\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_extension:\') }} {$extension.to_class}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$extension.isUpdate()\">\n	<xf:button href=\"{{ link(\'class-extensions/delete\', $extension) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'class-extensions/save\', $extension) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"from_class\" value=\"{$extension}\"\n				label=\"{{ phrase(\'base_class_name\') }}\"\n				dir=\"ltr\" />\n\n			<xf:textboxrow name=\"to_class\" value=\"{$extension}\"\n				label=\"{{ phrase(\'extension_class_name\') }}\"\n				dir=\"ltr\" />\n\n			<xf:numberboxrow name=\"execute_order\" value=\"{$extension}\"\n				label=\"{{ phrase(\'execution_order\') }}\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" selected=\"$extension.active\">{{ phrase(\'enable_extension\') }}</xf:option>\n			</xf:checkboxrow>\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$extension.addon_id}\" />\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n\n</xf:form>', 0x[encoded data, 19386 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
(117, 0x61646d696e, 0x636c6173735f657874656e73696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'class_extensions\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'class-extensions/add\') }}\" icon=\"add\">{{ phrase(\'add_class_extension\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$extensions is not empty\">\n	<xf:form action=\"{{ link(\'class-extensions/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"extensions\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist data-xf-init=\"responsive-data-list\" data-trigger-width=\"medium\">\n					<thead>\n						<xf:datarow rowtype=\"header\">\n							<xf:cell>{{ phrase(\'base_class_name\') }}</xf:cell>\n							<xf:cell>{{ phrase(\'extension_class_name\') }}</xf:cell>\n							<xf:cell>&nbsp;</xf:cell>\n							<xf:cell>&nbsp;</xf:cell>\n						</xf:datarow>\n					</thead>\n					<xf:foreach loop=\"$extensions\" key=\"$addOnId\" value=\"$addOnExtensions\">\n						<tbody class=\"dataList-rowGroup\">\n							<xf:datarow rowtype=\"subsection\" rowclass=\"dataList-row--noHover\">\n								<xf:cell colspan=\"4\">\n									<xf:if is=\"{{ {$addOns.{$addOnId}} }}\">\n										{$addOns.{$addOnId}.title}\n									<xf:else />\n										{{ phrase(\'custom_class_extensions\') }}\n									</xf:if>\n								</xf:cell>\n							</xf:datarow>\n							<xf:foreach loop=\"$addOnExtensions\" value=\"$extension\">\n								<xf:datarow>\n									<xf:cell hash=\"{$extension.extension_id}\"\n										href=\"{{ link(\'class-extensions/edit\', $extension) }}\"\n										dir=\"auto\">\n										{$extension.from_class|split_long(25)}\n									</xf:cell>\n									<xf:cell href=\"{{ link(\'class-extensions/edit\', $extension) }}\" dir=\"auto\">\n										{$extension.to_class|split_long(25)}\n									</xf:cell>\n									<xf:toggle name=\"active[{$extension.extension_id}]\" selected=\"$extension.active\"\n										class=\"dataList-cell--separated\" submit=\"true\"\n										tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $extension.from_class}) }}\" />\n									<xf:delete href=\"{{ link(\'class-extensions/delete\', $extension) }}\" />\n								</xf:datarow>\n							</xf:foreach>\n						</tbody>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($totalExtensions, $total) }}</span>\n			</div>\n		</div>\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>', 0x[encoded data, 37596 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(118, 0x61646d696e, 0x636f64655f6576656e742e6c657373, 0, '.eventDescription\n{\n	font-size: @xf-fontSizeSmall;\n	color: @xf-textColorDimmed;\n\n	code, pre\n	{\n		font-family: @xf-fontFamilyCode;\n		direction: ltr;\n	}\n\n	code\n	{\n		color: @xf-textColor;\n		font-weight: @xf-fontWeightHeavy;\n		white-space: normal;\n\n		em\n		{\n			font-weight: @xf-fontWeightNormal;\n			font-style: normal;\n			color: @xf-textColorMuted;\n		}\n	}\n\n	pre\n	{\n		color: @xf-textColor;\n		overflow: auto;\n	}\n}', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a3430373a222e6576656e744465736372697074696f6e0a7b0a09666f6e742d73697a653a204078662d666f6e7453697a65536d616c6c3b0a09636f6c6f723a204078662d74657874436f6c6f7244696d6d65643b0a0a09636f64652c207072650a097b0a0909666f6e742d66616d696c793a204078662d666f6e7446616d696c79436f64653b0a0909646972656374696f6e3a206c74723b0a097d0a0a09636f64650a097b0a0909636f6c6f723a204078662d74657874436f6c6f723b0a0909666f6e742d7765696768743a204078662d666f6e7457656967687448656176793b0a090977686974652d73706163653a206e6f726d616c3b0a0a0909656d0a09097b0a090909666f6e742d7765696768743a204078662d666f6e745765696768744e6f726d616c3b0a090909666f6e742d7374796c653a206e6f726d616c3b0a090909636f6c6f723a204078662d74657874436f6c6f724d757465643b0a09097d0a097d0a0a097072650a097b0a0909636f6c6f723a204078662d74657874436f6c6f723b0a09096f766572666c6f773a206175746f3b0a097d0a7d223b7d7d7d, 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
