INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(244, 0x61646d696e, 0x6d6f64657261746f725f6c697374, 0, '<xf:title>{{ phrase(\'moderators\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'moderators/add\') }}\" icon=\"add\">{{ phrase(\'add_moderator\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if contentcheck=\"true\">\n	<xf:contentcheck>\n\n	<xf:if is=\"$superModerators is not empty\">\n		<div class=\"block\">\n			<div class=\"block-container\">\n				<h2 class=\"block-header\">{{ phrase(\'super_moderators\') }}</h2>\n				<div class=\"block-body\">\n					<xf:datalist>\n						<xf:foreach loop=\"$superModerators\" value=\"$superMod\">\n							<xf:datarow>\n								<xf:cell class=\"dataList-cell--min dataList-cell--image dataList-cell--imageSmall\"\n									href=\"{{ link(\'moderators/super/edit\', $superMod) }}\">\n									<xf:avatar user=\"$superMod.User\" size=\"s\" href=\"\" />\n								</xf:cell>\n								<xf:main href=\"{{ link(\'moderators/super/edit\', $superMod) }}\"\n									label=\"{$superMod.User.username}\" />\n								<xf:action href=\"{{ link(\'users/edit\', $superMod.User) }}\">{{ phrase(\'user_info\') }}</xf:action>\n								<xf:delete href=\"{{ link(\'moderators/super/delete\', $superMod) }}\" overlay=\"true\" />\n							</xf:datarow>\n						</xf:foreach>\n					</xf:datalist>\n				</div>\n			</div>\n		</div>\n	</xf:if>\n\n	<xf:if is=\"$contentModerators is not empty\">\n		<div class=\"block\">\n			<div class=\"block-outer\">\n				<div class=\"block-outer-main\">\n					<a class=\"button button--link menuTrigger\"\n						data-xf-click=\"menu\"\n						role=\"button\"\n						tabindex=\"0\"\n						aria-expanded=\"false\"\n						aria-haspopup=\"true\">{{ phrase(\'filter:\') }} {{ $userIdFilter ? {$users.{$userIdFilter}.username} : phrase(\'(all)\') }}</a>\n\n					<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n						<div class=\"menu-content\">\n							<h3 class=\"menu-header\">{{ phrase(\'content_moderators\') }}</h3>\n							<a href=\"{{ link(\'moderators\') }}\" class=\"menu-linkRow {{ !$userIdFilter ? \'is-selected\' : \'\' }}\">{{ phrase(\'(all)\') }}</a>\n							<xf:foreach loop=\"$users\" value=\"$user\">\n								<a href=\"{{ link(\'moderators\', null, {\'user_id\': $user.user_id}) }}\"\n									class=\"menu-linkRow {{ ($userIdFilter && $userIdFilter == $user.user_id) ? \'is-selected\' : \'\' }}\">\n									<span>{$user.username}</span>\n								</a>\n							</xf:foreach>\n						</div>\n					</div>\n				</div>\n			</div>\n			<div class=\"block-container\">\n				<h2 class=\"block-header\">{{ phrase(\'content_moderators\') }}</h2>\n				<div class=\"block-body\">\n					<xf:datalist>\n						<xf:foreach loop=\"$users\" key=\"$userId\" value=\"$user\">\n							<xf:if is=\"{$contentModerators.{$userId}}\">\n								<xf:datarow rowtype=\"subsection\" rowclass=\"dataList-row--noHover\">\n									<xf:cell colspan=\"2\">{$user.username}</xf:cell>\n								</xf:datarow>\n								<tbody class=\"js-moderatorInsert-{$userId}\">\n									<xf:foreach loop=\"{$contentModerators.{$userId}}\" value=\"$contentMod\">\n										<xf:datarow>\n											<xf:main href=\"{{ link(\'moderators/content/edit\', $contentMod) }}\"\n												label=\"{$contentMod.getContentTitle()}\" />\n											<xf:delete href=\"{{ link(\'moderators/content/delete\', $contentMod) }}\" overlay=\"true\" />\n										</xf:datarow>\n									</xf:foreach>\n									<xf:if is=\"$displayLimit AND {$contentModeratorTotals.{$userId}} > $displayLimit\">\n										<xf:datarow>\n											<xf:cell colspan=\"2\" class=\"dataList-cell--link\">\n												<a href=\"{{ link(\'moderators\', null, {\'user_id\': $userId}) }}\" data-xf-click=\"inserter\" data-replace=\".js-moderatorInsert-{$userId}\" data-animate-replace=\"false\">{{ phrase(\'ellipsis_and_x_more\', {\'count\': ({$contentModeratorTotals.{$userId}} - $displayLimit)|number}) }}</a>\n											</xf:cell>\n										</xf:datarow>\n									</xf:if>\n								</tbody>\n							</xf:if>\n						</xf:foreach>\n					</xf:datalist>\n				</div>\n			</div>\n		</div>\n	</xf:if>\n\n	</xf:contentcheck>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'there_currently_no_moderators_use_link_create\') }}</div>\n</xf:if>', 0x[encoded data, 59486 characters], 0x5846, 2011070, '2.1.10', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(245, 0x61646d696e, 0x6d6f64657261746f725f73757065725f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{$confirmUrl}\" 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_remove_following_user_as_super_moderator:\') }}\n				<strong><a href=\"{$editUrl}\">{$contentTitle}</a></strong>\n				{{ phrase(\'if_user_is_content_moderator_as_well_moderation_privileges_removed\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 7054 characters], 0x5846, 2010036, '2.1.0 Beta 6', 1748686057),
(246, 0x61646d696e, 0x6e617669676174696f6e5f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'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(\'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, 11784 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
(247, 0x61646d696e, 0x6e617669676174696f6e5f65646974, 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>\n	<xf:if is=\"$navigation.canDelete()\">\n		<xf:button href=\"{{ link(\'navigation/delete\', $navigation) }}\" icon=\"delete\" overlay=\"true\" />\n	</xf:if>\n	<xf:if is=\"$navigation.is_customized\">\n		<xf:button href=\"{{ link(\'navigation/revert\', $navigation) }}\" overlay=\"true\">{{ phrase(\'revert\') }}</xf:button>\n	</xf:if>\n</xf:pageaction>\n\n<xf:if is=\"$navigation.is_customized\">\n	<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n		{{ phrase(\'this_navigation_customized_your_changes_maintained\') }}\n	</div>\n</xf:if>\n\n<xf:if is=\"$xf.development AND $navigation.addon_id\">\n	<div class=\"blockMessage blockMessage--warning\">\n		{{ phrase(\'user_customizations_to_navigation_maintained_addon_upgrade\') }}\n	</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'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}\" readonly=\"{{ !$navigation.canEdit() }}\"\n				label=\"{{ phrase(\'navigation_id\') }}\"\n				dir=\"ltr\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$navigation}\"\n				readonly=\"{{ !$navigation.canEdit() }}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:selectrow name=\"parent_navigation_id\" value=\"{$navigation}\"\n				label=\"{{ phrase(\'parent_navigation_entry\') }}\">\n\n				<xf:option value=\"\">&nbsp;</xf:option>\n				<xf:foreach loop=\"$navigationTree.getFlattened()\" value=\"$treeEntry\">\n					<xf:option value=\"{$treeEntry.record.navigation_id}\">{{ repeat(\'--\', $treeEntry.depth) }}\n						{$treeEntry.record.title}\n					</xf:option>\n				</xf:foreach>\n			</xf:selectrow>\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$navigation}\" />\n\n			<xf:radiorow name=\"navigation_type_id\" value=\"{$selectedType}\"\n				label=\"{{ phrase(\'type\') }}\">\n\n				<xf:foreach loop=\"$typeHandlers\" key=\"$type\" value=\"$handler\">\n					<xf:option value=\"{$type}\" data-xf-init=\"disabler\" data-container=\".js-navTypeForm--{$type}\" data-hide=\"true\">{{ $handler.getTitle() }}</xf:option>\n				</xf:foreach>\n			</xf:radiorow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:foreach loop=\"$typeHandlers\" key=\"$type\" value=\"$handler\">\n				<div class=\"js-navTypeForm js-navTypeForm--{$type}\">\n					{{ $handler.renderEditForm($navigation, $navigation.navigation_type_id == $type ? $navigation.type_config : [], \'config[\' . $type . \']\')|raw }}\n				</div>\n			</xf:foreach>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"enabled\" selected=\"{$navigation.enabled}\">{{ phrase(\'enabled\') }}</xf:option>\n			</xf:checkboxrow>\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, 49830 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
(248, 0x61646d696e, 0x6e617669676174696f6e5f656469745f6d6163726f73, 0, '<xf:macro id=\"extra_attrs\" arg-config=\"!\" arg-formPrefix=\"!\">\n\n	<xf:formrow rowtype=\"input\"\n		label=\"{{ phrase(\'extra_attributes\') }}\">\n\n		<ul class=\"listPlain inputGroup-container\">\n			<xf:foreach loop=\"{$config.extra_attributes}\" key=\"$name\" value=\"$value\">\n				<li class=\"inputGroup\"dir=\"ltr\" >\n					<xf:textbox name=\"{$formPrefix}[extra_attr_names][]\" value=\"{$name}\" size=\"15\" code=\"true\"\n						placeholder=\"{{ phrase(\'name\') }}\" />\n					<span class=\"inputGroup-splitter\"></span>\n					<xf:textbox name=\"{$formPrefix}[extra_attr_values][]\" value=\"{$value}\" size=\"25\" code=\"true\"\n						placeholder=\"{{ phrase(\'value\') }}\" />\n				</li>\n			</xf:foreach>\n			<li class=\"inputGroup\" data-xf-init=\"field-adder\" dir=\"ltr\" >\n				<xf:textbox name=\"{$formPrefix}[extra_attr_names][]\" size=\"15\" code=\"true\"\n					placeholder=\"{{ phrase(\'name\') }}\" />\n				<span class=\"inputGroup-splitter\"></span>\n				<xf:textbox name=\"{$formPrefix}[extra_attr_values][]\" size=\"25\" code=\"true\"\n					placeholder=\"{{ phrase(\'value\') }}\" />\n			</li>\n		</ul>\n	</xf:formrow>\n</xf:macro>', 0x[encoded data, 14442 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(249, 0x61646d696e, 0x6e617669676174696f6e5f656469745f747970655f6261736963, 0, '<xf:textboxrow name=\"{$formPrefix}[link]\" value=\"{$config.link}\" code=\"true\"\n	label=\"{{ phrase(\'link\') }}\" />\n\n<xf:textboxrow name=\"{$formPrefix}[display_condition]\" value=\"{$config.display_condition}\" code=\"true\"\n	label=\"{{ phrase(\'display_condition\') }}\"\n	explain=\"{{ phrase(\'this_should_be_entered_as_template_style_expression\') }}\" />\n\n<xf:macro id=\"navigation_edit_macros::extra_attrs\"\n	arg-config=\"{$config}\" arg-formPrefix=\"{$formPrefix}\" />', 0x[encoded data, 7080 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(250, 0x61646d696e, 0x6e617669676174696f6e5f656469745f747970655f63616c6c6261636b, 0, '<xf:formrow rowtype=\"input\"\n	label=\"{{ phrase(\'callback\') }}\">\n\n	<xf:macro id=\"helper_callback_fields::callback_fields\"\n		arg-className=\"{$formPrefix}[callback_class]\"\n		arg-methodName=\"{$formPrefix}[callback_method]\"\n		arg-classValue=\"{$config.callback.0}\"\n		arg-methodValue=\"{$config.callback.1}\" />\n</xf:formrow>\n\n<xf:textboxrow name=\"{$formPrefix}[context]\" value=\"{$config.context}\"\n	label=\"{{ phrase(\'context_value\') }}\"\n	explain=\"{{ phrase(\'context_value_explain\') }}\" />', 0x[encoded data, 8112 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(251, 0x61646d696e, 0x6e617669676174696f6e5f656469745f747970655f6e6f6465, 0, '<xf:selectrow name=\"{$formPrefix}[node_id]\" value=\"{$config.node_id}\"\n	label=\"{{ phrase(\'node\') }}\">\n\n	<xf:option value=\"0\">&nbsp;</xf:option>\n	<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n		<xf:option value=\"{$treeEntry.record.node_id}\">{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>\n	</xf:foreach>\n</xf:selectrow>\n\n<xf:checkboxrow>\n	<xf:option name=\"{$formPrefix}[node_title]\" selected=\"{$config.node_title}\">\n		{{ phrase(\'display_node_title_instead_of_navigation_entry_title\') }}\n	</xf:option>\n	<xf:option name=\"{$formPrefix}[with_children]\" selected=\"{$config.with_children}\">\n		{{ phrase(\'display_children_in_navigation\') }}\n	</xf:option>\n</xf:checkboxrow>\n\n<xf:macro id=\"navigation_edit_macros::extra_attrs\"\n	arg-config=\"{$config}\" arg-formPrefix=\"{$formPrefix}\" />', 0x[encoded data, 15440 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
(252, 0x61646d696e, 0x6e617669676174696f6e5f6c697374, 0, '<xf:title>{{ phrase(\'public_navigation\') }}</xf:title>\n\n<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link(\'navigation/add\') }}\" icon=\"add\">{{ phrase(\'add_navigation\') }}</xf:button>\n		<xf:button href=\"{{ link(\'navigation/sort\') }}\" icon=\"sort\" overlay=\"true\" />\n	</div>\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'navigation/toggle\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-outer\">\n		<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"navigation\" arg-class=\"block-outer-opposite\" />\n	</div>\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:datalist>\n				<xf:macro id=\"navigation_list\" arg-children=\"{$tree}\" />\n			</xf:datalist>\n		</div>\n		<div class=\"block-footer\">\n			<span class=\"block-footer-counter\">{{ display_totals($tree.getFlattened(0)) }}</span>\n		</div>\n	</div>\n</xf:form>\n\n<xf:macro id=\"navigation_list\" arg-children=\"!\" arg-depth=\"1\">\n	<xf:foreach loop=\"$children\" value=\"$child\">\n		<xf:macro id=\"navigation_list_entry\" arg-navigation=\"{$child.record}\" arg-children=\"{$child.children}\" arg-depth=\"{$depth}\" />\n	</xf:foreach>\n</xf:macro>\n\n<xf:macro id=\"navigation_list_entry\" arg-navigation=\"!\" arg-children=\"!\" arg-depth=\"1\" arg-defaultNavigationId=\"\">\n	<xf:if is=\"$depth == 1\">\n		<xf:datarow rowtype=\"subsection\">\n			<xf:if is=\"$navigation.navigation_id == $xf.app.defaultNavigationId\">\n				<xf:cell>{$navigation.title}</xf:cell>\n				<xf:cell />\n				<xf:cell />\n				<xf:cell />\n			<xf:else />\n				<xf:cell href=\"{{ link(\'navigation/edit\', $navigation) }}\" hash=\"{$navigation.navigation_id}\">{$navigation.title}</xf:cell>\n				<xf:cell class=\"dataList-cell--min dataList-cell--hint\">{$navigation.display_order}</xf:cell>\n				<xf:toggle name=\"enabled[{$navigation.navigation_id}]\" selected=\"$navigation.enabled\"\n					submit=\"true\"\n					tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $navigation.title}) }}\" />\n				<xf:delete href=\"{{ $navigation.canDelete() ? link(\'navigation/delete\', $navigation) : \'\' }}\" />\n			</xf:if>\n		</xf:datarow>\n	<xf:else />\n		<xf:datarow>\n			<xf:cell href=\"{{ link(\'navigation/edit\', $navigation) }}\"\n				hash=\"{$navigation.navigation_id}\"\n				class=\"dataList-cell--d{{ $depth - 1 }}\">\n				{$navigation.title}\n			</xf:cell>\n			<xf:cell class=\"dataList-cell--min dataList-cell--hint\">{$navigation.display_order}</xf:cell>\n			<xf:toggle name=\"enabled[{$navigation.navigation_id}]\" selected=\"$navigation.enabled\"\n				class=\"dataList-cell--separated\" submit=\"true\"\n				tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $navigation.title}) }}\" />\n			<xf:delete href=\"{{ $navigation.canDelete() ? link(\'navigation/delete\', $navigation) : \'\' }}\" />\n		</xf:datarow>\n	</xf:if>\n	<xf:if is=\"$depth == 1 AND $children is empty\">\n		<xf:datarow rowclass=\"dataList-row--note dataList-row--noHover\">\n			<xf:cell colspan=\"3\">{{ phrase(\'this_section_is_currently_empty\') }}</xf:cell>\n		</xf:datarow>\n	<xf:else />\n		<xf:macro id=\"navigation_list\" arg-children=\"{$children}\" arg-depth=\"{{ $depth + 1 }}\" />\n	</xf:if>\n</xf:macro>', 0x[encoded data, 53882 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
(253, 0x61646d696e, 0x6e617669676174696f6e5f726576657274, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'navigation/revert\', $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_revert_the_following:\') }}\n				<strong><a href=\"{{ link(\'navigation/edit\', $navigation) }}\">{$navigation.title}</a></strong>\n			</xf:inforow>\n		</div>\n\n		<xf:submitrow rowtype=\"simple\" submit=\"{{ phrase(\'revert\') }}\" />\n	</div>\n\n	<xf:redirect />\n\n</xf:form>', 0x[encoded data, 8702 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(254, 0x61646d696e, 0x6e617669676174696f6e5f736f7274, 0, '<xf:title>{{ phrase(\'sort_navigation\') }}</xf:title>\n\n<xf:macro id=\"public:nestable_macros::setup\" />\n\n<xf:form action=\"{{ link(\'navigation/sort\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<div class=\"nestable-container\" data-xf-init=\"nestable\" data-parent-id=\"\">\n				<xf:macro id=\"navigation_list\" arg-children=\"{$navTree}\" />\n				<xf:hiddenval name=\"navigation\" value=\"\" />\n			</div>\n		</div>\n		<xf:submitrow icon=\"save\" rowtype=\"simple\" />\n	</div>\n</xf:form>\n\n<xf:macro id=\"navigation_list\" arg-children=\"!\">\n	<ol class=\"nestable-list\">\n		<xf:foreach loop=\"$children\" key=\"$id\" value=\"$child\">\n			<xf:macro id=\"navigation_list_entry\" arg-nav=\"{$child.record}\" arg-children=\"{$child.children}\" />\n		</xf:foreach>\n	</ol>\n</xf:macro>\n\n<xf:macro id=\"navigation_list_entry\" arg-nav=\"!\" arg-children=\"!\">\n	<li class=\"nestable-item\" data-id=\"{$nav.navigation_id}\">\n		<div class=\"nestable-handle\" aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"><xf:fa icon=\"fa-bars\" /></div>\n		<div class=\"nestable-content\">{$nav.title}</div>\n		<xf:if is=\"$children is not empty\">\n			<xf:macro id=\"navigation_list\" arg-children=\"{$children}\" />\n		</xf:if>\n	</li>\n</xf:macro>', 0x[encoded data, 18064 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
(255, 0x61646d696e, 0x6e6f64655f616464, 0, '<xf:title>{{ phrase(\'add_node\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'nodes/add\') }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:radiorow name=\"node_type_id\" value=\"{$defaultNodeTypeId}\"\n				label=\"{{ phrase(\'node_type\') }}\">\n\n				<xf:foreach loop=\"$nodeTypes\" value=\"$nodeType\">\n					<xf:if is=\"$nodeType.node_type_id == \'Forum\'\">\n						<xf:option value=\"{$nodeType.node_type_id}\"\n							label=\"{$nodeType.title}\"\n							data-hide=\"true\"\n							data-xf-init=\"disabler\"\n							data-container=\".js-forumTypes\" />\n					<xf:else />\n						<xf:option value=\"{$nodeType.node_type_id}\">{$nodeType.title}</xf:option>\n					</xf:if>\n				</xf:foreach>\n\n				<xf:explain>{{ phrase(\'this_cannot_be_changed_once_node_has_been_created\') }}</xf:explain>\n			</xf:radiorow>\n\n			<div class=\"js-forumTypes\">\n				<xf:radiorow name=\"forum_type_id\" value=\"{$defaultForumTypeId}\"\n					label=\"{{ phrase(\'forum_type\') }}\">\n					<xf:foreach loop=\"$forumTypesInfo\" key=\"$forumTypeId\" value=\"$forumTypeInfo\">\n						<xf:option value=\"{$forumTypeId}\"\n							label=\"{$forumTypeInfo.title}\"\n							hint=\"{$forumTypeInfo.description}\" />\n					</xf:foreach>\n				</xf:radiorow>\n			</div>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'proceed...\') }}\" />\n	</div>\n	<xf:hiddenval name=\"parent_node_id\">{$parentNodeId}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 20106 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(256, 0x61646d696e, 0x6e6f64655f656469745f6d6163726f73, 0, '<xf:macro id=\"title\" arg-node=\"!\">\n	<xf:textboxrow name=\"node[title]\" value=\"{$node.title}\" label=\"{{ phrase(\'title\') }}\" />\n</xf:macro>\n\n<xf:macro id=\"description\" arg-node=\"!\">\n	<xf:textarearow name=\"node[description]\" value=\"{$node.description}\" autosize=\"true\"\n		label=\"{{ phrase(\'description\') }}\"\n		hint=\"{{ phrase(\'you_may_use_html\') }}\"\n		explain=\"{{ phrase(\'node_description_explain\') }}\" />\n</xf:macro>\n\n<xf:macro id=\"node_name\" arg-node=\"!\" arg-optional=\"{{ true }}\" arg-additionalExplain=\"\">\n	<xf:textboxrow name=\"node[node_name]\" value=\"{$node.node_name}\"\n		label=\"{{ phrase(\'url_portion\') }}\"\n		hint=\"{{ $optional ? phrase(\'optional\') : \'\' }}\"\n		explain=\"{{ $optional ? phrase(\'if_entered_url_to_node_not_contain_id_change_breaks_urls\') : \'\' }}{{ $additionalExplain ? \' \' . $additionalExplain|raw : \'\' }}\"\n		dir=\"ltr\" />\n</xf:macro>\n\n<xf:macro id=\"position\" arg-node=\"!\" arg-nodeTree=\"!\">\n	<xf:selectrow name=\"node[parent_node_id]\" value=\"{$node.parent_node_id}\"\n		label=\"{{ phrase(\'parent_node\') }}\">\n\n		<xf:option value=\"0\">{{ phrase(\'(none)\') }}</xf:option>\n\n		<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n			<xf:option value=\"{$treeEntry.record.node_id}\">{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>\n		</xf:foreach>\n	</xf:selectrow>\n\n	<xf:macro id=\"display_order_macros::row\"\n		arg-name=\"node[display_order]\"\n		arg-value=\"{$node}\"\n		arg-explain=\"{{ phrase(\'position_of_this_item_relative_to_other_nodes_with_same_parent\') }}\" />\n\n	<xf:checkboxrow>\n		<xf:option name=\"node[display_in_list]\" selected=\"$node.display_in_list\"\n			label=\"{{ phrase(\'display_in_node_list\') }}\"\n			hint=\"{{ phrase(\'if_unselected_users_will_not_see_this_node_in_list\') }}\" />\n	</xf:checkboxrow>\n</xf:macro>\n\n<xf:macro id=\"style\" arg-node=\"!\" arg-styleTree=\"!\">\n	<xf:checkboxrow>\n		<xf:option name=\"style_override\" selected=\"$node.style_id\"\n			label=\"{{ phrase(\'override_user_style_choice\') }}\"\n			explain=\"{{ phrase(\'if_specified_all_visitors_view_using_selected_style\') }}\">\n\n			<xf:select name=\"node[style_id]\" value=\"{$node.style_id}\">\n				<xf:foreach loop=\"$styleTree.getFlattened(0)\" value=\"$treeEntry\">\n					<xf:option value=\"{$treeEntry.record.style_id}\">{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>\n				</xf:foreach>\n			</xf:select>\n\n		</xf:option>\n	</xf:checkboxrow>\n</xf:macro>\n\n<xf:macro id=\"navigation\" arg-node=\"!\" arg-navChoices=\"!\">\n	<xf:set var=\"$defaultValue\" value=\"{{ $node.Parent.effective_navigation_id ?: \'forums\' }}\" />\n	<xf:set var=\"$defaultNav\" value=\"{$navChoices.{$defaultValue}}\" />\n	<xf:selectrow name=\"node[navigation_id]\" value=\"{$node.navigation_id}\"\n		label=\"{{ phrase(\'navigation_section\') }}\"\n		explain=\"{{ phrase(\'navigation_section_explain\') }}\">\n\n		<xf:option value=\"\">{{ phrase(\'default\') . ($defaultNav ? \' (\' . $defaultNav.title . \')\' : \'\') }}</xf:option>\n\n		<xf:foreach loop=\"$navChoices\" value=\"$nav\">\n			<xf:if is=\"$nav.navigation_id != \'_default\'\">\n				<xf:option value=\"{$nav.navigation_id}\">{$nav.title}</xf:option>\n			</xf:if>\n		</xf:foreach>\n	</xf:selectrow>\n</xf:macro>', 0x[encoded data, 57002 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
(257, 0x61646d696e, 0x6e6f64655f6c697374, 0, '<xf:title>{{ phrase(\'nodes\') }}</xf:title>\n\n<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link(\'nodes/add\') }}\" icon=\"add\" overlay=\"true\">{{ phrase(\'add_node\') }}</xf:button>\n		<xf:button href=\"{{ link(\'nodes/sort\') }}\" icon=\"sort\" overlay=\"true\" />\n	</div>\n</xf:pageaction>\n\n<xf:if is=\"$nodeTree.countChildren()\">\n	<div class=\"block\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"nodes\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n						<xf:set var=\"$node\" value=\"{$treeEntry.record}\" />\n						<xf:datarow>\n							<xf:cell class=\"dataList-cell--min\">\n								<xf:macro id=\"node_icon\" arg-node=\"{$node}\" />\n							</xf:cell>\n							<xf:cell class=\"dataList-cell--link dataList-cell--main\" hash=\"{$node.node_id}\">\n								<a href=\"{{ link(\'nodes/edit\', $node) }}\">\n									<div class=\"u-depth{$treeEntry.depth}\">\n										<div class=\"dataList-mainRow\">\n											{$node.title}\n											<span class=\"dataList-hint\" dir=\"auto\">\n												{$node.NodeType.title}\n												<xf:if is=\"\n													$node.node_type_id == \'Forum\'\n													AND $node.Data.TypeHandler\n													AND $node.Data.forum_type_id != \'discussion\'\n												\">\n													({{ $node.Data.TypeHandler.getTypeTitle() }})\n												</xf:if>\n											</span>\n										</div>\n									</div>\n								</a>\n							</xf:cell>\n							<xf:action\n								class=\"{{ {$customPermissions.{$node.node_id}} ? \'dataList-cell--highlighted\' : \'\' }}\"\n								href=\"{{ link(\'nodes/permissions\', $node) }}\">\n								{{ phrase(\'permissions\') }}\n							</xf:action>\n							<xf:if is=\"{$moderators.{$node.node_id}}\">\n								<xf:popup class=\"dataList-cell--action u-hideMedium\"\n									label=\"{{ phrase(\'moderators_count_x\', {\'moderators\': count({$moderators.{$node.node_id}})}) }}\">\n\n									<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n										<div class=\"menu-content\">\n											<h3 class=\"menu-header\">{{ phrase(\'moderators\') }}</h3>\n											<xf:foreach loop=\"{$moderators.{$node.node_id}}\" value=\"$moderator\">\n												<a href=\"{{ link(\'moderators/content/edit\', $moderator) }}\" class=\"menu-linkRow\">{$moderator.User.username}</a>\n											</xf:foreach>\n											<hr class=\"menu-separator\" />\n											<a href=\"{{ link(\'moderators/add\', null, {\'type\': \'node\', \'type_id\': {\'node\': $node.node_id}}) }}\" class=\"menu-linkRow\">{{ phrase(\'add_moderator\') }}</a>\n										</div>\n									</div>\n								</xf:popup>\n							<xf:else />\n								<xf:action href=\"{{ link(\'moderators/add\', null, {\'type\': \'node\', \'type_id\': {\'node\': $node.node_id}}) }}\" class=\"u-hideMedium\">{{ phrase(\'add_moderator\') }}</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(\'nodes/add\', null, {\'parent_node_id\': $node.parent_node_id}) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'sibling\') }}</a>\n										<a href=\"{{ link(\'nodes/add\', null, {\'parent_node_id\': $node.node_id}) }}\" class=\"menu-linkRow\" data-xf-click=\"overlay\">{{ phrase(\'child\') }}</a>\n									</div>\n								</div>\n							</xf:popup>\n							<xf:delete href=\"{{ link(\'nodes/delete\', $node) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($nodeTree.getFlattened(0)) }}</span>\n			</div>\n		</div>\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_items_have_been_created_yet\') }}</div>\n</xf:if>\n\n<xf:macro id=\"node_icon\" arg-node=\"!\">\n	<xf:if is=\"$node.node_type_id == \'Forum\' AND $node.Data.TypeHandler\">\n		<xf:set var=\"$typeIcon\" value=\"{{ $node.Data.TypeHandler.getTypeIconClass() }}\" />\n		<xf:if is=\"$typeIcon\">\n			<xf:fa icon=\"{$typeIcon}\" />\n		<xf:else />\n			<i class=\"nodeIcon nodeIcon--{$node.node_type_id}\"></i>\n		</xf:if>\n	<xf:else />\n		<i class=\"nodeIcon nodeIcon--{$node.node_type_id}\"></i>\n	</xf:if>\n</xf:macro>', 0x[encoded data, 64134 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
