INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(83, 0x61646d696e, 0x626173655f637573746f6d5f6669656c645f65646974, 0, '<xf:if is=\"$field.isInsert()\">\n	<xf:title>{{ phrase(\'add_field\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_field:\') }} {$field.title|strip_tags}</xf:title>\n	<xf:h1>{{ phrase(\'edit_field:\') }} {$field.title}</xf:h1>\n</xf:if>\n\n<xf:pageaction if=\"$field.isUpdate()\">\n	<xf:button href=\"{{ link($prefix . \'/delete\', $field) }}\" overlay=\"true\" icon=\"delete\" />\n</xf:pageaction>\n\n<xf:js src=\"xf/sort.js, vendor/dragula/dragula.js\"/>\n<xf:css src=\"public:dragula.less\"/>\n\n<xf:form action=\"{{ link($prefix . \'/save\', $field) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:if is=\"{{ $field.exists() }}\">\n				<xf:formrow label=\"{{ phrase(\'field_id\') }}\"\n					explain=\"{{ phrase(\'this_is_unique_identifier_for_field_cannot_be_changed\') }}\">\n					<span class=\"u-ltr\">{$field.field_id}</span>\n				</xf:formrow>\n			<xf:else />\n				<xf:textboxrow name=\"field_id\" value=\"{$field}\" id=\"ctrl_field_id\"\n					label=\"{{ phrase(\'field_id\') }}\"\n					explain=\"{{ phrase(\'this_is_unique_identifier_for_field_cannot_be_changed\') }}\"\n					dir=\"ltr\" />\n			</xf:if>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$field}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:textarearow name=\"description\" value=\"{$field}\"\n				autosize=\"true\"\n				label=\"{{ phrase(\'description\') }}\"\n				hint=\"{{ phrase(\'you_may_use_html\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"display_group\" value=\"{$field}\"\n				label=\"{{ phrase(\'display_location\') }}\">\n				<xf:options source=\"$displayGroups\" />\n			</xf:radiorow>\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$field}\" />\n\n			{$displayOptions|raw}\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"field_type\" value=\"{$field}\" listclass=\"listColumns\"\n				label=\"{{ phrase(\'field_type\') }}\">\n\n				<xf:foreach loop=\"$fieldTypes\"\n					key=\"$fieldType\"\n					value=\"$fieldDef\"\n					if=\"!$existingType || $fieldDef.compatible == $existingType.compatible\">\n\n					<xf:option class=\"{$fieldDef.type}\" value=\"{$fieldType}\">{$fieldDef.label}</xf:option>\n				</xf:foreach>\n			</xf:radiorow>\n		</div>\n\n		<xf:if is=\"!$existingType || $existingType.options == \'text\'\">\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(\'options_for_text_fields\') }}</span>\n				</span>\n			</h3>\n			<div class=\"block-body block-body--collapsible\">\n				<xf:radiorow name=\"match_type\" value=\"{$field}\" listclass=\"_listColumns\"\n					label=\"{{ phrase(\'value_match_requirements\') }}\"\n					hint=\"{{ phrase(\'empty_values_always_allowed\') }}\">\n\n					<xf:option value=\"none\">{$matchTypes.none}</xf:option>\n					<xf:option value=\"number\" data-hide=\"true\"\n						label=\"{$matchTypes.number}\">\n						<xf:dependent><xf:macro id=\"number_dependent\" arg-field=\"{$field}\" /></xf:dependent>\n					</xf:option>\n					<xf:option value=\"alphanumeric\">{$matchTypes.alphanumeric}</xf:option>\n					<xf:option value=\"email\">{$matchTypes.email}</xf:option>\n					<xf:option value=\"url\">{$matchTypes.url}</xf:option>\n					<xf:option value=\"color\">{$matchTypes.color}</xf:option>\n					<xf:option value=\"date\" data-hide=\"true\"\n						label=\"{$matchTypes.date}\">\n						<xf:dependent><xf:macro id=\"date_dependent\" arg-field=\"{$field}\" /></xf:dependent>\n					</xf:option>\n					<xf:option value=\"regex\" data-hide=\"true\"\n						label=\"{$matchTypes.regex}\">\n						<xf:dependent><xf:macro id=\"regex_dependent\" arg-field=\"{$field}\" /></xf:dependent>\n					</xf:option>\n					<xf:option value=\"callback\"  data-hide=\"true\"\n						label=\"{$matchTypes.callback}\">\n						<xf:dependent>\n							<xf:macro id=\"helper_callback_fields::callback_fields\"\n								arg-className=\"match_params[callback_class]\"\n								arg-methodName=\"match_params[callback_method]\"\n								arg-classValue=\"{$field.match_params.callback_class}\"\n								arg-methodValue=\"{$field.match_params.callback_method}\"\n								arg-size=\"23\" />\n							<p class=\"formRow-explain\">\n								<code>\n									<em>\\XF\\CustomField\\Definition</em> $definition,\n									&amp;$value,\n									&amp;$error\n								</code>\n							</p>\n						</xf:dependent>\n					</xf:option>\n					<xf:option value=\"validator\" data-hide=\"true\"\n						label=\"{$matchTypes.validator}\">\n						<xf:dependent><xf:macro id=\"validator_dependent\" arg-field=\"{$field}\" /></xf:dependent>\n					</xf:option>\n				</xf:radiorow>\n\n				<hr class=\"formRowSep\" />\n\n				<xf:numberboxrow name=\"max_length\" value=\"{$field}\"\n					label=\"{{ phrase(\'maximum_length\') }}\" />\n			</div>\n		</xf:if>\n\n		<xf:if is=\"!$existingType || $existingType.options == \'choice\'\">\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(\'options_for_choice_fields\') }}</span>\n				</span>\n			</h3>\n			<div class=\"block-body block-body--collapsible\">\n				<xf:formrow rowtype=\"input\"\n					label=\"{{ phrase(\'possible_choices\') }}\"\n					explain=\"{{ phrase(\'value_represents_internal_value_for_choice_text_is_displayed\') }}\">\n\n					<div class=\"inputGroup-container\" data-xf-init=\"list-sorter\" data-drag-handle=\".dragHandle\">\n						<xf:foreach loop=\"$field.field_choices\" key=\"$choice\" value=\"$text\">\n							<div class=\"inputGroup\">\n								<span class=\"inputGroup-text dragHandle\"\n									aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"></span>\n								<xf:textbox name=\"field_choice[]\" value=\"{$choice}\"\n									placeholder=\"{{ phrase(\'value_a_z_0_9_and_only\') }}\"\n									size=\"24\" maxlength=\"25\"\n									dir=\"ltr\" />\n								<span class=\"inputGroup-splitter\"></span>\n								<xf:textbox name=\"field_choice_text[]\" value=\"{$text}\"\n									placeholder=\"{{ phrase(\'text\') }}\" size=\"24\" />\n							</div>\n						</xf:foreach>\n						<div class=\"inputGroup is-undraggable js-blockDragafter\" data-xf-init=\"field-adder\"\n							data-remove-class=\"is-undraggable js-blockDragafter\">\n							<span class=\"inputGroup-text dragHandle\"\n								aria-label=\"{{ phrase(\'drag_handle\')|for_attr }}\"></span>\n							<xf:textbox name=\"field_choice[]\"\n								placeholder=\"{{ phrase(\'value_a_z_0_9_and_only\') }}\"\n								size=\"24\" maxlength=\"25\" data-i=\"0\"\n								dir=\"ltr\" />\n							<span class=\"inputGroup-splitter\"></span>\n							<xf:textbox name=\"field_choice_text[]\"\n								placeholder=\"{{ phrase(\'text\') }}\"\n								size=\"24\" data-i=\"0\" />\n						</div>\n					</div>\n				</xf:formrow>\n			</div>\n		</xf:if>\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(\'general_options\') }}</span>\n			</span>\n		</h3>\n		<div class=\"block-body block-body--collapsible\">\n			<xf:if is=\"$extraOptions is not empty\">\n				{$extraOptions|raw}\n\n				<hr class=\"formRowSep\" />\n			</xf:if>\n\n			<xf:codeeditorrow name=\"display_template\" value=\"{$field.display_template}\"\n				mode=\"html\" data-line-wrapping=\"true\"\n				class=\"codeEditor--autoSize\"\n				label=\"{{ phrase(\'value_display_html\') }}\"\n				explain=\"{{ phrase(\'field_display_html_description\', {\'fieldId\': $field.field_id}) }}\" />\n\n			<xf:if is=\"$hasWrapperTemplate\">\n				<xf:codeeditorrow name=\"wrapper_template\" value=\"{$field.wrapper_template}\"\n					mode=\"html\" data-line-wrapping=\"true\"\n					class=\"codeEditor--autoSize\"\n					label=\"{{ phrase(\'wrapper_display_html\') }}\"\n					explain=\"{{ phrase(\'wrapper_template_html_description\', {\'fieldId\': $field.field_id}) }}\" />\n			</xf:if>\n		</div>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>\n\n<xf:macro id=\"number_dependent\" arg-field=\"!\">\n	<div class=\"inputGroup inputGroup--numbers\">\n		<xf:numberbox name=\"match_params[number_min]\" value=\"{$field.match_params.number_min}\" size=\"5\"\n			class=\"input--numberNarrow\"\n			placeholder=\"{{ phrase(\'minimum\') }}\" />\n		&nbsp;\n		<xf:numberbox name=\"match_params[number_max]\" value=\"{$field.match_params.number_max}\" size=\"5\"\n			class=\"input--numberNarrow\"\n			placeholder=\"{{ phrase(\'maximum\') }}\" />\n	</div>\n	<xf:checkbox>\n		<xf:option name=\"match_params[number_integer]\" selected=\"{$field.match_params.number_integer}\">{{ phrase(\'field_definition_require_whole_number\') }}</xf:option>\n	</xf:checkbox>\n</xf:macro>\n\n<xf:macro id=\"regex_dependent\" arg-field=\"!\">\n	<xf:textbox name=\"match_params[regex]\" value=\"{$field.match_params.regex}\"\n		placeholder=\"{{ phrase(\'regular_expression\') }}\"\n		code=\"true\" />\n</xf:macro>\n\n<xf:macro id=\"validator_dependent\" arg-field=\"!\">\n	<xf:textbox name=\"match_params[validator]\" value=\"{$field.match_params.validator}\"\n		placeholder=\"{{ phrase(\'validator\') }}\"\n		dir=\"ltr\" />\n</xf:macro>\n\n<xf:macro id=\"date_dependent\" arg-field=\"!\">\n	<xf:radio name=\"match_params[date_constraint]\" value=\"{{ $field.match_params.date_constraint ?: \'\' }}\">\n		<xf:option value=\"past\">{{ phrase(\'field_definition_require_past_date\') }}</xf:option>\n		<xf:option value=\"future\">{{ phrase(\'field_definition_require_future_date\') }}</xf:option>\n		<xf:option value=\"\">{{ phrase(\'any\') }}</xf:option>\n	</xf:radio>\n</xf:macro>', 0x[encoded data, 122794 characters], 0x5846, 2030570, '2.3.5', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(84, 0x61646d696e, 0x626173655f637573746f6d5f6669656c645f6c697374, 0, '<xf:pageaction>\n	<xf:button href=\"{{ link($prefix . \'/add\') }}\" icon=\"add\">{{ phrase(\'add_field\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$fieldsGrouped is not empty\">\n	<xf:form action=\"{{ link($prefix . \'/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"user-fields\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$displayGroups\" key=\"$displayGroupId\" value=\"$displayGroup\">\n						<xf:if is=\"{$fieldsGrouped.{$displayGroupId}} is not empty\">\n							<tbody class=\"dataList-rowGroup\">\n								<xf:datarow rowtype=\"subsection\" rowclass=\"dataList-row--noHover\">\n									<xf:cell colspan=\"2\">{$displayGroup}</xf:cell>\n								</xf:datarow>\n								<xf:foreach loop=\"{$fieldsGrouped.{$displayGroupId}}\" value=\"$field\">\n									<xf:datarow\n										label=\"{$field.title}\"\n										href=\"{{ link($prefix . \'/edit\', $field) }}\"\n										delete=\"{{ link($prefix . \'/delete\', $field) }}\"\n										hash=\"{$field.field_id}\">\n										<xf:hint>\n											{$fieldTypes.{$field.field_type}.label}\n										</xf:hint>\n									</xf:datarow>\n								</xf:foreach>\n							</tbody>\n						</xf:if>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($displayGroups) }}</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, 26306 characters], 0x5846, 2030570, '2.3.5', 1748686057),
(85, 0x61646d696e, 0x626173655f637573746f6d5f6669656c645f6d6163726f73, 0, '<xf:macro id=\"common_options\" arg-field=\"!\"\n	arg-supportsRequired=\"{{ true }}\"\n	arg-supportsUserEditable=\"{{ false }}\"\n	arg-supportsEditableOnce=\"{{ false }}\"\n	arg-supportsModeratorEditable=\"{{ false }}\"\n	arg-supportsGroupEditable=\"{{ false }}\">\n\n	<xf:checkboxrow hideempty=\"true\">\n		<xf:if is=\"$supportsRequired\">\n			<xf:option name=\"required\" selected=\"$field.required\">{{ phrase(\'field_is_required\') }}</xf:option>\n		</xf:if>\n		<xf:if is=\"$supportsUserEditable\">\n			<xf:option name=\"user_editable\" value=\"yes\" selected=\"$field.user_editable != \'never\'\"\n				label=\"{{ phrase(\'user_editable\') }}\">\n\n				<xf:checkbox>\n					<xf:if is=\"$supportsEditableOnce\">\n						<xf:option name=\"user_editable\" value=\"once\" selected=\"$field.user_editable == \'once\'\">{{ phrase(\'editable_only_once\') }}</xf:option>\n					</xf:if>\n				</xf:checkbox>\n			</xf:option>\n		</xf:if>\n		<xf:if is=\"$supportsModeratorEditable\">\n			<xf:option name=\"moderator_editable\" selected=\"$field.moderator_editable\">{{ phrase(\'moderator_editable\') }}</xf:option>\n		</xf:if>\n	</xf:checkboxrow>\n\n	<xf:if is=\"$supportsGroupEditable\">\n		<xf:macro id=\"helper_user_group_edit::checkboxes\"\n			arg-label=\"{{ phrase(\'editable_by_user_groups\') }}\"\n			arg-id=\"editable_user_group\"\n			arg-selectedUserGroups=\"{{ $field.field_id ? $field.editable_user_group_ids : [-1] }}\" />\n	</xf:if>\n</xf:macro>', 0x[encoded data, 19960 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
(86, 0x61646d696e, 0x626173655f7072656669785f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link($linkPrefix . \'/delete\', $prefix) }}\" 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($linkPrefix . \'/edit\', $prefix) }}\">{$prefix.title}</a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 9548 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(87, 0x61646d696e, 0x626173655f7072656669785f65646974, 0, '<xf:if is=\"$prefix.isInsert()\">\n	<xf:title>{{ phrase(\'add_prefix\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_prefix:\') }} {$prefix.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$prefix.isUpdate()\">\n	<xf:button href=\"{{ link($linkPrefix . \'/delete\', $prefix) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link($linkPrefix . \'/save\', $prefix) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n\n			<xf:textboxrow name=\"title\" value=\"{$prefix}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:if is=\"$prefix.hasRelation(\'MasterDescription\')\">\n				<xf:codeeditorrow name=\"description\" value=\"{$prefix}\"\n					mode=\"html\" data-line-wrapping=\"true\"\n					rows=\"1\"\n					readonly=\"0\"\n					class=\"codeEditor--autoSize\"\n					label=\"{{ phrase(\'description\') }}\"\n					explain=\"{{ phrase(\'prefix_description_explain\') }}\" />\n			</xf:if>\n\n			<xf:if is=\"$prefix.hasRelation(\'MasterUsageHelp\')\">\n				<xf:codeeditorrow name=\"usage_help\" value=\"{$prefix}\"\n					mode=\"html\" data-line-wrapping=\"true\"\n					readonly=\"0\"\n					class=\"codeEditor--autoSize\"\n					label=\"{{ phrase(\'prefix_usage_help\') }}\"\n					explain=\"{{ phrase(\'prefix_usage_help_explain\') }}\" />\n			</xf:if>\n\n			<xf:macro id=\"base_prefix_edit_macros::display_style\" arg-prefix=\"{$prefix}\"\n				arg-displayStyles=\"{$displayStyles}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:macro id=\"base_prefix_edit_macros::prefix_groups\" arg-prefix=\"{$prefix}\"\n				arg-prefixGroups=\"{$prefixGroups}\" />\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$prefix}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:macro id=\"helper_user_group_edit::checkboxes\"\n				arg-selectedUserGroups=\"{{ $prefix.prefix_id ? $prefix.allowed_user_group_ids : [-1] }}\" />\n\n			{$extraOptions|raw}\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 29458 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
(88, 0x61646d696e, 0x626173655f7072656669785f656469745f6d6163726f73, 0, '<xf:macro id=\"display_style\" arg-prefix=\"!\" arg-displayStyles=\"!\" arg-withRow=\"1\">\n	<xf:set var=\"$inner\">\n		<xf:radio name=\"css_class\" value=\"{{ $prefix.css_class ?: \'label label--hidden\' }}\" listclass=\"listColumns listColumns--4\">\n			<xf:foreach loop=\"$displayStyles\" value=\"$class\">\n				<xf:option value=\"{$class}\"><span title=\"{$class}\" class=\"{$class}\" data-xf-init=\"tooltip\" style=\"display: inline\">{{ phrase(\'prefix\') }}</span></xf:option>\n			</xf:foreach>\n		</xf:radio>\n		<xf:radio name=\"css_class\" value=\"{{ $prefix.css_class ?: \'label label--hidden\' }}\">\n			<xf:option value=\"\" selected=\"$prefix.css_class AND !in_array($prefix.css_class, $displayStyles)\" label=\"{{ phrase(\'other:\') }}\">\n				<xf:textbox\n					name=\"css_class\"\n					placeholder=\"{{ phrase(\'custom_css_class_names\') }}\"\n					value=\"{{ ($prefix.css_class AND !in_array($prefix.css_class, $displayStyles)) ? $prefix.css_class : \'\' }}\"\n					maxlength=\"{{ max_length($prefix, \'css_class\') }}\" />\n			</xf:option>\n		</xf:radio>\n	</xf:set>\n\n	<xf:if is=\"$withRow\">\n		<xf:formrow label=\"{{ phrase(\'display_styling\') }}\">\n			{$inner|raw}\n		</xf:formrow>\n	<xf:else />\n		{$inner|raw}\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"prefix_groups\" arg-prefix=\"!\" arg-prefixGroups=\"!\" arg-withRow=\"1\">\n\n	<xf:if is=\"$withRow\">\n		<xf:selectrow name=\"prefix_group_id\" value=\"{$prefix}\" label=\"{{ phrase(\'prefix_group\') }}\">\n			<xf:option value=\"\" label=\"{{ phrase(\'(none)\') }}\" />\n			<xf:options source=\"{$prefixGroups}\" />\n		</xf:selectrow>\n	<xf:else />\n		<xf:select name=\"prefix_group_id\" value=\"{$prefix.prefix_group_id}\">\n			<xf:option value=\"\" label=\"{{ phrase(\'(none)\') }}\" />\n			<xf:options source=\"{$prefixGroups}\" />\n		</xf:select>\n	</xf:if>\n</xf:macro>', 0x[encoded data, 33044 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(89, 0x61646d696e, 0x626173655f7072656669785f67726f75705f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link($groupLinkPrefix . \'/delete\', $prefixGroup) }}\" 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($groupLinkPrefix . \'/edit\', $prefixGroup) }}\" data-xf-click=\"overlay\">{$prefixGroup.title}</a></strong>\n				{{ phrase(\'prefixes_belonging_to_this_group_will_be_disassociated_rather_than_deleted\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 10534 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
(90, 0x61646d696e, 0x626173655f7072656669785f67726f75705f65646974, 0, '<xf:if is=\"$prefixGroup.isInsert()\">\n	<xf:title>{{ phrase(\'add_prefix_group\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_prefix_group:\') }} {$prefixGroup.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$prefixGroup.isUpdate()\">\n	<xf:button href=\"{{ link($groupLinkPrefix . \'/delete\', $prefixGroup) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link($groupLinkPrefix . \'/save\', $prefixGroup) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"title\" value=\"{$prefixGroup}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<xf:macro id=\"display_order_macros::row\" arg-value=\"{$prefixGroup}\" />\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 14726 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
(91, 0x61646d696e, 0x626173655f7072656669785f6c697374, 0, '<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link($linkPrefix . \'/add\') }}\" icon=\"add\">{{ phrase(\'add_prefix\') }}</xf:button>\n		<xf:button href=\"{{ link($groupLinkPrefix . \'/add\') }}\" icon=\"add\" overlay=\"true\">{{ phrase(\'add_prefix_group\') }}</xf:button>\n	</div>\n</xf:pageaction>\n\n<xf:if is=\"$prefixesGrouped is not empty OR count($prefixGroups) > 1\">\n	<xf:form action=\"{{ link($linkPrefix . \'/quick-set\') }}\" ajax=\"true\" class=\"block\"\n\n		data-xf-init=\"select-plus\"\n		data-sp-checkbox=\".dataList-cell--toggle input[type=\'checkbox\']\"\n		data-sp-container=\".dataList-row\"\n		data-sp-control=\".dataList-cell a\">\n\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"{$linkPrefix}\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$prefixGroups\" key=\"$prefixGroupId\" value=\"$prefixGroup\">\n						<tbody class=\"dataList-rowGroup\" id=\"js-prefixGroup{$prefixGroupId}\">\n\n						<xf:if is=\"{{ count($prefixGroups) > 1 }}\">\n							<xf:datarow rowtype=\"subsection\" rowclass=\"{{ !$prefixGroupId ? \'dataList-row--noHover\' : \'\' }}\">\n								<xf:if is=\"{{ $prefixGroupId > 0 }}\">\n									<xf:cell class=\"dataList-cell--min\">\n										<xf:if is=\"{{ count($prefixesGrouped.{$prefixGroupId}) }}\">\n											<xf:checkbox standalone=\"true\"><xf:option check-all=\"#js-prefixGroup{$prefixGroupId}\" /></xf:checkbox>\n										</xf:if>\n									</xf:cell>\n									<xf:cell href=\"{{ link($groupLinkPrefix . \'/edit\', $prefixGroup) }}\" overlay=\"true\">\n										{$prefixGroup.title}\n									</xf:cell>\n									<xf:delete href=\"{{ link($groupLinkPrefix . \'/delete\', $prefixGroup) }}\" />\n								<xf:elseif is=\"{{ count($prefixesGrouped.{$prefixGroupId}) }}\" />\n									<xf:cell class=\"dataList-cell--min\">\n										<xf:checkbox standalone=\"true\"><xf:option check-all=\"#js-prefixGroup{$prefixGroupId}\" /></xf:checkbox>\n									</xf:cell>\n									<xf:cell>{{ phrase(\'(ungrouped)\') }}</xf:cell>\n									<xf:cell>&nbsp;</xf:cell>\n								</xf:if>\n							</xf:datarow>\n						</xf:if>\n\n						<xf:foreach loop=\"{$prefixesGrouped.{$prefixGroupId}}\" key=\"$prefixId\" value=\"$prefix\">\n							<xf:datarow rowclass=\"prefixGroup{$prefixGroupId}\">\n								<xf:toggle name=\"prefix_ids[]\" value=\"{$prefix.prefix_id}\" />\n								<xf:cell href=\"{{ link($linkPrefix . \'/edit\', $prefix) }}\" class=\"dataList-cell\">\n									{$prefix.title}\n								</xf:cell>\n								<xf:delete href=\"{{ link($linkPrefix . \'/delete\', $prefix) }}\" />\n							</xf:datarow>\n						<xf:else />\n							<xf:if is=\"{{ count($prefixesGrouped.{$prefixGroupId}) || $prefixGroupId > 0 }}\">\n								<xf:datarow rowclass=\"dataList-row--noHover\">\n									<xf:cell colspan=\"3\" class=\"dataList-cell--noSearch\">\n										<xf:if is=\"{{ count($prefixGroups) > 1 }}\">\n											{{ phrase(\'no_prefixes_have_been_added_to_this_group_yet\') }}\n										<xf:else />\n											{{ phrase(\'no_prefixes_have_been_added_yet\') }}\n										</xf:if>\n									</xf:cell>\n								</xf:datarow>\n							</xf:if>\n						</xf:foreach>\n						</tbody>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer block-footer--split\">\n				<span class=\"block-footer-counter\">{{ display_totals($prefixTotal) }}</span>\n				<span class=\"block-footer-select\"><xf:checkbox standalone=\"true\"><xf:option check-all=\".dataList\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox></span>\n				<span class=\"block-footer-controls\"><xf:button type=\"submit\" name=\"quickset\" value=\"1\">{{ phrase(\'quick_set\') }}</xf:button></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, 66774 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
(92, 0x61646d696e, 0x626173655f7072656669785f717569636b7365745f63686f6f736572, 0, '<xf:title>{{ phrase(\'quick_set_prefixes\') }}</xf:title>\n\n<xf:form action=\"{{ link($linkPrefix . \'/quick-set\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:selectrow name=\"prefix_id\"\n				label=\"{{ phrase(\'copy_settings_from\') }}\"\n				explain=\"{{ phrase(\'on_next_page_you_may_apply_settings_to_all_selected_prefixes\') }}\">\n\n				<xf:option value=\"-1\">{{ phrase(\'(none)\') }}</xf:option>\n				<xf:foreach loop=\"$prefixGroups\" key=\"$groupId\" value=\"$prefixGroup\" if=\"{{ count($prefixesGrouped.{$groupId}) > 0 }}\">\n					<xf:optgroup label=\"{{ prefix_group($prefixType, $groupId) }}\">\n						<xf:foreach loop=\"{$prefixesGrouped.{$groupId}}\" key=\"$prefixId\" value=\"$cssClass\">\n							<xf:option value=\"{$prefixId}\" label=\"{{ prefix_title($prefixType, $prefixId) }}\" />\n						</xf:foreach>\n					</xf:optgroup>\n				</xf:foreach>\n\n			</xf:selectrow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'proceed...\') }}\" name=\"quickset\" value=\"1\" />\n	</div>\n	<xf:foreach loop=\"$prefixIds\" value=\"$prefixId\">\n		<xf:hiddenval name=\"prefix_ids[]\">{$prefixId}</xf:hiddenval>\n	</xf:foreach>\n</xf:form>', 0x[encoded data, 19584 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
(93, 0x61646d696e, 0x626173655f7072656669785f717569636b7365745f656469746f72, 0, '<xf:title>{{ phrase(\'quick_set_prefixes\') }}</xf:title>\n\n<xf:form action=\"{{ link($linkPrefix . \'/quick-set\') }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:checkboxrow name=\"prefix_ids\" listclass=\"inputChoices--inline\"\n				label=\"{{ phrase(\'apply_options_to_these_prefixes\') }}\">\n\n				<xf:foreach loop=\"$prefixes\" key=\"$prefixId\" value=\"$_prefix\">\n					<xf:option value=\"{$prefixId}\" checked=\"checked\">\n						<xf:label><span class=\"{$_prefix.css_class}\">{$_prefix.title}</span></xf:label>\n					</xf:option>\n				</xf:foreach>\n			</xf:checkboxrow>\n\n			<xf:checkboxrow name=\"apply_css_class\"\n				label=\"{{ phrase(\'display_styling\') }}\">\n\n				<xf:option label=\"{{ phrase(\'apply_display_styling_options:\') }}\">\n					<xf:dependent>\n						<xf:macro id=\"base_prefix_edit_macros::display_style\"\n							arg-prefix=\"{$prefix}\"\n							arg-displayStyles=\"{$displayStyles}\"\n							arg-withRow=\"0\" />\n					</xf:dependent>\n				</xf:option>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow name=\"apply_prefix_group_id\"\n				label=\"{{ phrase(\'prefix_group\') }}\">\n\n				<xf:option label=\"{{ phrase(\'apply_prefix_group_options:\') }}\">\n					<xf:dependent>\n						<xf:macro id=\"base_prefix_edit_macros::prefix_groups\"\n							arg-prefix=\"{$prefix}\"\n							arg-prefixGroups=\"{$prefixGroups}\"\n							arg-withRow=\"0\" />\n					</xf:dependent>\n				</xf:option>\n			</xf:checkboxrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow name=\"apply_user_group_ids\"\n				label=\"{{ phrase(\'usable_by_user_groups\') }}\">\n\n				<xf:option label=\"{{ phrase(\'apply_user_group_options:\') }}\">\n					<xf:dependent>\n						<xf:macro id=\"helper_user_group_edit::checkboxes\"\n							arg-selectedUserGroups=\"{{ $prefix.prefix_id ? $prefix.allowed_user_group_ids : [-1] }}\"\n							arg-withRow=\"0\" />\n					</xf:dependent>\n				</xf:option>\n			</xf:checkboxrow>\n\n			{$extraOptions|raw}\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 29336 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(94, 0x61646d696e, 0x626173655f70726f6d70745f64656c657465, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link($linkPrefix . \'/delete\', $prompt) }}\" 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($linkPrefix . \'/edit\', $prompt) }}\">{$prompt.title}</a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 9548 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057);
