INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(148, 0x61646d696e, 0x63726f6e5f65646974, 0, '<xf:if is=\"$entry.isInsert()\">\n	<xf:title>{{ phrase(\'add_cron_entry\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_cron_entry:\') }} {$entry.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$entry.isUpdate() AND $entry.canEdit()\">\n	<xf:button href=\"{{ link(\'cron/delete\', $entry) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:if is=\"{{ !$entry.canEdit() }}\">\n	<div class=\"blockMessage blockMessage--important blockMessage--iconic\">\n		{{ phrase(\'only_limited_fields_in_item_may_be_edited\') }}\n	</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'cron/save\', $entry) }}\" ajax=\"true\" class=\"block\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n\n			<xf:textboxrow name=\"entry_id\" value=\"{$entry}\"\n				readonly=\"{{ !$entry.canEdit() }}\"\n				label=\"{{ phrase(\'cron_entry_id\') }}\"\n				dir=\"ltr\" />\n\n			<xf:textboxrow name=\"title\" value=\"{$entry}\"\n				readonly=\"{{ !$entry.canEdit() }}\"\n				label=\"{{ phrase(\'title\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'cron_callback\') }}\">\n\n				<xf:macro id=\"helper_callback_fields::callback_fields\" arg-data=\"{$entry}\"\n					arg-className=\"cron_class\"\n					arg-methodName=\"cron_method\"\n					arg-readOnly=\"{{ !$entry.canEdit() }}\" />\n			</xf:formrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"run_rules[day_type]\" value=\"{$entry.run_rules.day_type}\"\n				readonly=\"{{ !$entry.canEdit() }}\"\n				label=\"{{ phrase(\'run_on_type_of_day\') }}\">\n\n				<xf:option value=\"dom\" label=\"{{ phrase(\'day_of_month:\') }}\">\n					<xf:select name=\"run_rules[dom]\"\n						readonly=\"{{ !$entry.canEdit() }}\"\n						value=\"{$entry.run_rules.dom|raw}\"\n						multiple=\"true\" size=\"8\" style=\"width: 200px\">\n\n						<xf:option value=\"-1\">{{ phrase(\'any\') }}</xf:option>\n						<xf:option value=\"1\">1</xf:option>\n						<xf:option value=\"2\">2</xf:option>\n						<xf:option value=\"3\">3</xf:option>\n						<xf:option value=\"4\">4</xf:option>\n						<xf:option value=\"5\">5</xf:option>\n						<xf:option value=\"6\">6</xf:option>\n						<xf:option value=\"7\">7</xf:option>\n						<xf:option value=\"8\">8</xf:option>\n						<xf:option value=\"9\">9</xf:option>\n						<xf:option value=\"10\">10</xf:option>\n						<xf:option value=\"11\">11</xf:option>\n						<xf:option value=\"12\">12</xf:option>\n						<xf:option value=\"13\">13</xf:option>\n						<xf:option value=\"14\">14</xf:option>\n						<xf:option value=\"15\">15</xf:option>\n						<xf:option value=\"16\">16</xf:option>\n						<xf:option value=\"17\">17</xf:option>\n						<xf:option value=\"18\">18</xf:option>\n						<xf:option value=\"19\">19</xf:option>\n						<xf:option value=\"20\">20</xf:option>\n						<xf:option value=\"21\">21</xf:option>\n						<xf:option value=\"22\">22</xf:option>\n						<xf:option value=\"23\">23</xf:option>\n						<xf:option value=\"24\">24</xf:option>\n						<xf:option value=\"25\">25</xf:option>\n						<xf:option value=\"26\">26</xf:option>\n						<xf:option value=\"27\">27</xf:option>\n						<xf:option value=\"28\">28</xf:option>\n						<xf:option value=\"29\">29</xf:option>\n						<xf:option value=\"30\">30</xf:option>\n						<xf:option value=\"31\">31</xf:option>\n					</xf:select>\n				</xf:option>\n				<xf:option value=\"dow\" label=\"{{ phrase(\'day_of_week:\') }}\">\n					<xf:select name=\"run_rules[dow]\"\n						readonly=\"{{ !$entry.canEdit() }}\"\n						value=\"{$entry.run_rules.dow|raw}\"\n						multiple=\"true\" size=\"8\" style=\"width: 200px\">\n\n						<xf:option value=\"-1\">{{ phrase(\'any\') }}</xf:option>\n						<xf:option value=\"0\">{{ phrase(\'day_sunday\') }}</xf:option>\n						<xf:option value=\"1\">{{ phrase(\'day_monday\') }}</xf:option>\n						<xf:option value=\"2\">{{ phrase(\'day_tuesday\') }}</xf:option>\n						<xf:option value=\"3\">{{ phrase(\'day_wednesday\') }}</xf:option>\n						<xf:option value=\"4\">{{ phrase(\'day_thursday\') }}</xf:option>\n						<xf:option value=\"5\">{{ phrase(\'day_friday\') }}</xf:option>\n						<xf:option value=\"6\">{{ phrase(\'day_saturday\') }}</xf:option>\n					</xf:select>\n				</xf:option>\n			</xf:radiorow>\n\n			<xf:selectrow name=\"run_rules[hours]\"\n				readonly=\"{{ !$entry.canEdit() }}\"\n				value=\"{$entry.run_rules.hours|raw}\"\n				multiple=\"true\" size=\"8\" style=\"width: 200px\"\n				label=\"{{ phrase(\'run_at_hours\') }}\">\n\n				<xf:option value=\"-1\">{{ phrase(\'any\') }}</xf:option>\n				<xf:option value=\"0\">0 {{ phrase(\'(midnight)\') }}</xf:option>\n				<xf:option value=\"1\">1</xf:option>\n				<xf:option value=\"2\">2</xf:option>\n				<xf:option value=\"3\">3</xf:option>\n				<xf:option value=\"4\">4</xf:option>\n				<xf:option value=\"5\">5</xf:option>\n				<xf:option value=\"6\">6</xf:option>\n				<xf:option value=\"7\">7</xf:option>\n				<xf:option value=\"8\">8</xf:option>\n				<xf:option value=\"9\">9</xf:option>\n				<xf:option value=\"10\">10</xf:option>\n				<xf:option value=\"11\">11</xf:option>\n				<xf:option value=\"12\">12 {{ phrase(\'(noon)\') }}</xf:option>\n				<xf:option value=\"13\">13</xf:option>\n				<xf:option value=\"14\">14</xf:option>\n				<xf:option value=\"15\">15</xf:option>\n				<xf:option value=\"16\">16</xf:option>\n				<xf:option value=\"17\">17</xf:option>\n				<xf:option value=\"18\">18</xf:option>\n				<xf:option value=\"19\">19</xf:option>\n				<xf:option value=\"20\">20</xf:option>\n				<xf:option value=\"21\">21</xf:option>\n				<xf:option value=\"22\">22</xf:option>\n				<xf:option value=\"23\">23</xf:option>\n\n				<xf:explain>{{ phrase(\'run_times_based_on_utc_time_zone\') }}</xf:explain>\n			</xf:selectrow>\n\n			<xf:selectrow name=\"run_rules[minutes]\"\n				readonly=\"{{ !$entry.canEdit() }}\"\n				value=\"{$entry.run_rules.minutes|raw}\"\n				multiple=\"true\" size=\"8\" style=\"width: 200px\"\n				label=\"{{ phrase(\'run_at_minutes\') }}\">\n\n				<xf:option value=\"-1\">{{ phrase(\'any\') }}</xf:option>\n				<xf:option value=\"0\">0</xf:option>\n				<xf:option value=\"1\">1</xf:option>\n				<xf:option value=\"2\">2</xf:option>\n				<xf:option value=\"3\">3</xf:option>\n				<xf:option value=\"4\">4</xf:option>\n				<xf:option value=\"5\">5</xf:option>\n				<xf:option value=\"6\">6</xf:option>\n				<xf:option value=\"7\">7</xf:option>\n				<xf:option value=\"8\">8</xf:option>\n				<xf:option value=\"9\">9</xf:option>\n				<xf:option value=\"10\">10</xf:option>\n				<xf:option value=\"11\">11</xf:option>\n				<xf:option value=\"12\">12</xf:option>\n				<xf:option value=\"13\">13</xf:option>\n				<xf:option value=\"14\">14</xf:option>\n				<xf:option value=\"15\">15</xf:option>\n				<xf:option value=\"16\">16</xf:option>\n				<xf:option value=\"17\">17</xf:option>\n				<xf:option value=\"18\">18</xf:option>\n				<xf:option value=\"19\">19</xf:option>\n				<xf:option value=\"20\">20</xf:option>\n				<xf:option value=\"21\">21</xf:option>\n				<xf:option value=\"22\">22</xf:option>\n				<xf:option value=\"23\">23</xf:option>\n				<xf:option value=\"24\">24</xf:option>\n				<xf:option value=\"25\">25</xf:option>\n				<xf:option value=\"26\">26</xf:option>\n				<xf:option value=\"27\">27</xf:option>\n				<xf:option value=\"28\">28</xf:option>\n				<xf:option value=\"29\">29</xf:option>\n				<xf:option value=\"30\">30</xf:option>\n				<xf:option value=\"31\">31</xf:option>\n				<xf:option value=\"32\">32</xf:option>\n				<xf:option value=\"33\">33</xf:option>\n				<xf:option value=\"34\">34</xf:option>\n				<xf:option value=\"35\">35</xf:option>\n				<xf:option value=\"36\">36</xf:option>\n				<xf:option value=\"37\">37</xf:option>\n				<xf:option value=\"38\">38</xf:option>\n				<xf:option value=\"39\">39</xf:option>\n				<xf:option value=\"40\">40</xf:option>\n				<xf:option value=\"41\">41</xf:option>\n				<xf:option value=\"42\">42</xf:option>\n				<xf:option value=\"43\">43</xf:option>\n				<xf:option value=\"44\">44</xf:option>\n				<xf:option value=\"45\">45</xf:option>\n				<xf:option value=\"46\">46</xf:option>\n				<xf:option value=\"47\">47</xf:option>\n				<xf:option value=\"48\">48</xf:option>\n				<xf:option value=\"49\">49</xf:option>\n				<xf:option value=\"50\">50</xf:option>\n				<xf:option value=\"51\">51</xf:option>\n				<xf:option value=\"52\">52</xf:option>\n				<xf:option value=\"53\">53</xf:option>\n				<xf:option value=\"54\">54</xf:option>\n				<xf:option value=\"55\">55</xf:option>\n				<xf:option value=\"56\">56</xf:option>\n				<xf:option value=\"57\">57</xf:option>\n				<xf:option value=\"58\">58</xf:option>\n				<xf:option value=\"59\">59</xf:option>\n			</xf:selectrow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow>\n				<xf:option name=\"active\" selected=\"$entry.active\"\n					hint=\"{{ ($xf.development AND $entry.addon_id) ? phrase(\'field_value_maintained_addon_upgrade_explain\') : \'\' }}\">\n					{{phrase(\'allow_cron_entry_to_run_automatically_when_scheduled\') }}\n				</xf:option>\n			</xf:checkboxrow>\n\n			<xf:macro id=\"addon_macros::addon_edit\" arg-addOnId=\"{$entry.addon_id}\" />\n		</div>\n\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n\n	<xf:hiddenval name=\"original_entry_id\">{$entry.entry_id}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 177502 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
(149, 0x61646d696e, 0x63726f6e5f6c697374, 0, '<xf:title>{{ phrase(\'cron_entries\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'cron/add\') }}\" icon=\"add\">{{ phrase(\'add_cron_entry\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$entries is not empty\">\n	<xf:form action=\"{{ link(\'cron/toggle\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-outer\">\n			<xf:macro id=\"filter_macros::quick_filter\" arg-key=\"cron\" arg-class=\"block-outer-opposite\" />\n		</div>\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$entries\" value=\"$cron\">\n						<xf:datarow>\n							<xf:main hash=\"{$cron.entry_id}\" href=\"{{ link(\'cron/edit\', $cron) }}\"\n								label=\"{$cron.title}\"\n								hint=\"{{ $cron.addon_id != \'XF\' ? $cron.AddOn.title : \'\' }}\">\n\n								<xf:explain>\n									<xf:if is=\"{$cron.active}\">\n										<xf:if is=\"{{ !$cron.addon_id OR $cron.AddOn.active }}\">\n											{{ phrase(\'next_run\') . \': \' . date_time($cron.next_run)  }}\n										<xf:else />\n											{{ phrase(\'cron_entry_associated_with_inactive_add_on_cannot_run\') }}\n										</xf:if>\n									</xf:if>\n								</xf:explain>\n							</xf:main>\n							<xf:toggle name=\"active[{$cron.entry_id}]\" selected=\"$cron.active\"\n								class=\"dataList-cell--separated\" submit=\"true\"\n								tooltip=\"{{ phrase(\'enable_disable_x\', {\'title\': $cron.title}) }}\" />\n							<xf:if is=\"{{ !$cron.addon_id OR $cron.AddOn.active }}\">\n								<xf:action href=\"{{ link(\'cron/run\', $cron) }}\" overlay=\"true\"\n									data-xf-init=\"tooltip\" title=\"{{ phrase(\'run_now\') }}\"\n									class=\"dataList-cell--iconic\">\n									<xf:fa icon=\"fa-sync\" /></xf:action>\n							<xf:else />\n								<xf:action></xf:action>\n							</xf:if>\n							<xf:delete href=\"{{ link(\'cron/delete\', $cron) }}\" />\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($entries) }}</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, 40632 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
(150, 0x61646d696e, 0x63726f6e5f72756e, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'cron/run\', $entry) }}\" 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_run_following_cron_entry:\') }}\n				<strong><a href=\"{{ link(\'cron/edit\', $entry) }}\">{$entry.title}</a></strong>\n			</xf:inforow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'run_now\') }}\" rowtype=\"simple\" />\n	</div>\n</xf:form>', 0x[encoded data, 7874 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(151, 0x61646d696e, 0x646174615f706f72746162696c6974795f6578706f7274, 0, '<xf:title>{{ phrase(\'export_user\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'data-portability/export\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow>\n				{{ phrase(\'data_portability_export_explain\') }}\n			</xf:inforow>\n			<xf:textboxrow name=\"username\" value=\"{$user}\" label=\"{{ phrase(\'user_name\') }}\" required=\"required\" ac=\"single\" />\n		</div>\n		<xf:submitrow icon=\"export\" />\n	</div>\n</xf:form>', 0x[encoded data, 7074 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(152, 0x61646d696e, 0x646174615f706f72746162696c6974795f696d706f7274, 0, '<xf:title>{{ phrase(\'import_user\') }}</xf:title>\n\n<xf:form action=\"{{ link($urlPrefix . \'/import\') }}\" upload=\"true\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:uploadrow name=\"upload\" accept=\".xml\"\n				label=\"{{ phrase(\'import_from_uploaded_xml_file\') }}\">\n				<xf:explain>{{ phrase(\'data_portability_import_explain\') }}</xf:explain>\n			</xf:uploadrow>\n		</div>\n		<xf:submitrow icon=\"import\" />\n	</div>\n</xf:form>', 0x[encoded data, 7744 characters], 0x5846, 2000631, '2.0.6 Beta 1', 1748686057),
(153, 0x61646d696e, 0x646973636f75726167655f6970, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'banning/discouraged-ips/add\', null, {\'ip\': $ip}) }}\" ajax=\"true\" data-redirect=\"off\" 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_discourage_following_ip:\') }}\n				<strong><a href=\"{{ link(\'users/ip-users\', null, {\'ip\': $ip}) }}\" dir=\"ltr\">{$ip}</a></strong>\n			</xf:inforow>\n\n			<xf:textboxrow name=\"reason\" hint=\"{{ phrase(\'optional\') }}\" maxlength=\"250\"\n				label=\"{{ phrase(\'reason\') }}\" />\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 10612 characters], 0x5846, 2000370, '2.0.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
(154, 0x61646d696e, 0x646973636f7572616765645f69705f6c697374, 0, '<xf:title>{{ phrase(\'discouraged_ip_addresses\') }}</xf:title>\n\n<xf:pageaction>\n	<div class=\"buttonGroup\">\n		<xf:button href=\"{{ link(\'banning/discouraged-ips/import\') }}\" icon=\"import\" overlay=\"true\" />\n		<xf:if is=\"$discouragedIps is not empty\">\n			<xf:button href=\"{{ link(\'banning/discouraged-ips/export\', null, {\'t\': csrf_token()}) }}\" icon=\"export\" />\n		</xf:if>\n	</div>\n</xf:pageaction>\n\n<xf:if is=\"$discouragedIps is not empty\">\n	<xf:form action=\"{{ link(\'banning/discouraged-ips/delete\') }}\" ajax=\"true\" class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist data-xf-init=\"responsive-data-list\">\n					<colgroup>\n						<col style=\"width: 1%\">\n						<col style=\"width: 15%\">\n						<col style=\"width: 15%\">\n						<col style=\"width: 15%\">\n						<col style=\"width: 15%\">\n						<col>\n					</colgroup>\n					<xf:datarow rowtype=\"header\">\n						<xf:cell><xf:checkbox standalone=\"true\"><xf:option check-all=\"< .block-container\" data-xf-init=\"tooltip\" title=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox></xf:cell>\n						<xf:cell href=\"{{ link(\'banning/discouraged-ips\', \'\', {\'order\': \'start_range\', \'direction\': ($direction == \'desc\' || !$direction)  ? \'asc\' : \'\'}) }}\">\n							{{ phrase(\'ip\') }}\n						</xf:cell>\n						<xf:cell href=\"{{ link(\'banning/discouraged-ips\', \'\', {\'order\': \'\', \'direction\': ($direction == \'desc\' || !$direction)  ? \'asc\' : \'\'}) }}\">\n							{{ phrase(\'date\') }}\n						</xf:cell>\n						<xf:cell href=\"{{ link(\'banning/discouraged-ips\', \'\', {\'order\': \'last_triggered_date\', \'direction\': ($direction == \'desc\' || !$direction)  ? \'asc\' : \'\'}) }}\">\n							{{ phrase(\'last_triggered\') }}\n						</xf:cell>\n						<xf:cell>{{ phrase(\'by\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'reason\') }}</xf:cell>\n					</xf:datarow>\n					<xf:foreach loop=\"$discouragedIps\" value=\"$discouragedIp\">\n						<xf:datarow>\n							<xf:toggle name=\"delete[]\" value=\"{$discouragedIp.ip}\" />\n							<xf:cell class=\"u-ltr\">{$discouragedIp.ip}</xf:cell>\n							<xf:cell>{{ $discouragedIp.create_date ? date($discouragedIp.create_date) : phrase(\'n_a\') }}</xf:cell>\n							<xf:cell>\n								{{ $discouragedIp.last_triggered_date ? date_dynamic($discouragedIp.last_triggered_date) : phrase(\'never\') }}\n							</xf:cell>\n							<xf:cell>{{ $discouragedIp.User ? $discouragedIp.User.username : phrase(\'n_a\') }}</xf:cell>\n							<xf:cell>{{ $discouragedIp.reason ? $discouragedIp.reason : phrase(\'n_a\') }}</xf:cell>\n						</xf:datarow>\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n			<div class=\"block-footer block-footer--split\">\n				<span class=\"block-footer-counter\">{{ display_totals($discouragedIps) }}</span>\n				<span class=\"block-footer-select\"><xf:checkbox standalone=\"true\"><xf:option check-all=\"< .block-container\" label=\"{{ phrase(\'select_all\') }}\" /></xf:checkbox></span>\n				<span class=\"block-footer-controls\"><xf:button type=\"submit\" icon=\"delete\" /></span>\n			</div>\n		</div>\n\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\" link=\"banning/discouraged-ips\"\n			params=\"{{ {\n					\'order\': ($order != \'create_date\' ? $order : \'\'),\n					\'direction\': ($direction != \'desc\' ? $direction : \'\')\n				} }}\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</xf:form>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_ips_have_been_discouraged\') }}</div>\n</xf:if>\n\n<xf:form action=\"{{ link(\'banning/discouraged-ips/add\') }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<h3 class=\"block-header\">{{ phrase(\'add_discouraged_ip\') }}</h3>\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"ip\" value=\"{$ip}\"\n				label=\"{{ phrase(\'ip_to_discourage\') }}\"\n				explain=\"{{ phrase(\'you_may_enter_partial_ip_v4_v6\') }}\"\n				dir=\"ltr\" />\n			<xf:textboxrow name=\"reason\" value=\"{$newIp}\"\n				label=\"{{ phrase(\'reason\') }}\"\n				hint=\"{{ phrase(\'optional\') }}\" />\n		</div>\n		<xf:submitrow icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 70466 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
(155, 0x61646d696e, 0x646973706c61795f6f726465725f6d6163726f73, 0, '<xf:macro id=\"row\"\n	arg-name=\"display_order\"\n	arg-value=\"\"\n	arg-step=\"1\"\n	arg-label=\"{{ phrase(\'display_order\') }}\"\n	arg-hint=\"\"\n	arg-readOnly=\"\"\n	arg-explain=\"\">\n\n	<xf:numberboxrow name=\"{$name}\" value=\"{$value}\" min=\"0\" step=\"{$step}\"\n		label=\"{$label}\"\n		hint=\"{$hint}\"\n		explain=\"{$explain}\"\n		readonly=\"{{ $readOnly ? \'readonly\' : \'\' }}\" />\n</xf:macro>\n\n<xf:macro id=\"input\"\n	arg-name=\"display_order\"\n	arg-value=\"\"\n	arg-step=\"1\"\n	arg-readOnly=\"\">\n\n	<xf:numberbox name=\"{$name}\" value=\"{$value}\" min=\"0\" step=\"{$step}\" readonly=\"{{ $readOnly ? \'readonly\' : \'\' }}\" />\n</xf:macro>', 0x[encoded data, 10470 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(156, 0x61646d696e, 0x6572726f72, 0, '<xf:title>{{ phrase(\'oops_we_ran_into_some_problems\') }}</xf:title>\n\n<div class=\"blockMessage\">\n	<xf:if is=\"$error\">\n		{$error|raw}\n	<xf:else />\n		<ul>\n		<xf:foreach loop=\"$errors\" value=\"$error\">\n			<li>{$error|raw}</li>\n		</xf:foreach>\n		</ul>\n	</xf:if>\n</div>', 0x[encoded data, 5012 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
(157, 0x61646d696e, 0x666565645f65646974, 0, '<xf:if is=\"$feed.isInsert()\">\n	<xf:title>{{ phrase(\'add_feed\') }}</xf:title>\n<xf:else />\n	<xf:title>{{ phrase(\'edit_feed:\') }} {$feed.title}</xf:title>\n</xf:if>\n\n<xf:pageaction if=\"$feed.isUpdate()\">\n	<xf:button href=\"{{ link(\'feeds/delete\', $feed) }}\" icon=\"delete\" overlay=\"true\" />\n</xf:pageaction>\n\n<xf:form action=\"{{ link(\'feeds/save\', $feed) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:if is=\"$feed.feed_id\">\n				<xf:textboxrow name=\"title\" value=\"{$feed}\"\n					label=\"{{ phrase(\'title\') }}\" />\n			</xf:if>\n\n			<xf:textboxrow name=\"url\" value=\"{$feed}\"\n				label=\"{{ phrase(\'url\') }}\"\n				dir=\"ltr\" />\n\n			<xf:selectrow name=\"frequency\" value=\"{$feed}\"\n				label=\"{{ phrase(\'fetch_new_entries_every\') }}\">\n\n				<xf:option value=\"600\">{{ phrase(\'x_minutes\', {\'count\': \'10\'}) }}</xf:option>\n				<xf:option value=\"1200\">{{ phrase(\'x_minutes\', {\'count\': \'20\'}) }}</xf:option>\n				<xf:option value=\"1800\">{{ phrase(\'x_minutes\', {\'count\': \'30\'}) }}</xf:option>\n				<xf:option value=\"3600\">{{ phrase(\'x_minutes\', {\'count\': \'60\'}) }}</xf:option>\n				<xf:option value=\"7200\">{{ phrase(\'x_hours\', {\'count\': \'2\'}) }}</xf:option>\n				<xf:option value=\"14400\">{{ phrase(\'x_hours\', {\'count\': \'4\'}) }}</xf:option>\n				<xf:option value=\"21600\">{{ phrase(\'x_hours\', {\'count\': \'6\'}) }}</xf:option>\n				<xf:option value=\"43200\">{{ phrase(\'x_hours\', {\'count\': \'12\'}) }}</xf:option>\n			</xf:selectrow>\n\n			<xf:if is=\"$feed.feed_id\">\n				<xf:checkboxrow>\n					<xf:option name=\"active\" selected=\"$feed.active\">\n						<xf:label>{{ phrase(\'feed_is_active\') }}</xf:label>\n						<xf:hint>{{ phrase(\'disable_to_prevent_feed_import\') }}</xf:hint>\n					</xf:option>\n				</xf:checkboxrow>\n			<xf:else />\n				<xf:hiddenval name=\"active\">1</xf:hiddenval>\n			</xf:if>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:radiorow name=\"user_id\" value=\"{$feed}\"\n				label=\"{{ phrase(\'posting_user\') }}\">\n\n				<xf:option value=\"0\">{{ phrase(\'post_feed_entries_as_guest\') }}</xf:option>\n				<xf:option value=\"-1\" label=\"{{ phrase(\'post_feed_entries_as_following_user\') }}\" selected=\"{$feed.User}\">\n					<xf:textbox name=\"username\" value=\"{$feed.User.username}\" placeholder=\"{{ phrase(\'user_name...\') }}\" ac=\"single\" />\n				</xf:option>\n			</xf:radiorow>\n\n			<hr class=\"formRowSep\" />\n\n			<xf:selectrow name=\"node_id\" value=\"{$feed}\" id=\"js-nodeList\"\n				label=\"{{ phrase(\'destination_forum\') }}\">\n\n				<xf:foreach loop=\"$forums\" value=\"$forum\">\n					<xf:option value=\"{$forum.value}\" disabled=\"{$forum.disabled}\" label=\"{$forum.label}\" />\n				</xf:foreach>\n				<xf:explain>\n					{{ phrase(\'select_forum_for_feed\') }}\n				</xf:explain>\n			</xf:selectrow>\n\n			<xf:prefixinputrow\n				textbox-name=\"title_template\"\n				textbox-value=\"{$feed.title_template}\"\n				maxlength=\"{{ max_length($feed, \'title_template\') }}\"\n				prefixes=\"{$prefixes}\"\n				prefix-value=\"{$feed.prefix_id}\"\n				type=\"thread\"\n				href=\"{{ link(\'forums/prefixes\') }}\"\n				listen-to=\"#js-nodeList\"\n				label=\"{{ phrase(\'title_template\') }}\"\n				hint=\"{{ phrase(\'optional\') }}\" />\n\n			<xf:textarearow name=\"message_template\" value=\"{$feed}\" rows=\"5\" autosize=\"true\"\n				label=\"{{ phrase(\'message_template\') }}\"\n				hint=\"{{ phrase (\'you_may_use_bb_code\') }}\"\n				explain=\"{{ phrase(\'feed_message_template_explain\') }}\" />\n\n			<hr class=\"formRowSep\" />\n\n			<xf:checkboxrow label=\"{{ phrase(\'options\') }}\">\n\n				<xf:option name=\"discussion_visible\" selected=\"$feed.discussion_visible\">\n					<xf:label>{{ phrase(\'post_immediately\') }}</xf:label>\n					<xf:hint>{{ phrase(\'otherwise_insert_into_moderation_queue\') }}</xf:hint>\n				</xf:option>\n				<xf:option name=\"discussion_open\" selected=\"$feed.discussion_open\">\n					<xf:label>{{ phrase(\'unlocked\') }}</xf:label>\n					<xf:hint>{{ phrase(\'people_may_reply_to_this_thread\') }}</xf:hint>\n				</xf:option>\n				<xf:option name=\"discussion_sticky\" selected=\"$feed.discussion_sticky\">\n					<xf:label>{{ phrase(\'sticky\') }}</xf:label>\n					<xf:hint>{{ phrase(\'sticky_threads_appear_at_top_of_first_page_of_list_of_threads\') }}</xf:hint>\n				</xf:option>\n			</xf:checkboxrow>\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"save\"><xf:html>\n			<xf:button type=\"submit\" name=\"preview\" icon=\"preview\" />\n		</xf:html></xf:submitrow>\n	</div>\n</xf:form>', 0x[encoded data, 75092 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057);
