INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(258, 0x61646d696e, 0x6e6f64655f736f7274, 0, '<xf:title>{{ phrase(\'sort_nodes\') }}</xf:title>\n\n<xf:macro id=\"public:nestable_macros::setup\" />\n\n<xf:form action=\"{{ link(\'nodes/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=\"node_list\" arg-children=\"{$nodeTree}\" />\n				<xf:hiddenval name=\"nodes\" value=\"\" />\n			</div>\n		</div>\n		<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n	</div>\n</xf:form>\n\n<xf:macro id=\"node_list\" arg-children=\"!\">\n	<ol class=\"nestable-list\">\n		<xf:foreach loop=\"$children\" key=\"$id\" value=\"$child\">\n			<xf:macro id=\"node_list_entry\" arg-node=\"{$child}\" arg-children=\"{$child.children}\" />\n		</xf:foreach>\n	</ol>\n</xf:macro>\n\n<xf:macro id=\"node_list_entry\" arg-node=\"!\" arg-children=\"!\">\n	<li class=\"nestable-item\" data-id=\"{$node.id}\">\n		<div class=\"nestable-handle\" aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"><xf:macro id=\"node_list::node_icon\" arg-node=\"{$node.record}\" /></div>\n		<div class=\"nestable-content\">\n			<strong>{$node.record.title}</strong>\n			<span class=\"nestable-label nestable-label--smallest\" dir=\"auto\">\n				{$node.record.NodeType.title}\n				<xf:if is=\"\n					$node.record.node_type_id == \'Forum\'\n					AND $node.record.Data.TypeHandler\n					AND $node.record.Data.forum_type_id != \'discussion\'\n				\">\n					({{ $node.record.Data.TypeHandler.getTypeTitle() }})\n				</xf:if>\n			</span>\n		</div>\n		<xf:if is=\"$node.children is not empty\">\n			<xf:macro id=\"node_list\" arg-children=\"{$node.children}\" />\n		</xf:if>\n	</li>\n</xf:macro>', 0x[encoded data, 22892 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
(259, 0x61646d696e, 0x6e6f746963655f65646974, 0, '<xf:if is=\"$notice.isInsert()\">\n	<xf:title>{{ phrase(\'add_notice\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_notice:\') }} {$notice.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$notice.isUpdate()\">\n	<xf:button href=\"{{ link(\'notices/reset\', $notice) }}\" overlay=\"true\">{{ phrase(\'reset\') }}</xf:button>\n	<xf:button href=\"{{ link(\'notices/delete\', $notice) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'notices/save\', $notice) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs hScroller\" data-xf-init=\"tabs h-scroller\" role=\"tablist\">\n			<span class=\"hScroller-scroll\">\n				<a class=\"tabs-tab is-active\" role=\"tab\" tabindex=\"0\" aria-controls=\"notice-options\">{{ phrase(\'notice_options\') }}</a>\n				<xf:macro id=\"helper_criteria::user_tabs\" />\n				<xf:macro id=\"helper_criteria::page_tabs\" />\n			</span>\n		</h2>\n\n		<ul class=\"tabPanes block-body\">\n			<li class=\"is-active\" role=\"tabpanel\" id=\"notice-options\">\n				<xf:textboxrow name=\"title\" value=\"{$notice}\"\n					label=\"{{ phrase(\'title\') }}\"\n					explain=\"{{ phrase(\'notice_title_explain\') }}\" />\n\n				<xf:codeeditorrow name=\"message\" value=\"{$notice}\"\n					mode=\"html\" data-line-wrapping=\"true\"\n					class=\"codeEditor--autoSize codeEditor--proportional\"\n					label=\"{{ phrase(\'message\') }}\"\n					hint=\"{{ phrase(\'you_may_use_html\') }}\"\n					explain=\"{{ phrase(\'the_message_to_be_shown_when_the_display_criteria_are_met\') }}\" />\n\n				<hr class=\"formRowSep\" />\n\n				<xf:radiorow name=\"display_image\" value=\"{$notice}\"\n					label=\"{{ phrase(\'display_image\') }}\">\n\n					<xf:option value=\"\"\n						label=\"{{ phrase(\'no_image\') }}\" />\n					<xf:option value=\"avatar\"\n						label=\"{{ phrase(\'show_visitors_avatar\') }}\" />\n					<xf:option value=\"image\"\n						label=\"{{ phrase(\'specify_image:\') }}\">\n						<xf:assetupload name=\"image_url\" value=\"{$notice}\" asset=\"notice_images\" />\n					</xf:option>\n				</xf:radiorow>\n\n				<xf:radiorow name=\"display_style\" value=\"{$notice}\"\n					label=\"{{ phrase(\'display_styling\') }}\">\n\n					<xf:option value=\"primary\">{{ phrase(\'primary\') }}</xf:option>\n					<xf:option value=\"accent\">{{ phrase(\'accent\') }}</xf:option>\n					<xf:option value=\"dark\">{{ phrase(\'dark\') }}</xf:option>\n					<xf:option value=\"light\">{{ phrase(\'light\') }}</xf:option>\n					<xf:option value=\"custom\" label=\"{{ phrase(\'other_using_custom_css_class_name:\') }}\">\n						<xf:textbox name=\"css_class\" value=\"{$notice.css_class}\"\n							maxlength=\"{{ max_length($notice, \'css_class\') }}\"\n							dir=\"ltr\" />\n					</xf:option>\n				</xf:radiorow>\n\n				<xf:radiorow name=\"visibility\" value=\"{$notice}\"\n					label=\"{{ phrase(\'visibility\') }}\"\n					explain=\"{{\n						phrase(\'notice_visibility_explain\',\n						{\n							\'styleUrl\': link(\n								\'styles/style-properties/group\',\n								{\'style_id\': $xf.options.defaultStyleId},\n								{\'group\': \'page\'}\n							)\n						})\n					}}\">\n\n					<xf:option>{{ phrase(\'never_hide\') }}</xf:option>\n					<xf:option value=\"wide\">{{ phrase(\'hide_wide\', {\'width\': property(\'responsiveWide\')}) }}</xf:option>\n					<xf:option value=\"medium\">{{ phrase(\'hide_medium\', {\'width\': property(\'responsiveMedium\')}) }}</xf:option>\n					<xf:option value=\"narrow\">{{ phrase(\'hide_narrow\', {\'width\': property(\'responsiveNarrow\')}) }}</xf:option>\n				</xf:radiorow>\n\n				<hr class=\"formRowSep\" />\n\n				<xf:radiorow name=\"notice_type\" value=\"{$notice}\"\n					label=\"{{ phrase(\'notice_type\') }}\"\n					explain=\"{{ phrase(\'notice_display_type_desc\') }}\">\n\n					<xf:foreach loop=\"$noticeTypes\" key=\"$typeId\" value=\"$typeValue\">\n						<xf:if is=\"$typeId == \'floating\'\">\n							<xf:option value=\"{$typeId}\"\n								data-xf-init=\"disabler\"\n								data-container=\".js-hiderContainer\"\n								data-hide=\"yes\">{$typeValue}</xf:option>\n						<xf:else />\n							<xf:option value=\"{$typeId}\">{$typeValue}</xf:option>\n						</xf:if>\n					</xf:foreach>\n\n				</xf:radiorow>\n\n				<div class=\"js-hiderContainer\">\n\n					<xf:numberboxrow name=\"display_duration\" value=\"{$notice}\" step=\"100\"\n						label=\"{{ phrase(\'display_duration_milliseconds\') }}\"\n						explain=\"{{ phrase(\'notice_display_length_desc\') }}\" />\n\n					<xf:numberboxrow name=\"delay_duration\" value=\"{$notice}\" step=\"100\"\n						label=\"{{ phrase(\'delay_duration_milliseconds\') }}\"\n						explain=\"{{ phrase(\'notice_fade_delay_desc\') }}\" />\n				</div>\n\n				<hr class=\"formRowSep\" />\n\n				<xf:checkboxrow label=\"{{ phrase(\'options\') }}\">\n					<xf:option name=\"dismissible\" selected=\"$notice.dismissible\"\n						label=\"{{ phrase(\'notice_may_be_dismissed\') }}\"\n						hint=\"{{ phrase(\'users_may_hide_this_notice_when_they_have_read_it\') }}\">\n\n						<xf:dependent>\n							<xf:checkbox>\n								<xf:option value=\"1\" label=\"{{ phrase(\'automatically_dismiss_notice\') }}\"\n									name=\"auto_dismiss\" selected=\"$notice.auto_dismiss\">\n									<xf:hint>{{ phrase(\'automatically_dismiss_notice_explain\') }}</xf:hint>\n								</xf:option>\n							</xf:checkbox>\n						</xf:dependent>\n\n					</xf:option>\n					<xf:option name=\"active\" selected=\"$notice.active\"\n						label=\"{{ phrase(\'notice_is_active\') }}\"\n						hint=\"{{ phrase(\'use_this_to_temporarily_disable_this_notice\') }}\" />\n				</xf:checkboxrow>\n\n				<xf:macro id=\"display_order_macros::row\" arg-value=\"{$notice}\" />\n			</li>\n\n			<xf:macro id=\"helper_criteria::user_panes\"\n				arg-criteria=\"{{ $userCriteria.getCriteriaForTemplate() }}\"\n				arg-data=\"{{ $userCriteria.getExtraTemplateData() }}\" />\n\n			<xf:macro id=\"helper_criteria::page_panes\"\n				arg-criteria=\"{{ $pageCriteria.getCriteriaForTemplate() }}\"\n				arg-data=\"{{ $pageCriteria.getExtraTemplateData() }}\" />\n\n		</ul>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 82860 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
(260, 0x61646d696e, 0x6e6f746963655f6c697374, 0, '<xf:title>{{ phrase(\'notices\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'notices/add\') }}\" icon=\"add\">{{ phrase(\'add_notice\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$notices is not empty\">\n	<xf:if is=\"$invalidNotices\">\n		<div class=\"blockMessage blockMessage--important\">\n			{{ phrase(\'following_notices_may_contain_page_criteria_which_is_no_longer_matched:\') }}\n			<ul class=\"listInline listInline--comma\">\n				<xf:foreach loop=\"$invalidNotices\" value=\"$invalidNotice\">\n					<li><a href=\"{{ link(\'notices/edit\', $invalidNotice) }}\">{$invalidNotice.title}</a></li>\n				</xf:foreach>\n			</ul>\n		</div>\n	</xf:if>\n\n	<xf:form action=\"{{ link(\'notices/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"notices\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$noticeTypes\" key=\"$typeId\" value=\"$phrase\" if=\"{$notices.{$typeId}} is not empty\">\n						<tbody class=\"dataList-rowGroup\">\n							<xf:datarow rowtype=\"subsection\" rowclass=\"dataList-row--noHover\">\n								<xf:cell colspan=\"3\">{$phrase}</xf:cell>\n							</xf:datarow>\n							<xf:foreach loop=\"{$notices.{$typeId}}\" value=\"$notice\">\n								<xf:datarow\n									label=\"{$notice.title}\"\n									href=\"{{ link(\'notices/edit\', $notice) }}\"\n									delete=\"{{ link(\'notices/delete\', $notice) }}\">\n									<xf:toggle name=\"active[{$notice.notice_id}]\" selected=\"$notice.active\"\n										class=\"dataList-cell--separated\" submit=\"true\"\n										tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $notice.title}) }}\" />\n								</xf:datarow>\n							</xf:foreach>\n						</tbody>\n					</xf:foreach>\n				</xf:datalist>\n				<div class=\"block-footer\">\n					<span class=\"block-footer-counter\">{{ display_totals($totalNotices) }}</span>\n				</div>\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, 30156 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(261, 0x61646d696e, 0x6e6f746963655f7265736574, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'notices/reset\', $notice) }}\" 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_reset_following_notice:\') }}\n				<strong><a href=\"{{ link(\'notices/edit\', $notice) }}\">{$notice.title}</a></strong>\n				{{ phrase(\'resetting_notice_display_to_all_users_matching_not_restore_guests\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" submit=\"{{ phrase(\'reset\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 8942 characters], 0x5846, 2000038, '2.0.0 Beta 8', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(262, 0x61646d696e, 0x6f617574685f636c69656e745f65646974, 0, '<xf:if is=\"$client.isInsert()\">\n	<xf:title>{{ phrase(\'add_oauth2_client\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_oauth2_client\') }} {$client.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$client.isUpdate()\">\n	<xf:button href=\"{{ link(\'oauth2/clients/delete\', $client) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'oauth2/clients/save\', $client) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"title\" value=\"{$client}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:textarearow name=\"description\" value=\"{$client}\"\n				autosize=\"true\"\n				label=\"{{ phrase(\'description\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:if is=\"$client.isUpdate()\">\n				<xf:formrow label=\"{{ phrase(\'client_id\') }}\">\n					<code class=\"js-clientIdCopyTarget\">{$client.client_id}</code>\n					<xf:button icon=\"copy\"\n						data-xf-init=\"copy-to-clipboard\"\n						data-copy-target=\".js-clientIdCopyTarget\"\n						data-success=\"{{ phrase(\'client_id_copied_to_clipboard\') }}\"\n						class=\"button--link is-hidden\" />\n				</xf:formrow>\n				<xf:formrow label=\"{{ phrase(\'client_secret\') }}\" rowtype=\"button\">\n					<code>{$client.client_secret_snippet}</code>\n					<xf:button href=\"{{ link(\'oauth2/clients/view-secret\', $client) }}\"\n						data-xf-click=\"overlay\"\n						class=\"button--link\">{{ phrase(\'view_secret\') }}\n					</xf:button>\n\n					<xf:button href=\"{{ link(\'oauth2/clients/regenerate\', $client) }}\"\n						data-xf-click=\"overlay\"\n						class=\"button--link\">{{ phrase(\'regenerate_secret\') }}\n					</xf:button>\n				</xf:formrow>\n			</xf:if>\n\n			<xf:radiorow name=\"client_type\" value=\"{$client}\"\n				label=\"{{ phrase(\'client_type\') }}\">\n				<xf:option value=\"confidential\">{{ phrase(\'confidential\') }}</xf:option>\n				<xf:option value=\"public\">{{ phrase(\'public\') }}</xf:option>\n			</xf:radiorow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow label=\"{{ phrase(\'authorization_endpoint\') }}\">{{ link_type(\'public\', \'canonical:oauth2/authorize\') }}</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'token_endpoint\') }}\">{{ link_type(\'api\', \'canonical:oauth2/token\') }}</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'token_revocation_endpoint\') }}\">{{ link_type(\'api\', \'canonical:oauth2/revoke\') }}</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow name=\"redirect_uris\" value=\"{$client}\"\n				label=\"{{ phrase(\'redirect_uris\') }}\"\n				explain=\"{{ phrase(\'list_of_uris_that_may_be_used_for_redirecting_users_back_to_your_application\') }}\">\n				<ul class=\"listPlain inputGroup-container\">\n					<xf:foreach loop=\"{$client.redirect_uris}\" key=\"$counter\" value=\"$uri\">\n						<li class=\"inputGroup\">\n							<xf:textbox name=\"redirect_uris[{$counter}]\" value=\"{$uri}\" />\n						</li>\n					</xf:foreach>\n					<li class=\"inputGroup\" data-xf-init=\"field-adder\" dir=\"ltr\" >\n						<xf:textbox name=\"redirect_uris[]\" />\n					</li>\n				</ul>\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"homepage_url\" value=\"{$client}\"\n				label=\"{{ phrase(\'homepage_url\') }}\"\n				explain=\"{{ phrase(\'optional_url_to_homepage_or_information_page_for_this_application\') }}\" />\n\n			<xf:assetuploadrow name=\"image_url\" value=\"{$client}\" asset=\"applications\"\n				label=\"{{ phrase(\'image_url\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow name=\"allowed_scopes\" value=\"{$client.allowed_scopes}\"\n				label=\"{{ phrase(\'allowed_scopes\') }}\"\n				explain=\"{{ phrase(\'scopes_allow_oauth2_client_to_only_access_certain_parts_of_api\') }}\">\n\n				<xf:foreach loop=\"$scopes\" value=\"$scope\">\n					<xf:option value=\"{$scope.api_scope_id}\" label=\"{$scope.api_scope_id}\" hint=\"{$scope.description}\" />\n				</xf:foreach>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" value=\"1\" selected=\"$client.active\">{{ phrase(\'client_is_active\') }}</xf:option>\n			</xf:checkboxrow>\n		</div>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 57382 characters], 0x5846, 2030037, '2.3.0 Beta 7', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(263, 0x61646d696e, 0x6f617574685f636c69656e745f6c697374, 0, '<xf:title>{{ phrase(\'oauth2_clients\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'oauth2/clients/add\') }}\" icon=\"add\">{{ phrase(\'add_oauth2_client\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$clients is not empty\">\n	<xf:form action=\"{{ link(\'oauth2/clients/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro template=\"filter_macros\" name=\"quick_filter\" arg-key=\"oauth2-clients\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$clients\" value=\"$client\">\n						<xf:datarow\n							label=\"{$client.title}\"\n							href=\"{{ link(\'oauth2/clients/edit\', $client) }}\"\n							delete=\"{{ link(\'oauth2/clients/delete\', $client) }}\">\n							<xf:explain>\n								<ul class=\"listInline listInline--bullet\">\n									<li>\n										{{ phrase(\'created\') }}:\n										<xf:date time=\"{$client.creation_date}\"/>\n									</li>\n								</ul>\n							</xf:explain>\n\n							<xf:toggle name=\"active[{$client.client_id}]\" selected=\"$client.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $client.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($clients) }}</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, 22016 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(264, 0x61646d696e, 0x6f617574685f636c69656e745f726567656e6572617465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'oauth2/clients/regenerate\', $client) }}\" 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_regenerate_following_clients_secret\') }}:\n				<strong><a href=\"{{ link(\'oauth2/clients/edit\', $client) }}\">{$client.title}</a></strong>\n				<span>{{ phrase(\'any_applications_using_old_client_secret_value_will_not_function\') }}</span>\n			</xf:inforow>\n		</div>\n\n		<xf:submitrow rowtype=\"simple\" submit=\"{{ phrase(\'regenerate_client_secret\') }}\"/>\n	</div>\n\n</xf:form>', 0x[encoded data, 9088 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(265, 0x61646d696e, 0x6f617574685f636c69656e745f76696577, 0, '<xf:title>{{ phrase(\'oauth2_client_details\') }} {$client.title}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'client_secret\') }}\" rowtype=\"button\">\n				<code class=\"js-clientSecretCopyTarget\">{$client.client_secret}</code>\n				<xf:button icon=\"copy\"\n					data-xf-init=\"copy-to-clipboard\"\n					data-copy-target=\".js-clientSecretCopyTarget\"\n					data-success=\"{{ phrase(\'client_secret_copied_to_clipboard\') }}\"\n					class=\"button--link is-hidden\" />\n			</xf:formrow>\n		</div>\n	</div>\n</div>', 0x[encoded data, 6598 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
(266, 0x61646d696e, 0x6f7074696f6e5f65646974, 0, '<xf:if is=\"$option.isInsert()\">\n	<xf:title>{{ phrase(\'add_option\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_option:\') }} {$option.title}</xf:title>\n</xf:if>\n\n<xf:if is=\"$group\">\n	<xf:breadcrumb href=\"{{ link(\'options/groups\', $group) }}\">{$group.title}</xf:breadcrumb>\n</xf:if>\n\n<xf:pageaction if=\"$option.isUpdate()\">\n	<xf:button href=\"{{ link(\'options/delete\', $option, {\'_xfRedirect\': $redirect}) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'options/save\', $option) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n\n			<xf:textboxrow name=\"option_id\" value=\"{$option}\"\n				label=\"{{ phrase(\'option_id\') }}\"\n				hint=\"{{ phrase(\'a_z_0_9_and_underscore_only\') }}\"\n				dir=\"ltr\" />\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$option.addon_id}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$option}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:textarearow name=\"explain\" value=\"{$option}\" autosize=\"true\"\n				label=\"{{ phrase(\'explanation\') }}\"\n				hint=\"{{ phrase(\'you_may_use_html\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"edit_format\" value=\"{$option}\"\n				label=\"{{ phrase(\'edit_format\') }}\">\n\n				<xf:option value=\"textbox\">{{ phrase(\'text_box\') }}</xf:option>\n				<xf:option value=\"spinbox\">{{ phrase(\'number_box\') }}</xf:option>\n				<xf:option value=\"onoff\">{{ phrase(\'on_off_check_box\') }}</xf:option>\n				<xf:option value=\"onofftextbox\">{{ phrase(\'on_off_check_box_with_text_box\') }}</xf:option>\n				<xf:option value=\"radio\">{{ phrase(\'radio_buttons\') }}</xf:option>\n				<xf:option value=\"select\">{{ phrase(\'select_menu\') }}</xf:option>\n				<xf:option value=\"checkbox\">{{ phrase(\'check_boxes\') }}</xf:option>\n				<xf:option value=\"template\">{{ phrase(\'named_template\') }}</xf:option>\n				<xf:option value=\"callback\">{{ phrase(\'php_callback\') }}</xf:option>\n				<xf:option value=\"username\">{{ phrase(\'user_name_input\') }}</xf:option>\n			</xf:selectrow>\n\n			<xf:textarearow name=\"edit_format_params\" value=\"{$option}\" autosize=\"true\"\n				label=\"{{ phrase(\'format_parameters\') }}\"\n				code=\"true\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"data_type\" value=\"{{ $option.data_type ?: \'string\' }}\"\n				label=\"{{ phrase(\'data_type\') }}\">\n\n				<xf:option value=\"boolean\">{{ phrase(\'boolean\') }}</xf:option>\n				<xf:option value=\"string\">{{ phrase(\'string\') }}</xf:option>\n				<xf:option value=\"integer\">{{ phrase(\'integer\') }}</xf:option>\n				<xf:option value=\"unsigned_integer\">{{ phrase(\'unsigned_integer\') }}</xf:option>\n				<xf:option value=\"positive_integer\">{{ phrase(\'positive_integer\') }}</xf:option>\n				<xf:option value=\"numeric\">{{ phrase(\'numeric\') }}</xf:option>\n				<xf:option value=\"unsigned_numeric\">{{ phrase(\'unsigned_numeric\') }}</xf:option>\n				<xf:option value=\"array\">{{ phrase(\'array\') }}</xf:option>\n			</xf:selectrow>\n\n			<xf:textarearow name=\"default_value\" value=\"{{ $option.data_type == \'array\' ? $option.default_value|json : $option.default_value }}\"\n				autosize=\"true\"\n				label=\"{{ phrase(\'default_value\') }}\"\n				code=\"true\" />\n\n			<xf:textarearow name=\"sub_options\" autosize=\"true\"\n				value=\"{$option.sub_options|join(\'\n\')}\"\n				label=\"{{ phrase(\'array_sub_options\') }}\"\n				dir=\"ltr\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'validation_callback\') }}\">\n				<xf:macro id=\"helper_callback_fields::callback_fields\"\n					arg-namePrefix=\"validation\"\n					arg-data=\"{$option}\" />\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow listclass=\"listColumns\"\n				label=\"{{ phrase(\'display_in_groups\') }}\">\n\n				<xf:foreach loop=\"$groups\" value=\"$group\">\n					<xf:option name=\"relations[{$group.group_id}][selected]\" selected=\"{$relations.{$group.group_id}} !== null\"\n						label=\"{$group.title}\" data-hide=\"true\">\n\n						<xf:macro id=\"display_order_macros::input\"\n							arg-name=\"relations[{$group.group_id}][display_order]\"\n							arg-value=\"{$relations.{$group.group_id}|default(1)}\" />\n					</xf:option>\n				</xf:foreach>\n\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"advanced\" selected=\"{$option.advanced}\"\n					label=\"{{ phrase(\'show_in_advanced_mode_only\') }}\"\n					hint=\"{{ phrase(\'option_advanced_mode_hint\') }}\" />\n			</xf:checkboxrow>\n		</div>\n		<xf:submitrow icon=\"save\" sticky=\"true\" />\n	</div>\n	<xf:redirect url=\"{$redirect}\" />\n</xf:form>', 0x[encoded data, 76632 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
(267, 0x61646d696e, 0x6f7074696f6e5f656d61696c5f646b696d5f636f6e6669726d, 0, '<xf:title>{{ phrase(\'finish_setting_up_dkim_email_authentication\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'options/email-dkim-verify\', $option) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow>{{ phrase(\'to_finish_setting_up_dkim_email_authentication_you_will_need_to_add_new\') }}</xf:inforow>\n\n			<xf:formrow label=\"{{ phrase(\'type\') }}\">TXT</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'name\') }}\" rowtype=\"button\">\n				<div class=\"inputGroup\">\n					<xf:textbox value=\"{$dnsKey}\" disabled=\"disabled\" class=\"js-copyDnsKeyTarget\" />\n					<span class=\"inputGroup-splitter\"></span>\n					<xf:button icon=\"copy\"\n						data-xf-init=\"copy-to-clipboard\"\n						data-copy-target=\".js-copyDnsKeyTarget\"\n						class=\"button--link is-hidden\" />\n				</div>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'value\') }}\" rowtype=\"button\">\n				<div class=\"inputGroup\">\n					<xf:textbox value=\"{$dnsValue}\" disabled=\"disabled\" class=\"js-copyDnsValueTarget\" />\n					<span class=\"inputGroup-splitter\"></span>\n					<xf:button icon=\"copy\"\n						data-xf-init=\"copy-to-clipboard\"\n						data-copy-target=\".js-copyDnsValueTarget\"\n						class=\"button--link is-hidden\" />\n				</div>\n			</xf:formrow>\n		</div>\n		\n		<xf:submitrow submit=\"{{ phrase(\'confirm\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 15978 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(268, 0x61646d696e, 0x6f7074696f6e5f656d61696c5f646b696d5f7365747570, 0, '<xf:title>{{ phrase(\'setup_dkim_email_authentication\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'options/email-dkim-setup\', $option) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n\n			<xf:textboxrow name=\"domain\" value=\"{{ $option.option_value.domain ?: $domain }}\"\n				label=\"{{ phrase(\'domain\') }}\"\n				explain=\"{{ phrase(\'in_most_cases_this_will_be_your_board_url_or_root_domain_minus_any\') }}\"\n				required=\"required\" />\n\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'proceed...\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 8076 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(269, 0x61646d696e, 0x6f7074696f6e5f656d61696c5f68616e646c65725f676f6f676c65, 0, '<xf:title>{$option.title}</xf:title>\n\n<xf:form action=\"{{ link(\'options/email-handler-oauth\', $option) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow>\n				{{ phrase(\'email_transport_google_setup_explain:\') }}\n				<div><code>{$redirectUri}</code></div>\n			</xf:inforow>\n\n			<xf:textboxrow name=\"client_id\" value=\"{$option.option_value.oauth.client_id}\"\n				label=\"{{ phrase(\'client_id\') }}\"\n				explain=\"{{ phrase(\'google_client_id_explain\') }}\"\n				required=\"required\" />\n\n			<xf:textboxrow name=\"client_secret\"\n				label=\"{{ phrase(\'client_secret\') }}\"\n				explain=\"{{ phrase(\'secret_that_corresponds_to_your_google_client_id_above\') }}\"\n				required=\"required\" />\n\n			<xf:radiorow label=\"{{ phrase(\'connection_type\') }}\" name=\"type\" value=\"{{ $option.option_value.type ?: \'pop3\' }}\">\n				<xf:option value=\"pop3\">POP3</xf:option>\n				<xf:option value=\"imap\">IMAP</xf:option>\n			</xf:radiorow>\n\n			<xf:inforow>\n				{{ phrase(\'continuing_will_redirect_you_to_google_to_confirm_account_you_want_to\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow sticky=\"true\" submit=\"{{ phrase(\'continue\') }}\" />\n	</div>\n	<xf:hiddenval name=\"oauth_provider\">google</xf:hiddenval>\n</xf:form>', 0x[encoded data, 19346 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
(270, 0x61646d696e, 0x6f7074696f6e5f656d61696c5f68616e646c65725f6d6963726f736f6674, 0, '<xf:title>{$option.title}</xf:title>\n\n<xf:form action=\"{{ link(\'options/email-handler-oauth\', $option) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow>\n				{{ phrase(\'you_will_need_to_navigate_to_microsoft_azure_portal_and_register:\') }}\n				<div><code>{$redirectUri}</code></div>\n			</xf:inforow>\n\n			<xf:textboxrow name=\"client_id\" value=\"{$option.option_value.oauth.client_id}\"\n				label=\"{{ phrase(\'client_id\') }}\"\n				explain=\"{{ phrase(\'you_can_get_client_id_via_microsoft_azure_portal\') }}\"\n				required=\"required\" />\n\n			<xf:textboxrow name=\"client_secret\"\n				label=\"{{ phrase(\'client_secret\') }}\"\n				explain=\"{{ phrase(\'secret_that_corresponds_to_your_azure_client_id_above\') }}\"\n				required=\"required\" />\n\n			<xf:radiorow label=\"{{ phrase(\'connection_type\') }}\" name=\"type\" value=\"{{ $option.option_value.type ?: \'pop3\' }}\">\n				<xf:option value=\"pop3\">POP3</xf:option>\n				<xf:option value=\"imap\">IMAP</xf:option>\n			</xf:radiorow>\n\n			<xf:inforow>\n				{{ phrase(\'continuing_will_redirect_you_to_microsoft_to_confirm_account_you_want\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow sticky=\"true\" submit=\"{{ phrase(\'continue\') }}\" />\n	</div>\n	<xf:hiddenval name=\"oauth_provider\">microsoft</xf:hiddenval>\n</xf:form>', 0x[encoded data, 19454 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
