INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(217, 0x61646d696e, 0x6c6f675f7061796d656e745f70726f76696465725f6c697374, 0, '<xf:title>{{ phrase(\'payment_provider_log\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ link(\'logs/payment-provider/search\') }}\" icon=\"search\">{{ phrase(\'search_logs\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:set var=\"$purchaseRequest\" value=\"{$entry.PurchaseRequest}\" />\n						<xf:datarow>\n							<xf:main href=\"{{ link(\'logs/payment-provider\', $entry) }}\" overlay=\"true\">\n								<xf:label>\n									{{ $entry.log_type == \'payment\' ? phrase(\'payment\')\n										: ($entry.log_type == \'info\' ? phrase(\'information\')\n										: ($entry.log_type == \'error\' ? phrase(\'error\')\n										: ($entry.log_type == \'cancel\' ? phrase(\'cancellation\')\n										: ($entry.log_type))))\n									}}{$xf.language.label_separator}\n									<span dir=\"auto\">{$entry.log_message}</span>\n								</xf:label>\n								<xf:explain>\n									<ul class=\"listInline listInline--bullet\">\n										<li>{{ $purchaseRequest.PaymentProfile.title ?: phrase(\'unknown_payment_profile\') }}</li>\n										<li>{{ $purchaseRequest.Purchasable.title ?: phrase(\'unknown_purchasable\') }}</li>\n										<li><xf:date time=\"{$entry.log_date}\" /></li>\n										<li>{{ $purchaseRequest.User ? $purchaseRequest.User.username : phrase(\'unknown_user\') }}</li>\n									</ul>\n								</xf:explain>\n							</xf:main>\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, $total) }}</span>\n			</div>\n		</div>\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"logs/payment-provider\" params=\"{$linkParams}\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_entries_have_been_logged\') }}</div>\n</xf:if>', 0x[encoded data, 35160 characters], 0x5846, 2000053, '2.0.0 Release Candidate 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
(218, 0x61646d696e, 0x6c6f675f7061796d656e745f70726f76696465725f736561726368, 0, '<xf:title>{{ phrase(\'payment_provider_log_search\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/payment-provider\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow name=\"purchase_request_key\"\n				label=\"{{ phrase(\'purchase_request_key\') }}\" />\n\n			<xf:textboxrow name=\"transaction_id\"\n				label=\"{{ phrase(\'transaction_id\') }}\" />\n\n			<xf:textboxrow name=\"subscriber_id\"\n				label=\"{{ phrase(\'subscriber_id\') }}\" />\n\n			<xf:textboxrow name=\"username\" ac=\"single\"\n				label=\"{{ phrase(\'user\') }}\" />\n\n			<xf:selectrow name=\"payment_profile_id\"\n				label=\"{{ phrase(\'payment_profile\') }}\">\n\n				<xf:option>{{ phrase(\'(any)\') }}</xf:option>\n				<xf:options source=\"$profiles\" />\n			</xf:selectrow>\n\n			<xf:selectrow name=\"purchasable_type_id\"\n				label=\"{{ phrase(\'purchasable_type\') }}\">\n\n				<xf:option label=\"{{ phrase(\'(any)\') }}\" />\n				<xf:options source=\"$purchasables\" />\n			</xf:selectrow>\n		</div>\n		<xf:submitrow sticky=\"true\" icon=\"search\" />\n	</div>\n</xf:form>', 0x[encoded data, 16478 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
(219, 0x61646d696e, 0x6c6f675f7061796d656e745f70726f76696465725f76696577, 0, '<xf:title>{{ phrase(\'payment_provider_log\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'action\') }}\">\n				{{ $entry.log_type == \'payment\' ? phrase(\'payment\')\n					: ($entry.log_type == \'info\' ? phrase(\'information\')\n					: ($entry.log_type == \'error\' ? phrase(\'error\')\n					: ($entry.log_type == \'cancel\' ? phrase(\'cancellation\')\n					: ($entry.log_type))))\n				}}{$xf.language.label_separator}\n				<span dir=\"auto\">{$entry.log_message}</span>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'user\') }}\">\n				<xf:if is=\"$purchaseRequest.User\">\n					<xf:username user=\"$purchaseRequest.User\" href=\"{{ link(\'logs/payment-provider\', null, {\'user_id\': $purchaseRequest.User.user_id}) }}\" />\n				<xf:else />\n					{{ phrase(\'unknown_user\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'date\') }}\">\n				<xf:date time=\"{$entry.log_date}\" />\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'purchase_request_key\') }}\">\n				<xf:if is=\"$entry.purchase_request_key\">\n					<a href=\"{{ link(\'logs/payment-provider\', null, {\'purchase_request_key\': $entry.purchase_request_key}) }}\">\n						{$entry.purchase_request_key}\n					</a>\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'transaction_id\') }}\">\n				<xf:if is=\"$entry.transaction_id\">\n					<a href=\"{{ link(\'logs/payment-provider\', null, {\'transaction_id\': $entry.transaction_id}) }}\">\n						{$entry.transaction_id}\n					</a>\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'subscriber_id\') }}\">\n				<xf:if is=\"$entry.subscriber_id\">\n					<a href=\"{{ link(\'logs/payment-provider\', null, {\'subscriber_id\': $entry.subscriber_id}) }}\">\n						{$entry.subscriber_id}\n					</a>\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</xf:formrow>\n\n			<xf:formrow label=\"{{ phrase(\'payment_profile\') }}\">\n				<xf:if is=\"$purchaseRequest.PaymentProfile\">\n					<a href=\"{{ link(\'logs/payment-provider\', null, {\'payment_profile_id\': $purchaseRequest.PaymentProfile.payment_profile_id}) }}\">\n						{$purchaseRequest.PaymentProfile.title}\n					</a>\n				<xf:else />\n					{{ phrase(\'unknown_profile\') }}\n				</xf:if>\n			</xf:formrow>\n		</div>\n	</div>\n</div>\n\n<xf:if is=\"$purchasable && $purchasableItem\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:formrow label=\"{{ phrase(\'purchasable_details\') }}\">\n					<a href=\"{{ link(\'logs/payment-provider\', null, {\'purchasable_type_id\': {$purchasable.purchasable_type_id}}) }}\">\n						{$purchasable.title}\n					</a>\n				</xf:formrow>\n\n				<xf:formrow label=\"{{ phrase(\'purchasable_item\') }}\">\n					<a href=\"{$purchasableItem.link}\">{$purchasableItem.title}</a>\n				</xf:formrow>\n			</div>\n		</div>\n	</div>\n</xf:if>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<h2 class=\"block-header\">{{ phrase(\'log_details\') }}</h2>\n		<div class=\"block-body block-body--contained block-row\" dir=\"ltr\">\n			{{ dump_simple($entry.log_details) }}\n		</div>\n	</div>\n</div>', 0x[encoded data, 57818 characters], 0x5846, 2010170, '2.1.1', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(220, 0x61646d696e, 0x6c6f675f72656a65637465645f75736572735f6c697374, 0, '<xf:title>{{ phrase(\'rejected_user_log\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:datalist data-xf-init=\"responsive-data-list\">\n				<xf:datarow rowtype=\"header\">\n					<xf:cell colspan=\"2\">{{ phrase(\'rejected_user\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'date\') }}</xf:cell>\n					<xf:cell>{{ phrase(\'rejected_by\') }}</xf:cell>\n					<xf:cell class=\"dataList-cell--min\">&nbsp;</xf:cell>\n				</xf:datarow>\n\n				<xf:foreach loop=\"$rejections\" value=\"$rejection\">\n					<xf:datarow>\n						<xf:cell class=\"dataList-cell--min dataList-cell--image dataList-cell--imageSmall\"\n							href=\"{{ link(\'users/edit\', $rejection.User) }}\">\n							<xf:avatar user=\"$rejection.User\" size=\"s\" href=\"\" />\n						</xf:cell>\n						<xf:cell>\n							<div>\n								<xf:username user=\"$rejection.User\" href=\"{{ link(\'users/edit\', $rejection.User) }}\" />\n							</div>\n						</xf:cell>\n						<xf:cell>\n							<xf:date time=\"{$rejection.reject_date}\" />\n						</xf:cell>\n						<xf:cell>\n							<xf:if is=\"$rejection.reject_user_id\">\n								<xf:username user=\"$rejection.RejectUser\" href=\"{{ link(\'users/edit\', $rejection.RejectUser) }}\" />\n							<xf:else />\n								{{ phrase(\'n_a\') }}\n							</xf:if>\n						</xf:cell>\n						<xf:action href=\"{{ link(\'logs/rejected-users\', $rejection.User) }}\" overlay=\"true\">\n							{{ phrase(\'view\') }}\n						</xf:action>\n					</xf:datarow>\n					<xf:else />\n					<xf:datarow>\n						<xf:cell colspan=\"5\">{{ phrase(\'no_entries_have_been_logged\') }}</xf:cell>\n					</xf:datarow>\n				</xf:foreach>\n			</xf:datalist>\n		</div>\n		<div class=\"block-footer\">\n			<span class=\"block-footer-counter\">{{ display_totals($rejections, $total) }}</span>\n		</div>\n	</div>\n	<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n		link=\"logs/rejected-users\" params=\"{$linkFilters}\"\n		wrapperclass=\"block-outer block-outer--after\" />\n</div>\n', 0x[encoded data, 31706 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
(221, 0x61646d696e, 0x6c6f675f72656a65637465645f75736572735f76696577, 0, '<xf:title>{{ phrase(\'rejected_user_log_entry\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:formrow label=\"{{ phrase(\'rejected_user\') }}\">\n				<xf:username user=\"$entry.User\" href=\"{{ link(\'users/edit\', $entry.User) }}\" />\n			</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'date\') }}\">\n				<xf:date time=\"{$entry.reject_date}\" />\n			</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'rejected_by\') }}\">\n				<xf:if is=\"$entry.reject_user_id\">\n					<xf:username user=\"$entry.RejectUser\" href=\"{{ link(\'users/edit\', $entry.RejectUser) }}\" />\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</xf:formrow>\n			<xf:formrow label=\"{{ phrase(\'reason\') }}\">\n				<xf:if is=\"$entry.reject_reason\">\n					{$entry.reject_reason}\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</xf:formrow>\n		</div>\n	</div>\n</div>', 0x[encoded data, 16852 characters], 0x5846, 2010870, '2.1.8', 1748686057),
(222, 0x61646d696e, 0x6c6f675f736561726368, 0, '<xf:title>{{ phrase(\'search_logs\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/search\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textboxrow type=\"search\" name=\"q\" value=\"{$q}\" label=\"{{ phrase(\'search\') }}\" autocomplete=\"off\" />\n\n			<xf:formrow rowtype=\"input\"\n				label=\"{{ phrase(\'log_date_between\') }}\"\n				hint=\"{{ phrase(\'optional\') }}\">\n\n				<div class=\"inputGroup\">\n					<xf:dateinput name=\"start\" value=\"{$start}\" size=\"15\" />\n					<span class=\"inputGroup-text\">-</span>\n					<xf:dateinput name=\"end\" value=\"{$end}\" size=\"15\" />\n				</div>\n			</xf:formrow>\n\n			<xf:checkboxrow label=\"{{ phrase(\'search_logs\') }}\" listclass=\"js-contentTypes listColumns\">\n				<xf:hint>\n					<xf:checkbox standalone=\"true\">\n						<xf:option check-all=\".js-contentTypes\" label=\"{{ phrase(\'select_all\') }}\" />\n					</xf:checkbox>\n				</xf:hint>\n				<xf:foreach loop=\"$typeOptions\" key=\"$type\" value=\"$name\">\n					<xf:option name=\"typeChoices[]\" value=\"{$type}\" label=\"{$name}\" selected=\"{{ in_array($type, $typeChoices) }}\" />\n				</xf:foreach>\n			</xf:checkboxrow>\n\n			<xf:submitrow submit=\"{{ phrase(\'search_logs\') }}\" fa=\"fa-file-search\" />\n		</div>\n	</div>\n</xf:form>\n\n<xf:if is=\"$resultTypeSets\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<h2 class=\"block-header\">{{ phrase(\'search_results\') }}</h2>\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$resultTypeSets\" value=\"$resultType\">\n						{{ $resultType.render(templater()) }}\n					</xf:foreach>\n				</xf:datalist>\n			</div>\n		</div>\n	</div>\n</xf:if>', 0x[encoded data, 24276 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
(223, 0x61646d696e, 0x6c6f675f7365617263685f74797065, 0, '<tbody class=\"dataList-rowGroup\">\n	<xf:datarow rowtype=\"subsection\" rowclass=\"dataList-row--noHover\">\n		<xf:cell>{$typeName}</xf:cell>\n	</xf:datarow>\n	<xf:foreach loop=\"$results\" value=\"$result\">\n		<xf:datarow>\n			<xf:main href=\"{$result.link}\" overlay=\"true\">\n				<xf:label>\n					<xf:if is=\"is_array($result.label)\">\n						<ul class=\"listInline listInline--selfInline listInline--bullet\">\n							<xf:foreach loop=\"$result.label\" value=\"$label\">\n								<li>{$label}</li>\n							</xf:foreach>\n						</ul>\n					<xf:else />\n						{$result.label}\n					</xf:if>\n				</xf:label>\n				<xf:hint>{$result.hint}</xf:hint>\n				<xf:explain>\n					<ul class=\"listInline listInline--bullet\">\n						<li><xf:date time=\"$result.date\" /></li>\n						<xf:if is=\"$result.User\"><li>{$result.User.username}</li></xf:if>\n						<xf:if is=\"$result.ip\"><li>{$result.ip|ip}</li></xf:if>\n					</ul>\n				</xf:explain>\n			</xf:main>\n		</xf:datarow>\n	</xf:foreach>\n</tbody>', 0x[encoded data, 16710 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686057),
(224, 0x61646d696e, 0x6c6f675f7365727665725f6572726f725f636c656172, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/server-errors/clear\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'sure_you_want_to_clear_server_error_log\') }}\n			</xf:inforow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'clear\') }}\" rowtype=\"simple\" icon=\"delete\" />\n	</div>\n</xf:form>', 0x[encoded data, 6244 characters], 0x5846, 2000010, '2.0.0 Alpha', 1748686057),
(225, 0x61646d696e, 0x6c6f675f7365727665725f6572726f725f6c697374, 0, '<xf:title>{{ phrase(\'server_error_log\') }}</xf:title>\n\n<xf:pageaction if=\"$entries is not empty\">\n	<xf:button href=\"{{ link(\'logs/server-errors/clear\') }}\" icon=\"delete\" overlay=\"true\">\n		{{ phrase(\'clear\') }}\n	</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:datarow overlay=\"true\"\n							label=\"{{ $entry.message ?: \'&nbsp;\' }}\"\n							href=\"{{ link(\'logs/server-errors\', $entry) }}\"\n							delete=\"{{ link(\'logs/server-errors/delete\', $entry) }}\"\n							dir=\"auto\">\n							<xf:explain>\n								<ul class=\"listInline listInline--bullet\">\n									<li><xf:date time=\"{$entry.exception_date}\" /></li>\n									<li>{$entry.filename}:{$entry.line}</li>\n								</ul>\n							</xf:explain>\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, $total) }}</span>\n			</div>\n		</div>\n\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"logs/server-error\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_errors_have_been_logged\') }}</div>\n</xf:if>', 0x[encoded data, 19540 characters], 0x5846, 2010870, '2.1.8', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(226, 0x61646d696e, 0x6c6f675f7365727665725f6572726f725f76696577, 0, '<xf:title>{{ phrase(\'server_error_log\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body block-row\">\n			<ul class=\"listInline listInline--bullet u-ltr\">\n				<li><span class=\"u-dimmed\">{$entry.exception_type}:</span> {$entry.message}</li>\n				<li class=\"u-dimmed\">{$entry.filename}:{$entry.line}</li>\n			</ul>\n			<ul class=\"listInline listInline--bullet u-muted\">\n				<li class=\"u-muted\">{{ phrase(\'generated_by:\') }} {{ $entry.User ? \'<a href=\"\' . link(\'users/edit\', $entry.User) . \'\">\' . $entry.User.username . \'</a>\' : phrase(\'unknown_account\') }}</li>\n				<li>{{ date_time($entry.exception_date) }}</li>\n			</ul>\n		</div>\n\n		<h3 class=\"block-minorHeader\">{{ phrase(\'stack_trace\') }}</h3>\n		<div class=\"block-body block-body--contained block-row\" dir=\"ltr\">\n			<pre>{$entry.trace_string}</pre>\n		</div>\n\n		<h3 class=\"block-minorHeader\">{{ phrase(\'request_state\') }}</h3>\n		<div class=\"block-body block-body--contained block-row\" dir=\"ltr\">\n			{{ dump_simple($entry.request_state) }}\n		</div>\n\n		<div class=\"block-footer\">\n			<span class=\"block-footer-controls\"><xf:button href=\"{{ link(\'logs/server-errors/delete\', $entry) }}\" icon=\"delete\" overlay=\"true\" /></span>\n		</div>\n	</div>\n</div>', 0x[encoded data, 18638 characters], 0x5846, 2000033, '2.0.0 Beta 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
(227, 0x61646d696e, 0x6c6f675f736974656d61705f6c697374, 0, '<xf:title>{{ phrase(\'sitemap_log\') }}</xf:title>\n\n<xf:pageaction>\n	<xf:button href=\"{{ base_url(\'sitemap.php\') }}\" icon=\"export\">{{ phrase(\'download_sitemap\') }}</xf:button>\n</xf:pageaction>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist data-xf-init=\"responsive-data-list\">\n					<xf:datarow rowtype=\"header\">\n						<xf:cell>{{ phrase(\'start_date\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'completion_date\') }}</xf:cell>\n						<xf:cell class=\"dataList-cell--min\">{{ phrase(\'total_files\') }}</xf:cell>\n						<xf:cell class=\"dataList-cell--min\">{{ phrase(\'total_urls\') }}</xf:cell>\n						<xf:cell class=\"dataList-cell--min\">{{ phrase(\'compressed\') }}</xf:cell>\n					</xf:datarow>\n\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:datarow rowclass=\"{{ $entry.is_active ? \'dataList-row--highlighted\' : \'\' }}\">\n							<xf:cell>\n								<xf:date time=\"{$entry.sitemap_id}\" data-full-date=\"true\" />\n							</xf:cell>\n							<xf:cell>\n								<xf:if is=\"$entry.complete_date\">\n									<xf:date time=\"{$entry.complete_date}\" data-full-date=\"true\" />\n								<xf:else />\n									{{ phrase(\'n_a\') }}\n								</xf:if>\n							</xf:cell>\n							<xf:cell>{$entry.file_count|number}</xf:cell>\n							<xf:cell>{$entry.entry_count|number}</xf:cell>\n							<xf:cell>{{ $entry.is_compressed ? phrase(\'yes\') : phrase(\'no\') }}</xf:cell>\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, $total) }}</span>\n			</div>\n		</div>\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'there_no_sitemap_logs_to_display\') }}</div>\n</xf:if>', 0x[encoded data, 30156 characters], 0x5846, 2000270, '2.0.2', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(228, 0x61646d696e, 0x6c6f675f7370616d5f636c65616e65725f6c697374, 0, '<xf:title>{{ phrase(\'spam_cleaner_log\') }}</xf:title>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist data-xf-init=\"responsive-data-list\">\n					<xf:datarow rowtype=\"header\">\n						<xf:cell>{{ phrase(\'user\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'applied_by\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'application_date\') }}</xf:cell>\n						<xf:cell>{{ phrase(\'restored\') }}</xf:cell>\n						<xf:cell class=\"dataList-cell--min\">&nbsp;</xf:cell>\n					</xf:datarow>\n\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:datarow>\n							<xf:cell>\n								<xf:username user=\"$entry.User\"\n									defaultname=\"{$entry.username}\"\n									href=\"{{ $entry.User ? link(\'users/edit\', $entry.User) : null }}\" />\n							</xf:cell>\n\n							<xf:cell>\n								<xf:username user=\"$entry.ApplyingUser\"\n									defaultname=\"{$entry.applying_username}\"\n									href=\"{{ $entry.ApplyingUser ? link_type(\'public\', \'members\', $entry.ApplyingUser) : null }}\" />\n							</xf:cell>\n\n							<xf:cell>\n								<xf:date time=\"$entry.application_date\" />\n							</xf:cell>\n\n							<xf:cell>\n								<xf:if is=\"$entry.restored_date\">\n									<xf:date time=\"$entry.restored_date\" />\n								<xf:else />\n									{{ phrase(\'no\') }}\n								</xf:if>\n							</xf:cell>\n\n							<xf:cell href=\"{{ link(\'logs/spam-cleaner/restore\', $entry) }}\" overlay=\"true\"\n								class=\"dataList-cell--action\">\n								{{ phrase(\'restore\') }}\n							</xf:cell>\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, $total) }}</span>\n			</div>\n		</div>\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"logs/spam-cleaner\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_entries_have_been_logged\') }}</div>\n</xf:if>', 0x[encoded data, 32734 characters], 0x5846, 2000270, '2.0.2', 1748686057),
(229, 0x61646d696e, 0x6c6f675f7370616d5f636c65616e65725f726573746f7265, 0, '<xf:title>{{ phrase(\'confirm_action\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/spam-cleaner/restore\', $entry) }}\" ajax=\"true\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				<xf:if is=\"$entry.User\">\n					{{ phrase(\'please_confirm_that_you_want_to_restore_data_and_status_of_user:\') }}\n					<strong><a href=\"{{ link(\'users/edit\', $entry.User) }}\">{$entry.User.username}</a></strong>\n				<xf:else />\n					{{ phrase(\'please_confirm_that_you_want_to_restore_data_of_following_user:\') }}\n					<strong>{$entry.username}</strong>\n				</xf:if>\n			</xf:inforow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'restore\') }}\" rowtype=\"simple\" />\n	</div>\n</xf:form>', 0x[encoded data, 11678 characters], 0x5846, 2000270, '2.0.2', 1748686057);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(230, 0x61646d696e, 0x6c6f675f7370616d5f747269676765725f6c697374, 0, '<xf:title>{{ phrase(\'spam_trigger_log\') }}</xf:title>\n\n<xf:if is=\"$entries is not empty\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:datalist>\n					<xf:foreach loop=\"$entries\" value=\"$entry\">\n						<xf:datarow\n							label=\"{{ $entry.User ? $entry.User.username : phrase(\'unknown_account\') }} - {$entry.details}\"\n							href=\"{{ link(\'logs/spam-trigger\', $entry) }}\"\n							overlay=\"true\">\n							<xf:explain>\n								<ul class=\"listInline listInline--bullet\">\n									<li>{{ $entry.result == \'moderated\' ? phrase(\'moderated\') : phrase(\'rejected\') }}</li>\n									<li><xf:date time=\"$entry.log_date\" /></li>\n									<li>{{ phrase(\'content:\') }} {{ $xf.app.getContentTypePhrase($entry.content_type) ?: $entry.content_type }}</li>\n								</ul>\n							</xf:explain>\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, $total) }}</span>\n			</div>\n		</div>\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"logs/spam-trigger\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_entries_have_been_logged\') }}</div>\n</xf:if>', 0x[encoded data, 21050 characters], 0x5846, 2020370, '2.2.3', 1748686057),
(231, 0x61646d696e, 0x6c6f675f7370616d5f747269676765725f76696577, 0, '<xf:title>{{ phrase(\'spam_trigger_log\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body block-row\">\n			<ul class=\"listInline listInline--bullet\">\n				<li><span class=\"u-dimmed\">{{ phrase(\'action:\') }}</span> {{ $entry.result == \'moderated\' ? phrase(\'moderated\') : phrase(\'rejected\') }}</li>\n				<li class=\"u-dimmed\">{$entry.details}</li>\n			</ul>\n			<ul class=\"listInline listInline--bullet u-muted\">\n				<li class=\"u-muted\">{{ phrase(\'generated_by:\') }} {{ $entry.User ? \'<a href=\"\' . link(\'users/edit\', $entry.User) . \'\">\' . $entry.User.username . \'</a>\' : phrase(\'unknown_account\') }}</li>\n				<li><xf:date time=\"$entry.log_date\" /></li>\n				<li>{{ phrase(\'content:\') }} {{ $xf.app.getContentTypePhrase($entry.content_type) ?: $entry.content_type }}</li>\n			</ul>\n		</div>\n\n		<h3 class=\"block-minorHeader\">{{ phrase(\'request_state\') }}</h3>\n		<div class=\"block-body block-body--contained block-row\" dir=\"ltr\">\n			{{ dump_simple($entry.request_state) }}\n		</div>\n	</div>\n</div>', 0x[encoded data, 19134 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
(232, 0x61646d696e, 0x6c6f675f757365725f6368616e67655f6c697374, 0, '<xf:title>{{ phrase(\'user_change_log\') }}</xf:title>\n\n<xf:form action=\"{{ link(\'logs/user-change\') }}\" class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body block-row\">\n			<xf:textbox name=\"username\" value=\"{{ $limitUser ? $limitUser.username : \'\' }}\"\n				ac=\"single\" class=\"input--inline\"\n				placeholder=\"{{ phrase(\'user_name...\') }}\" />\n			<xf:button type=\"submit\">{{ phrase(\'show_changes\') }}</xf:button>\n		</div>\n	</div>\n</xf:form>\n\n<xf:if is=\"$changesGrouped\">\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:macro id=\"user_change_log::change_log_list\" arg-changesGrouped=\"{$changesGrouped}\" />\n			</div>\n			<div class=\"block-footer\">\n				<span class=\"block-footer-counter\">{{ display_totals($totalChanges, $total) }}</span>\n			</div>\n		</div>\n\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\"\n			link=\"logs/user-change\" params=\"{$linkFilters}\"\n			wrapperclass=\"block-outer block-outer--after\" />\n	</div>\n<xf:else />\n	<div class=\"blockMessage\">{{ phrase(\'no_changes_have_been_logged\') }}</div>\n</xf:if>', 0x[encoded data, 14424 characters], 0x5846, 2030038, '2.3.0 Beta 8', 1748686057);
