INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(307, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f6d696e4d6178, 0, '<xf:formrow rowtype=\"input\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<div class=\"inputGroup inputGroup--numbers\">\n		<xf:numberbox name=\"{$inputName}[min]\" value=\"{$option.option_value.min}\" placeholder=\"{{ phrase(\'minimum\') }}\" min=\"{{ $formatParams.min ?: 0 }}\" max=\"{{ $formatParams.max ?: null }}\" />\n		<span class=\"inputGroup-text\">{{ $formatParams.between ? $formatParams.between : \'-\' }}</span>\n		<xf:numberbox name=\"{$inputName}[max]\" value=\"{$option.option_value.max}\" placeholder=\"{{ phrase(\'maximum\') }}\" min=\"{{ $formatParams.min ?: 0 }}\" max=\"{{ $formatParams.max ?: null }}\" />\n		<xf:if is=\"{$formatParams.units}\"><span class=\"inputGroup-text\">{$formatParams.units}</span></xf:if>\n	</div>\n</xf:formrow>', 0x[encoded data, 15790 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(308, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f706872617365, 0, '<xf:textboxrow name=\"{$inputName}\" value=\"{$phrase.phrase_text}\" type=\"{$formatParams.type}\" class=\"{$formatParams.class}\" rowclass=\"{$rowClass}\">\n	<xf:label>{$option.title}</xf:label>\n	<xf:hint>{$hintHtml}</xf:hint>\n	<xf:explain>{$explainHtml}</xf:explain>\n	<xf:finalhtml>{$listedHtml}</xf:finalhtml>\n</xf:textboxrow>', 0x[encoded data, 6414 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(309, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f707265526567416374696f6e, 0, '<xf:checkboxrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" selected=\"$option.option_value.enabled\"\n		label=\"{{ phrase(\'enable_writing_before_registering\') }}\">\n\n		<xf:dependent>\n			<div>{{ phrase(\'inherit_permissions_from:\') }}</div>\n\n			<xf:checkbox name=\"{$inputName}[userGroups]\" value=\"{{ $option.option_value.userGroups ?: [2] }}\"\n				listclass=\"listColumns\">\n				<xf:foreach loop=\"$userGroups\" value=\"$userGroup\">\n					<xf:option label=\"{$userGroup.label}\" value=\"{$userGroup.value}\" />\n				</xf:foreach>\n			</xf:checkbox>\n		</xf:dependent>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 12078 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(310, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f70726576656e74446973636f757261676564526567697374726174696f6e, 0, '<xf:checkboxrow hint=\"{$hintHtml}\"\n	explain=\"{{ phrase(\'option_explain.preventDiscouragedRegistration\', {\'link\': link(\'banning/discouraged-ips\')}) }}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}\" selected=\"$option.option_value\">\n		<xf:label>{$option.title}</xf:label>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 5312 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
(311, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f70726976616379506f6c69637955726c, 0, '<xf:radiorow name=\"{$inputName}[type]\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option selected=\"$option.option_value.type == \'\'\"\n		label=\"{{ phrase(\'no_privacy_policy\') }}\" />\n\n	<xf:option value=\"default\" selected=\"$option.option_value.type == \'default\'\"\n		label=\"{{ phrase(\'default_url:\') }} {{ link_type(\'public\', \'canonical:help/privacy-policy\') }}\"/>\n\n	<xf:option value=\"custom\" selected=\"$option.option_value.type == \'custom\'\"\n		label=\"{{ phrase(\'custom_url\') }}\">\n\n		<xf:textbox name=\"{$inputName}[custom]\" value=\"{$option.option_value.custom}\" />\n	</xf:option>\n</xf:radiorow>', 0x[encoded data, 10956 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(312, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f726567697374726174696f6e436865636b446e73426c, 0, '<xf:checkboxrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[check]\" selected=\"$option.option_value.check\" label=\"{{ phrase(\'check_dnsbl_on_registration\') }}\" hint=\"{$option.explain}\" data-hide=\"true\">\n		<xf:dependent>\n			<div>{{ phrase(\'project_honey_pot_key\') }}</div>\n			<xf:textbox name=\"{$inputName}[projectHoneyPotKey]\" value=\"{$option.option_value.projectHoneyPotKey}\" class=\"indented\" />\n			<dfn class=\"formRow-explain\">{{ phrase(\'if_entered_project_honey_pot_http_blacklist_checked\') }}</dfn>\n		</xf:dependent>\n		<xf:dependent>\n			<div>{{ phrase(\'action:\') }}</div>\n			<xf:radio name=\"{$inputName}[action]\" value=\"{{ $option.option_value.action ? $option.option_value.action : \'moderate\' }}\" listclass=\"choiceList indented\">\n				<xf:option value=\"moderate\">{{ phrase(\'require_registration_manually_approved_admin\') }}</xf:option>\n				<xf:option value=\"block\">{{ phrase(\'block_this_registration\') }}</xf:option>\n			</xf:radio>\n		</xf:dependent>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 17678 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
(313, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f726567697374726174696f6e44656661756c7473, 0, '<xf:formrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:checkbox>\n		<xf:option name=\"{$inputName}[visible]\" selected=\"$option.option_value.visible\">{{ phrase(\'show_online_status\') }}</xf:option>\n		<xf:option name=\"{$inputName}[activity_visible]\" selected=\"$option.option_value.activity_visible\">{{ phrase(\'show_current_activity\') }}</xf:option>\n		<xf:option name=\"{$inputName}[content_show_signature]\" selected=\"$option.option_value.content_show_signature\">{{ phrase(\'show_signatures_with_messages\') }}</xf:option>\n		<xf:option name=\"{$inputName}[show_dob_date]\" selected=\"$option.option_value.show_dob_date\">{{ phrase(\'show_day_and_month_of_birth\') }}</xf:option>\n		<xf:option name=\"{$inputName}[show_dob_year]\" selected=\"$option.option_value.show_dob_year\">{{ phrase(\'show_year_of_birth\') }}</xf:option>\n		<xf:option name=\"{$inputName}[receive_admin_email]\" selected=\"$option.option_value.receive_admin_email\">{{ phrase(\'receive_site_mailings_option\') }}</xf:option>\n		<xf:option name=\"{$inputName}[email_on_conversation]\" selected=\"$option.option_value.email_on_conversation\">{{ phrase(\'receive_email_when_new_direct_message_is_received\') }}</xf:option>\n		<xf:option name=\"{$inputName}[push_on_conversation]\" selected=\"$option.option_value.push_on_conversation\">{{ phrase(\'receive_push_notification_when_new_direct_message_is_received\') }}</xf:option>\n	</xf:checkbox>\n	<div class=\"u-inputSpacer\">\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_cws\">{{ phrase(\'watch_content_on_creation\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[creation_watch_state]\" value=\"{$option.option_value.creation_watch_state}\" id=\"{$inputName}_cws\">\n				<xf:option value=\"watch_no_email\">{{ phrase(\'yes\') }}</xf:option>\n				<xf:option value=\"watch_email\">{{ phrase(\'yes_with_email\') }}</xf:option>\n				<xf:option>{{ phrase(\'no\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_iws\">{{ phrase(\'watch_content_on_interaction\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[interaction_watch_state]\" value=\"{$option.option_value.interaction_watch_state}\" id=\"{$inputName}_iws\">\n				<xf:option value=\"watch_no_email\">{{ phrase(\'yes\') }}</xf:option>\n				<xf:option value=\"watch_email\">{{ phrase(\'yes_with_email\') }}</xf:option>\n				<xf:option>{{ phrase(\'no\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_avp\">{{ phrase(\'view_this_users_profile_page_details\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[allow_view_profile]\" value=\"{$option.option_value.allow_view_profile}\" id=\"{$inputName}_avp\">\n				<xf:option value=\"everyone\">{{ phrase(\'all_visitors\') }}</xf:option>\n				<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n				<xf:option value=\"followed\">{{ phrase(\'followed_members_only\') }}</xf:option>\n				<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_app\">{{ phrase(\'post_messages_on_this_users_profile_page\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[allow_post_profile]\" value=\"{$option.option_value.allow_post_profile}\" id=\"{$inputName}_app\">\n				<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n				<xf:option value=\"followed\">{{ phrase(\'followed_members_only\') }}</xf:option>\n				<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_arnf\">{{ phrase(\'receive_this_users_news_feed\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[allow_receive_news_feed]\" value=\"{$option.option_value.allow_receive_news_feed}\" id=\"{$inputName}_arnf\">\n				<xf:option value=\"everyone\">{{ phrase(\'all_visitors\') }}</xf:option>\n				<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n				<xf:option value=\"followed\">{{ phrase(\'followed_members_only\') }}</xf:option>\n				<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_aspc\">{{ phrase(\'send_direct_messages_to_this_user\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[allow_send_personal_conversation]\" value=\"{$option.option_value.allow_send_personal_conversation}\" id=\"{$inputName}_aspc\">\n				<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n				<xf:option value=\"followed\">{{ phrase(\'followed_members_only\') }}</xf:option>\n				<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_avi\">{{ phrase(\'view_this_users_identities\') }}</label></dt>\n			<dd><xf:select name=\"{$inputName}[allow_view_identities]\" id=\"{$inputName}_avi\" value=\"{$option.option_value.allow_view_identities}\">\n				<xf:option value=\"everyone\">{{ phrase(\'all_visitors\') }}</xf:option>\n				<xf:option value=\"members\">{{ phrase(\'members_only\') }}</xf:option>\n				<xf:option value=\"followed\">{{ phrase(\'followed_members_only\') }}</xf:option>\n				<xf:option value=\"none\">{{ phrase(\'nobody\') }}</xf:option>\n			</xf:select></dd>\n		</dl>\n	</div>\n</xf:formrow>', 0x[encoded data, 81978 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
(314, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f726567697374726174696f6e5365747570, 0, '<xf:checkboxrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" selected=\"$option.option_value.enabled\"\n		label=\"{{ phrase(\'enable_registration\') }}\" />\n\n	<xf:option name=\"{$inputName}[emailConfirmation]\" selected=\"$option.option_value.emailConfirmation\"\n		label=\"{{ phrase(\'enable_email_confirmation\') }}\"\n		hint=\"{{ phrase(\'if_selected_users_click_link_email_before_registration_complete\') }}\" />\n\n	<xf:option name=\"{$inputName}[moderation]\" selected=\"$option.option_value.moderation\"\n		label=\"{{ phrase(\'enable_manual_approval\') }}\"\n		hint=\"{{ phrase(\'if_selected_admin_manually_approve_users\') }}\" />\n\n	<xf:option name=\"{$inputName}[requireDob]\" selected=\"$option.option_value.requireDob\"\n		label=\"{{ phrase(\'require_date_of_birth\') }}\" />\n\n	<xf:option selected=\"{{ $option.option_value.minimumAge ? true : false }}\"\n		label=\"{{ phrase(\'minimum_age:\') }}\">\n\n		<xf:numberbox name=\"{$inputName}[minimumAge]\" value=\"{{ $option.option_value.minimumAge ?: 13 }}\"\n			min=\"1\"\n			units=\"{{ phrase(\'units_years\') }}\" />\n	</xf:option>\n\n	<xf:option name=\"{$inputName}[requireEmailChoice]\" selected=\"$option.option_value.requireEmailChoice\"\n		label=\"{{ phrase(\'require_email_choice\') }}\"\n		hint=\"{{ phrase(\'require_email_choice_hint\') }}\" />\n\n	<xf:option name=\"{$inputName}[requireLocation]\" selected=\"$option.option_value.requireLocation\"\n		label=\"{{ phrase(\'require_location\') }}\" />\n</xf:checkboxrow>', 0x[encoded data, 23064 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
(315, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f726567697374726174696f6e57656c636f6d65, 0, '<xf:checkboxrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[messageEnabled]\" selected=\"$option.option_value.messageEnabled\" data-hide=\"true\"\n		label=\"{{ phrase(\'send_welcome_direct_message_on_registration\') }}\">\n\n		<xf:dependent>\n			<div>{{ phrase(\'other_participants:\') }}</div>\n			<xf:if is=\"$option.option_value.messageParticipants AND is_array($option.option_value.messageParticipants)\">\n				<xf:set var=\"$users\" value=\"{{ $xf.app.em.getRepository(\'XF:User\').getUsersByIdsOrdered($option.option_value.messageParticipants) }}\" />\n				<xf:set var=\"$value\" value=\"{$users.pluckNamed(\'username\')|join(\', \')}\" />\n			<xf:else />\n				<xf:set var=\"$value\">{$xf.visitor.username}</xf:set>\n			</xf:if>\n			<xf:tokeninput name=\"{$inputName}[messageParticipants]\" value=\"{$value}\" href=\"{{ link(\'users/find\') }}\">\n				<xf:explain>{{ phrase(\'list_usernames_of_users_who_will_be_invited_to_this_direct_message\') }}</xf:explain>\n			</xf:tokeninput>\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'direct_message_title:\') }}</div>\n			<xf:textbox name=\"{$inputName}[messageTitle]\" value=\"{$option.option_value.messageTitle}\" placeholder=\"{{ phrase(\'direct_message_title...\') }}\" maxlength=\"100\" />\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'direct_message_body:\') }}</div>\n			<xf:textarea name=\"{$inputName}[messageBody]\" value=\"{$option.option_value.messageBody}\" rows=\"5\" autosize=\"true\" />\n			<p class=\"formRow-explain\">{{ phrase(\'following_placeholders_will_be_replaced_in_body_for_direct_message\') }} {{ phrase(\'you_may_also_use_phrase_title_which_will_be_replaced\') }}</p>\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'direct_message_options:\') }}</div>\n			<xf:checkbox>\n				<xf:option name=\"{$inputName}[messageOpenInvite]\" value=\"1\" selected=\"$option.option_value.messageOpenInvite\">\n					{{ phrase(\'allow_anyone_in_direct_message_to_invite_others\') }}\n				</xf:option>\n				<xf:option name=\"{$inputName}[messageLocked]\" value=\"1\" selected=\"$option.option_value.messageLocked\">\n					{{ phrase(\'lock_direct_message_no_responses_will_be_allowed\') }}\n				</xf:option>\n			</xf:checkbox>\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'future_message_handling:\') }}</div>\n			<xf:radio name=\"{$inputName}[messageDelete]\">\n				<xf:option value=\"delete\" selected=\"!$option.option_value.messageDelete OR $option.option_value.messageDelete == \'delete\'\"\n					label=\"{{ phrase(\'leave_direct_message_and_accept_future_responses\') }}\"\n					explain=\"{{ phrase(\'should_direct_message_receive_responses_restored_to_inbox\') }}\" />\n\n				<xf:option value=\"delete_ignore\" selected=\"$option.option_value.messageDelete == \'delete_ignore\'\"\n					label=\"{{ phrase(\'leave_direct_message_and_ignore_future_responses\') }}\"\n					explain=\"{{ phrase(\'not_notified_of_responses_direct_message_remain_deleted\') }}\" />\n\n				<xf:option value=\"no_delete\" selected=\"$option.option_value.messageDelete == \'no_delete\'\"\n					label=\"{{ phrase(\'do_not_leave_direct_message\') }}\"\n					explain=\"{{ phrase(\'direct_message_remain_in_inbox_and_notified_of_replies\') }}\" />\n			</xf:radio>\n		</xf:dependent>\n\n	</xf:option>\n\n	<xf:option name=\"{$inputName}[emailEnabled]\" selected=\"$option.option_value.emailEnabled\" data-hide=\"true\"\n		label=\"{{ phrase(\'send_welcome_email_on_registration\') }}\">\n\n		<xf:dependent>\n			<div>{{ phrase(\'from_name:\') }}</div>\n			<xf:textbox name=\"{$inputName}[emailFromName]\" value=\"{{ $option.option_value.emailFromName ? $option.option_value.emailFromName : $xf.options.boardTitle }}\" />\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'from_email:\') }}</div>\n			<xf:textbox name=\"{$inputName}[emailFromEmail]\" value=\"{{ $option.option_value.emailFromEmail ? $option.option_value.emailFromEmail : $xf.options.defaultEmailAddress }}\" type=\"email\" />\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'email_title:\') }}</div>\n			<xf:textbox name=\"{$inputName}[emailTitle]\" value=\"{$option.option_value.emailTitle}\" />\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'email_format:\') }}</div>\n			<xf:radio name=\"{$inputName}[emailFormat]\" value=\"{$option.option_value.emailFormat}\">\n				<xf:option value=\"plain\" label=\"{{ phrase(\'plain_text\') }}\" selected=\"!$option.option_value.emailFormat OR $option.option_value.emailFormat == \'plain\'\" />\n				<xf:option value=\"html\" label=\"{{ phrase(\'html\') }}\" />\n			</xf:radio>\n			<p class=\"formRow-explain\">{{ phrase(\'note_that_email_clients_handle_html_in_widely_varying_ways\') }}</p>\n		</xf:dependent>\n\n		<xf:dependent>\n			<div>{{ phrase(\'email_body:\') }}</div>\n			<xf:textarea name=\"{$inputName}[emailBody]\" value=\"{$option.option_value.emailBody}\" rows=\"5\" autosize=\"true\" />\n			<p class=\"formRow-explain\">{{ phrase(\'following_placeholders_will_be_replaced_in_message_for_welcome_email\') }} {{ phrase(\'you_may_also_use_phrase_title_which_will_be_replaced\') }}</p>\n		</xf:dependent>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 76520 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
(316, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f73617665447261667473, 0, '<xf:checkboxrow\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" selected=\"$option.option_value.enabled\" label=\"{$option.title}\">\n		<xf:dependent>\n			<dl class=\"inputLabelPair\">\n				<dt><label for=\"{$inputName}_h\">{{ phrase(\'store_drafts_for_x_hours\') }}</label></dt>\n				<dd><xf:numberbox name=\"{$inputName}[lifetime]\" id=\"{$inputName}_h\" value=\"{{ $option.option_value.enabled ? $option.option_value.lifetime : \'24\' }}\" min=\"1\" /></dd>\n			</dl>\n			<dl class=\"inputLabelPair\">\n				<dt><label for=\"{$inputName}_s\">{{ phrase(\'save_drafts_every_x_seconds\') }}</label></dt>\n				<dd><xf:numberbox name=\"{$inputName}[saveFrequency]\" id=\"{$inputName}_s\" value=\"{{ $option.option_value.enabled ? $option.option_value.saveFrequency : \'60\' }}\" min=\"1\" /></dd>\n			</dl>\n		</xf:dependent>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 15774 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(317, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f73656172636853756767657374696f6e73, 0, '<xf:checkboxrow\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" selected=\"$option.option_value.enabled\"\n		label=\"{$option.title}\"\n		disabled=\"{{ !$autoCompleteSupported }}\" />\n</xf:checkboxrow>', 0x[encoded data, 4600 characters], 0x5846, 2030037, '2.3.0 Beta 7', 1748686057),
(318, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f7370616d50687261736573, 0, '<xf:formrow rowtype=\"input\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:textarea name=\"{$inputName}[phrases]\" value=\"{$option.option_value.phrases}\" rows=\"5\" autosize=\"true\" />\n	<p class=\"formRow-explain\">{$explainHtml}</p>\n\n	<div class=\"u-inputSpacer\">{{ phrase(\'action:\') }}</div>\n	<xf:radio name=\"{$inputName}[action]\" value=\"{$option.option_value.action}\">\n		<xf:option value=\"moderate\">{{ phrase(\'manually_approve\') }}</xf:option>\n		<xf:option value=\"reject\">{{ phrase(\'reject\') }}</xf:option>\n	</xf:radio>\n</xf:formrow>', 0x[encoded data, 10758 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
(319, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f7370616d546872656164416374696f6e, 0, '<xf:radiorow name=\"{$inputName}[action]\" value=\"{$option.option_value.action}\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option value=\"delete\" label=\"{{ phrase(\'permanently_delete\') }}\" />\n	<xf:option value=\"soft-delete\" label=\"{{ phrase(\'remove_from_public_view\') }}\" />\n	<xf:option value=\"move\" label=\"{{ phrase(\'move_to_forum\') }}\">\n		<xf:select name=\"{$inputName}[node_id]\" value=\"{$option.option_value.node_id}\">\n			<xf:option value=\"0\">&nbsp;</xf:option>\n			<xf:foreach loop=\"$nodeTree.getFlattened()\" value=\"$treeEntry\">\n				<xf:option value=\"{$treeEntry.record.node_id}\" disabled=\"{{ $treeEntry.record.node_type_id != \'Forum\' }}\">\n					{{ repeat(\'--\', $treeEntry.depth) }} {$treeEntry.record.title}\n				</xf:option>\n			</xf:foreach>\n			<xf:options source=\"$formatParams\" />\n		</xf:select>\n	</xf:option>\n</xf:radiorow>', 0x[encoded data, 18536 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(320, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f7370616d557365724372697465726961, 0, '<xf:formrow rowtype=\"inputLabelPair\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<dl class=\"inputLabelPair\">\n		<dt><label for=\"spamuc_mc\">{{ phrase(\'maximum_message_count\') }}</label></dt>\n		<dd><xf:numberbox name=\"{$inputName}[message_count]\" value=\"{$option.option_value.message_count}\" min=\"0\" id=\"spamuc_mc\" /></dd>\n	</dl>\n	<dl class=\"inputLabelPair\">\n		<dt><label for=\"spamuc_rd\">{{ phrase(\'maximum_days_since_registration\') }}</label></dt>\n		<dd><xf:numberbox name=\"{$inputName}[register_date]\" value=\"{$option.option_value.register_date}\" min=\"0\" id=\"spamuc_rd\" /></dd>\n	</dl>\n	<dl class=\"inputLabelPair\">\n		<dt><label for=\"spamuc_tl\">{{ phrase(\'maximum_reaction_score_received\') }}</label></dt>\n		<dd><xf:numberbox name=\"{$inputName}[reaction_score]\" value=\"{$option.option_value.reaction_score}\" min=\"0\" id=\"spamuc_tl\" /></dd>\n	</dl>\n</xf:formrow>', 0x[encoded data, 12646 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
(321, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f73746f70466f72756d5370616d, 0, '<xf:checkboxrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" label=\"{{ phrase(\'stopforumspam_enable_registration_check\') }}\" value=\"1\" selected=\"$option.option_value.enabled\" data-hide=\"true\">\n		<xf:hint>{{ phrase(\'stopforumspam_enable_registration_check_explain\') }}</xf:hint>\n		<xf:checkbox>\n\n			<xf:option name=\"_moderateThreshold\" selected=\"$option.option_value.moderateThreshold\">\n				<xf:label>{{ phrase(\'stopforumspam_moderate_registration_threshold:\') }}</xf:label>\n				<xf:dependent>\n					<xf:numberbox name=\"{$inputName}[moderateThreshold]\" min=\"1\" max=\"3\" value=\"{$option.option_value.moderateThreshold}\" />\n					<p class=\"formRow-explain\">{{ phrase(\'stopforumspam_moderate_registration_threshold_explain\') }}</p>\n				</xf:dependent>\n			</xf:option>\n			<xf:option name=\"_denyThreshold\" selected=\"$option.option_value.denyThreshold\">\n				<xf:label>{{ phrase(\'stopforumspam_reject_registration_threshold:\') }}</xf:label>\n				<xf:dependent>\n					<xf:numberbox name=\"{$inputName}[denyThreshold]\" min=\"1\" max=\"3\" value=\"{$option.option_value.denyThreshold}\" />\n					<p class=\"formRow-explain\">{{ phrase(\'stopforumspam_reject_registration_threshold_explain\') }}</p>\n				</xf:dependent>\n			</xf:option>\n\n			<xf:option name=\"_lastSeenCutOff\" selected=\"$option.option_value.lastSeenCutOff\">\n				<xf:label>{{ phrase(\'stopforumspam_lastseencutoff_label:\') }}</xf:label>\n				<xf:dependent>\n					<xf:numberbox name=\"{$inputName}[lastSeenCutOff]\" min=\"0\" value=\"{$option.option_value.lastSeenCutOff}\" units=\"{{ phrase(\'units_days\') }}\" />\n					<p class=\"formRow-explain\">{{ phrase(\'stopforumspam_lastseencutoff_explain\') }}</p>\n				</xf:dependent>\n			</xf:option>\n\n			<xf:option name=\"_frequencyCutOff\" selected=\"$option.option_value.frequencyCutOff\">\n				<xf:label>{{ phrase(\'stopforumspam_frequencycutoff_label:\') }}</xf:label>\n				<xf:dependent>\n					<xf:numberbox name=\"{$inputName}[frequencyCutOff]\" min=\"0\" value=\"{$option.option_value.frequencyCutOff}\" />\n					<p class=\"formRow-explain\">{{ phrase(\'stopforumspam_frequencycutoff_explain\') }}</p>\n				</xf:dependent>\n			</xf:option>\n\n			<xf:option name=\"{$inputName}[hashEmail]\" selected=\"$option.option_value.hashEmail\">\n				<xf:label>{{ phrase(\'stopforumspam_hashemail_label\') }}</xf:label>\n				<xf:hint>{{ phrase(\'stopforumspam_hashemail_explain\') }}</xf:hint>\n			</xf:option>\n\n		</xf:checkbox>\n	</xf:option>\n	<xf:option name=\"{$inputName}[submitRejections]\" value=\"1\" selected=\"$option.option_value.submitRejections\">\n		<xf:label>{{ phrase(\'stopforumspam_submit_information:\') }}</xf:label>\n		<xf:dependent>\n			<xf:textbox name=\"{$inputName}[apiKey]\" value=\"{$option.option_value.apiKey}\"\n				pattern=\"^[a-zA-Z0-9]+$\" title=\"{{ phrase(\'please_enter_a_valid_api_key\') }}\" />\n			<p class=\"formRow-explain\">{{ phrase(\'stopforumspam_submit_information_explain\') }}</p>\n		</xf:dependent>\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 44540 characters], 0x5846, 2020370, '2.2.3', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(322, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f74616756616c69646174696f6e, 0, '<xf:formrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{{ phrase(\'these_limits_only_apply_when_tag_is_created_existing_used\') }}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<ul class=\"inputChoices inputChoices--noChoice\">\n		<li class=\"inputChoices-choice\">\n			<div>{{ phrase(\'disallowed_words_in_tags:\') }}</div>\n			<xf:textarea name=\"{$inputName}[disallowedWords]\" value=\"{$option.option_value.disallowedWords}\" autosize=\"true\" />\n			<dfn class=\"inputChoices-explain\">{{ phrase(\'words_or_phrases_in_this_field_not_allowed_in_tags\') }}</dfn>\n		</li>\n		<li class=\"inputChoices-choice\">\n			<div>{{ phrase(\'tag_match_regular_expression:\') }}</div>\n			<xf:textbox name=\"{$inputName}[matchRegex]\" value=\"{$option.option_value.matchRegex}\" />\n			<dfn class=\"inputChoices-explain\">{{ phrase(\'this_requires_new_tags_to_match_given_regular_expression\') }}</dfn>\n		</li>\n	</ul>\n</xf:formrow>', 0x[encoded data, 10738 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(323, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f746f7355726c, 0, '<xf:radiorow name=\"{$inputName}[type]\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option selected=\"$option.option_value.type == \'\'\"\n		label=\"{{ phrase(\'no_terms_and_rules\') }}\" />\n\n	<xf:option value=\"default\" selected=\"$option.option_value.type == \'default\'\"\n		label=\"{{ phrase(\'default_url:\') }} {{ link_type(\'public\', \'canonical:help/terms\') }}\"/>\n\n	<xf:option value=\"custom\" selected=\"$option.option_value.type == \'custom\'\"\n		label=\"{{ phrase(\'custom_url\') }}\">\n\n		<xf:textbox name=\"{$inputName}[custom]\" value=\"{$option.option_value.custom}\" />\n	</xf:option>\n</xf:radiorow>', 0x[encoded data, 10940 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(324, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f7472656e64696e67436f6e74656e7457656967687473, 0, '<xf:formrow rowtype=\"inputLabelPair\"\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:foreach loop=\"$metrics\" value=\"$metric\">\n		<dl class=\"inputLabelPair\">\n			<dt><label for=\"{$inputName}_0\">{{ phrase_dynamic(\'activity_log_metric.\' . $metric) }}</label></dt>\n			<dd>\n				<xf:numberbox name=\"{$inputName}[{$metric}]\" value=\"{$option.option_value.{$metric}}\"\n					id=\"{$inputName}_{$metric}\"\n					min=\"0\" max=\"100\" units=\"{{ phrase(\'points\') }}\" />\n			</dd>\n		</dl>\n	</xf:foreach>\n</xf:formrow>', 0x[encoded data, 10430 characters], 0x5846, 2030370, '2.3.3', 1748686057),
(325, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f7477656574, 0, '<xf:checkboxrow\n	hint=\"{$hintHtml}\"\n	explain=\"{$explainHtml}\"\n	html=\"{$listedHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	<xf:option name=\"{$inputName}[enabled]\" selected=\"$option.option_value.enabled\" label=\"{$option.title}\">\n		<xf:textbox name=\"{$inputName}[via]\" value=\"{$option.option_value.via}\" placeholder=\"{{ phrase(\'via_twitter_account\') }}\" />\n		<xf:textbox name=\"{$inputName}[related]\" value=\"{$option.option_value.related}\" placeholder=\"{{ phrase(\'related_twitter_account\') }}\" />\n	</xf:option>\n</xf:checkboxrow>', 0x[encoded data, 9158 characters], 0x5846, 2020010, '2.2.0 Alpha', 1748686057),
(326, 0x61646d696e, 0x6f7074696f6e5f74656d706c6174655f756e6564697461626c65, 0, '<xf:formrow\n	label=\"{$option.title}\"\n	hint=\"{$hintHtml}\"\n	rowclass=\"{$rowClass}\">\n\n	{$explainHtml}\n</xf:formrow>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a373b733a343a226e616d65223b733a373a22666f726d726f77223b733a31303a2261747472696275746573223b613a333a7b733a353a226c6162656c223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a363a226f7074696f6e223b733a31303a2264696d656e73696f6e73223b613a313a7b693a303b613a323a7b693a303b733a353a226172726179223b693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a353a227469746c65223b7d7d7d733a373a2266696c74657273223b613a303a7b7d7d733a343a2268696e74223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a383a2268696e7448746d6c223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d733a383a22726f77636c617373223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a343b733a343a226e616d65223b733a383a22726f77436c617373223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d7d733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a343b733a373a22636f6e74656e74223b733a333a220a0a09223b7d693a313b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a363b733a343a226e616d65223b733a31313a226578706c61696e48746d6c223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a363b733a373a22636f6e74656e74223b733a313a220a223b7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2020010, '2.2.0 Alpha', 1748686057);
