INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1097, 0x7075626c6963, 0x7265706f72742e6c657373, 0, '.js-handleToggle\n{\n	display: none;\n\n	&.is-active\n	{\n		display: block;\n	}\n}', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a37343a222e6a732d68616e646c65546f67676c650a7b0a09646973706c61793a206e6f6e653b0a0a09262e69732d6163746976650a097b0a0909646973706c61793a20626c6f636b3b0a097d0a7d223b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686065),
(1098, 0x7075626c6963, 0x7265706f72745f636f6e74656e745f636f6e766572736174696f6e5f6d657373616765, 0, '<div class=\"block-row block-row--separated\">\n	{{ bb_code($report.content_info.message, \'conversation_message\', $content ?: $report.User) }}\n</div>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a34363a223c64697620636c6173733d22626c6f636b2d726f7720626c6f636b2d726f772d2d736570617261746564223e0a09223b7d693a313b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a323b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a373a2262625f636f6465223b733a393a22617267756d656e7473223b613a333a7b693a303b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a363a227265706f7274223b733a31303a2264696d656e73696f6e73223b613a323a7b693a303b613a323a7b693a303b733a353a226172726179223b693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a31323a22636f6e74656e745f696e666f223b7d7d693a313b613a323a7b693a303b733a353a226172726179223b693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a373a226d657373616765223b7d7d7d733a373a2266696c74657273223b613a303a7b7d7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a32303a22636f6e766572736174696f6e5f6d657373616765223b7d693a323b4f3a34383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5465726e61727953686f72744f70657261746f72223a333a7b733a343a226c696e65223b693a323b733a393a22636f6e646974696f6e223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a373a22636f6e74656e74223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d733a353a2266616c7365223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a363a227265706f7274223b733a31303a2264696d656e73696f6e73223b613a313a7b693a303b613a323a7b693a303b733a353a226172726179223b693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a343a2255736572223b7d7d7d733a373a2266696c74657273223b613a303a7b7d7d7d7d7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a373a220a3c2f6469763e223b7d7d7d, 0x5846, 2000038, '2.0.0 Beta 8', 1748686065),
(1099, 0x7075626c6963, 0x7265706f72745f636f6e74656e745f706f7374, 0, '<div class=\"block-row block-row--separated\">\n	{{ bb_code($report.content_info.message, \'post\', $content ?: $report.User) }}\n</div>\n<div class=\"block-row block-row--separated block-row--minor\">\n	<dl class=\"pairs pairs--inline\">\n		<dt>{{ phrase(\'forum\') }}</dt>\n		<dd><a href=\"{{ link(\'forums\', $report.content_info) }}\">{$report.content_info.node_title}</a></dd>\n	</dl>\n</div>', 0x[encoded data, 6016 characters], 0x5846, 2000038, '2.0.0 Beta 8', 1748686065),
(1100, 0x7075626c6963, 0x7265706f72745f636f6e74656e745f70726f66696c655f706f7374, 0, '<div class=\"block-row block-row--separated\">\n	{{ bb_code($report.content_info.message, \'profile_post\', $content ?: $report.User) }}\n</div>\n\n<xf:if is=\"$report.content_info.user\">\n	<xf:if is=\"$report.content_info.user.user_id != $report.content_info.profileUser.user_id\">\n		<div class=\"block-row block-row--separated block-row--minor\">\n			<dl class=\"pairs pairs--inline\">\n				<dt>{{ phrase(\'receiving_member\') }}</dt>\n				<dd><a href=\"{{ link(\'members\', $report.content_info.profileUser) }}\">{$report.content_info.profileUser.username}</a></dd>\n			</dl>\n		</div>\n	</xf:if>\n<xf:else />\n	<div class=\"block-row block-row--separated block-row--minor\">\n		<dl class=\"pairs pairs--inline\">\n			<dt>{{ phrase(\'receiving_member\') }}</dt>\n			<dd>{$report.content_info.profile_username}</dd>\n		</dl>\n	</div>\n</xf:if>', 0x[encoded data, 10966 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686065),
(1101, 0x7075626c6963, 0x7265706f72745f636f6e74656e745f70726f66696c655f706f73745f636f6d6d656e74, 0, '<div class=\"block-row block-row--separated\">\n	{{ bb_code($report.content_info.message, \'profile_post_comment\', $content ?: $report.User) }}\n</div>\n\n<xf:if is=\"$report.content_info.user\">\n	<xf:if is=\"$report.content_info.user.user_id != $report.content_info.profileUser.user_id\">\n		<div class=\"block-row block-row--separated block-row--minor\">\n			<dl class=\"pairs pairs--inline\">\n				<dt>{{ phrase(\'profile_post\') }}</dt>\n				<dd><a href=\"{{ link(\'profile-posts\', $report.content_info) }}\">{{ phrase(\'profile_post_for_x\', {\'username\': {$report.content_info.profileUser.username}}) }}</a></dd>\n			</dl>\n		</div>\n	</xf:if>\n<xf:else />\n	<div class=\"block-row block-row--separated block-row--minor\">\n		<dl class=\"pairs pairs--inline\">\n			<dt>{{ phrase(\'profile_post\') }}</dt>\n			<dd><a href=\"{{ link(\'profile-posts\', $report.content_info) }}\">{{ phrase(\'profile_post_for_x\', {\'username\': {$report.content_info.profile_username}}) }}</a></dd>\n		</dl>\n	</div>\n</xf:if>', 0x[encoded data, 13960 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686065),
(1102, 0x7075626c6963, 0x7265706f72745f636f6e74656e745f75736572, 0, '<xf:set var=\"$user\" value=\"{{ $report.getContent() }}\" />\n\n<div class=\"block-row block-row--separated block-row--minor\">\n	<div>\n		<dl class=\"pairs pairs--inline\">\n			<dt>{{ phrase(\'joined\') }}</dt>\n			<dd><xf:date time=\"$user.register_date\" /></dd>\n		</dl>\n	</div>\n	\n	<xf:if contentcheck=\"true\">\n		<div>\n			<dl class=\"pairs pairs--inline\">\n				<dt>{{ phrase(\'last_seen\') }}</dt>\n				<dd dir=\"auto\">\n					<xf:contentcheck><xf:useractivity user=\"$user\" /></xf:contentcheck>\n				</dd>\n			</dl>\n		</div>\n	</xf:if>\n</div>', 0x[encoded data, 6480 characters], 0x5846, 2010870, '2.1.8', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1103, 0x7075626c6963, 0x7265706f72745f637265617465, 0, '<xf:title>{{ phrase(\'report_content\') }}</xf:title>\n\n<xf:form action=\"{$confirmUrl}\" class=\"block\" ajax=\"true\"\n	data-skip-overlay-redirect=\"true\">\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:textarearow name=\"message\" autosize=\"true\" autofocus=\"autofocus\"\n				label=\"{{ phrase(\'report_reason\') }}\" />\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'report_verb\') }}\" />\n	</div>\n</xf:form>', 0x[encoded data, 5806 characters], 0x5846, 2010036, '2.1.0 Beta 6', 1748686065),
(1104, 0x7075626c6963, 0x7265706f72745f6c697374, 0, '<xf:title>{{ phrase(\'reported_items\') }}</xf:title>\n\n<div class=\"block\">\n	<div class=\"block-outer\">\n		<div class=\"block-outer-opposite\">\n			<xf:button class=\"button--link menuTrigger\" data-xf-click=\"menu\" aria-expanded=\"false\" aria-haspopup=\"true\">{{ phrase(\'find_reports\') }}</xf:button>\n			<xf:macro id=\"report_list_macros::search_menu\" />\n		</div>\n	</div>\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs\">\n			<a href=\"{{ link(\'reports\') }}\" class=\"tabs-tab is-active\">{{ phrase(\'active_reports\') }}</a>\n			<a href=\"{{ link(\'reports/closed\') }}\" class=\"tabs-tab\">{{ phrase(\'closed_reports\') }}</a>\n		</h2>\n		<div class=\"block-body\">\n			<xf:if is=\"$openReports is not empty\">\n				<div class=\"structItemContainer\">\n					<xf:foreach loop=\"$openReports\" value=\"$report\">\n						<xf:macro id=\"report_list_macros::item\" arg-report=\"{$report}\" />\n					</xf:foreach>\n				</div>\n			<xf:else />\n				<div class=\"block-row\">{{ phrase(\'there_no_active_reports_requiring_your_attention\') }}</div>\n			</xf:if>\n		</div>\n	</div>\n</div>\n\n<div class=\"block\">\n	<xf:if is=\"$closedReports is not empty\">\n		<div class=\"block-container\">\n			<h3 class=\"block-header\">\n				{{ phrase(\'recently_closed_reports\') }}\n			</h3>\n			<div class=\"block-body\">\n				<div class=\"structItemContainer\">\n					<xf:foreach loop=\"$closedReports\" value=\"$report\">\n						<xf:macro id=\"report_list_macros::item\" arg-report=\"{$report}\" />\n					</xf:foreach>\n				</div>\n			</div>\n		</div>\n	</xf:if>\n</div>', 0x[encoded data, 16860 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1105, 0x7075626c6963, 0x7265706f72745f6c6973745f636c6f736564, 0, '<xf:title>{{ phrase(\'closed_reports_x_y\', {\'from\': date($timeFrame.0), \'to\': date($timeFrame.1)}) }}</xf:title>\n\n<xf:breadcrumb href=\"{{ link(\'reports\') }}\">{{ phrase(\'reports\') }}</xf:breadcrumb>\n\n<div class=\"block\">\n	<div class=\"block-outer\">\n		<div class=\"block-outer-opposite\">\n			<xf:button class=\"button--link menuTrigger\" data-xf-click=\"menu\" aria-expanded=\"false\" aria-haspopup=\"true\">{{ phrase(\'find_reports\') }}</xf:button>\n			<xf:macro id=\"report_list_macros::search_menu\" />\n		</div>\n	</div>\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs\">\n			<a href=\"{{ link(\'reports\') }}\" class=\"tabs-tab\">{{ phrase(\'active_reports\') }}</a>\n			<a href=\"{{ link(\'reports/closed\') }}\" class=\"tabs-tab is-active\">{{ phrase(\'closed_reports\') }}</a>\n		</h2>\n		<div class=\"block-body\">\n			<xf:if is=\"$reports is not empty\">\n				<div class=\"structItemContainer\">\n					<xf:foreach loop=\"$reports\" value=\"$report\">\n						<xf:macro id=\"report_list_macros::item\" arg-report=\"{$report}\" />\n					</xf:foreach>\n				</div>\n			<xf:else />\n				<div class=\"block-row\">{{ phrase(\'no_reports_have_been_closed_during_this_period\') }}</div>\n			</xf:if>\n		</div>\n		<div class=\"block-footer\">\n			<span class=\"block-footer-controls\">\n				<xf:button href=\"{{ link(\'reports/closed\', null, {\'page\': $page + 1}) }}\">&larr; {{ phrase(\'older\') }}</xf:button>\n				<xf:if is=\"$page > 1\">\n					<xf:button href=\"{{ link(\'reports/closed\', null, {\'page\': $page - 1}) }}\">{{ phrase(\'newer\') }} &rarr;</xf:button>\n				</xf:if>\n			</span>\n		</div>\n	</div>\n</div>', 0x[encoded data, 24278 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1106, 0x7075626c6963, 0x7265706f72745f6c6973745f6d6163726f73, 0, '<xf:macro id=\"item\"\n	arg-report=\"!\">\n\n	<xf:css src=\"structured_list.less\" />\n\n	<div class=\"structItem structItem--report {{ ($report.canView($report) && $report.isAssignedTo()) ? \'is-highlighted\' : \'\' }}\">\n		<div class=\"structItem-cell structItem-cell--icon\">\n			<div class=\"structItem-iconContainer\">\n				<xf:avatar user=\"$report.User\" size=\"s\" />\n			</div>\n		</div>\n		<div class=\"structItem-cell structItem-cell--main\" data-xf-init=\"touch-proxy\">\n			<a href=\"{{ link(\'reports\', $report) }}\" class=\"structItem-title\" data-tp-primary=\"on\">\n				<xf:if is=\"$report.canView($report)\">\n					{$report.title}\n				<xf:else />\n					{{ phrase(\'unknown_content\') }}\n				</xf:if>\n			</a>\n\n			<div class=\"structItem-minor\">\n				<ul class=\"structItem-extraInfo\">\n					<li>\n						{{ $report.getReportState() }}\n						<xf:if is=\"$report.assigned_user_id && $report.canView($report)\">\n							{$report.AssignedUser.username|parens}\n						</xf:if>\n					</li>\n				</ul>\n\n				<ul class=\"structItem-parts\">\n					<li><xf:username user=\"$report.User\" defaultname=\"{{ phrase(\'unknown_member\') }}\" /></li>\n					<li class=\"structItem-startDate\"><a href=\"{{ link(\'reports\', $report) }}\" rel=\"nofollow\"><xf:date time=\"{$report.first_report_date}\" /></a></li>\n				</ul>\n			</div>\n		</div>\n		<div class=\"structItem-cell structItem-cell--meta\">\n			<dl class=\"pairs pairs--justified\">\n				<dt>{{ phrase(\'reports\') }}</dt>\n				<dd>{$report.report_count|number}</dd>\n			</dl>\n			<dl class=\"pairs pairs--justified structItem-minor\">\n				<dt>{{ phrase(\'comments\') }}</dt>\n				<dd>{$report.comment_count|number}</dd>\n			</dl>\n		</div>\n		<div class=\"structItem-cell structItem-cell--latest\">\n			<a href=\"{{ link(\'reports\', $report) }}\" rel=\"nofollow\"><xf:date time=\"{$report.last_modified_date}\" class=\"structItem-latestDate\" /></a>\n			<div class=\"structItem-minor\">\n				<xf:if is=\"$report.canView($report)\">\n					<xf:username user=\"{$report.last_modified_cache}\" />\n				<xf:else />\n					{{ phrase(\'n_a\') }}\n				</xf:if>\n			</div>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"search_menu\">\n	<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\">\n		<xf:form action=\"{{ link(\'reports/search\') }}\" class=\"menu-content\">\n			<div class=\"menu-row\">\n				{{ phrase(\'find_reports_for_member:\') }}\n				<xf:textbox name=\"username\" ac=\"single\" maxlength=\"{{ max_length($xf.visitor, \'username\') }}\" />\n			</div>\n			<div class=\"menu-footer\">\n				<span class=\"menu-footer-controls\"><xf:button type=\"submit\" class=\"button--primary\" icon=\"search\" /></span>\n			</div>\n		</xf:form>\n	</div>\n</xf:macro>', 0x[encoded data, 33900 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1107, 0x7075626c6963, 0x7265706f72745f736561726368, 0, '<xf:title>{{ phrase(\'xs_reported_content\', {\'name\': $user.username}) }}</xf:title>\n\n<xf:breadcrumb href=\"{{ link(\'reports\') }}\">{{ phrase(\'reports\') }}</xf:breadcrumb>\n\n<div class=\"block\">\n	<div class=\"block-outer\"><xf:trim>\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\" link=\"reports/search\" params=\"{{ {\'username\': $user.username} }}\" wrapperclass=\"block-outer-main\" />\n	</xf:trim></div>\n\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<div class=\"structItemContainer\">\n				<xf:foreach loop=\"$reports\" value=\"$report\">\n					<xf:macro id=\"report_list_macros::item\"\n						arg-report=\"{$report}\" />\n				</xf:foreach>\n			</div>\n		</div>\n	</div>\n\n	<div class=\"block-outer block-outer--after\">\n		<xf:pagenav page=\"{$page}\" perpage=\"{$perPage}\" total=\"{$total}\" link=\"reports/search\" params=\"{{ {\'username\': $user.username} }}\" wrapperclass=\"block-outer-main\" />\n		<xf:showignored wrapperclass=\"block-outer-opposite\" />\n	</div>\n</div>', 0x[encoded data, 13930 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1108, 0x7075626c6963, 0x7265706f72745f76696577, 0, '<xf:title>{{ phrase(\'reported_content:\') }} {$report.title}</xf:title>\n<xf:h1>{$report.title}</xf:h1>\n\n<xf:breadcrumb href=\"{{ link(\'reports\') }}\">{{ phrase(\'reports\') }}</xf:breadcrumb>\n<xf:css src=\"message.less\" />\n<xf:css src=\"report.less\" />\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<div class=\"block-row block-row--separated block-row--alt\">\n				<xf:set var=\"$extra\">\n					<xf:if is=\"$report.User AND $xf.visitor.canCleanSpam() AND $report.User.isPossibleSpammer()\">\n						<xf:button class=\"button--link\" href=\"{{ link(\'spam-cleaner\', $report.User) }}\" data-xf-click=\"overlay\">{{ phrase(\'spam\') }}</xf:button>\n					</xf:if>\n				</xf:set>\n				<xf:macro id=\"member_list_macros::item\" arg-user=\"{$report.User}\" arg-extraData=\"{$extra}\" />\n			</div>\n			{$handler.render($report)|raw}\n		</div>\n		<xf:if is=\"$report.link\">\n			<div class=\"block-footer\">\n				<span class=\"block-footer-controls\"><xf:button href=\"{$report.link}\">{{ phrase(\'go_to_content\') }}</xf:button></span>\n			</div>\n		</xf:if>\n	</div>\n</div>\n\n<div class=\"blockMessage\">\n	<div class=\"pairJustifier\">\n		<dl class=\"pairs pairs--rows\">\n			<dt>{{ phrase(\'created\') }}</dt>\n			<dd><xf:date time=\"$report.first_report_date\" /></dd>\n		</dl>\n		<dl class=\"pairs pairs--rows\">\n			<dt>{{ phrase(\'reports\') }}</dt>\n			<dd>{$report.report_count|number}</dd>\n		</dl>\n		<dl class=\"pairs pairs--rows\">\n			<dt>{{ phrase(\'comments\') }}</dt>\n			<dd>{$report.comment_count|number}</dd>\n		</dl>\n		<dl class=\"pairs pairs--rows\">\n			<dt>{{ phrase(\'status\') }}</dt>\n			<dd>\n				{$report.getReportState()}\n				<xf:if is=\"$report.report_state == \'assigned\'\">\n					{$xf.language.parenthesis_open}<xf:username user=\"$report.AssignedUser\" />{$xf.language.parenthesis_close}\n				</xf:if>\n			</dd>\n		</dl>\n		<dl class=\"pairs pairs--rows\">\n			<dt>{{ phrase(\'updated\') }}</dt>\n			<dd><xf:date time=\"$report.last_modified_date\" /></dd>\n		</dl>\n	</div>\n</div>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n		<h3 class=\"block-header\">{{ phrase(\'comments\') }}</h3>\n\n		<div class=\"block-body\">\n			<xf:foreach loop=\"$comments\" value=\"$comment\">\n				<article class=\"message message--simple\">\n					<div class=\"message-inner\">\n						<div class=\"message-cell message-cell--user\">\n							<xf:macro id=\"message_macros::user_info_simple\" arg-user=\"{$comment.User}\"  arg-fallbackName=\"{$comment.username}\" />\n						</div>\n						<div class=\"message-cell message-cell--main\">\n							<span class=\"u-anchorTarget\" id=\"report-comment-{$comment.report_comment_id}\"></span>\n							<div class=\"message-content\">\n								<header class=\"message-attribution message-attribution--plain\">\n									<ul class=\"listInline listInline--bullet\">\n										<li class=\"message-attribution-user\">\n											<xf:avatar user=\"$comment.User\" size=\"xxs\" />\n											<h4 class=\"attribution\"><xf:username user=\"$comment.User\" rich=\"true\" /></h4>\n										</li>\n										<li><a href=\"#report-comment-{$comment.report_comment_id}\" class=\"u-concealed\"><xf:date time=\"$comment.comment_date\" /></a></li>\n										<xf:if is=\"$comment.is_report\">\n											<li><span class=\"label label--accent\">{{ phrase(\'report_noun\') }}</span></li>\n										</xf:if>\n									</ul>\n								</header>\n\n								<xf:if is=\"$comment.state_change\">\n									<div class=\"message-minorHighlight\">{{ phrase(\'status_changed:\') }} {$report.getReportState($comment.state_change)}</div>\n								</xf:if>\n\n								<xf:if is=\"$comment.message\">\n									<article class=\"message-body\">\n										{{ bb_code($comment.message, \'report_comment\', $comment) }}\n									</article>\n								</xf:if>\n							</div>\n						</div>\n					</div>\n				</article>\n			</xf:foreach>\n		</div>\n	</div>\n</div>\n\n<div class=\"block\">\n	<div class=\"block-container\">\n\n		<h2 class=\"block-tabHeader tabs\" data-xf-init=\"tabs\" role=\"tablist\">\n			<a class=\"tabs-tab is-active\" role=\"tab\" tabindex=\"0\" aria-controls=\"{{ unique_id(\'reportUpdate\') }}\">{{ phrase(\'update\') }}</a>\n			<a class=\"tabs-tab\" role=\"tab\" tabindex=\"0\" aria-controls=\"{{ unique_id(\'reportReassign\') }}\">{{ phrase(\'reassign\') }}</a>\n		</h2>\n\n		<ul class=\"tabPanes\">\n\n			<li class=\"is-active\" role=\"tabpanel\" id=\"{{ unique_id(\'reportUpdate\') }}\">\n				<xf:form action=\"{{ link(\'reports/update\', $report) }}\" ajax=\"true\" draft=\"{{ link(\'reports/draft\', $report) }}\">\n					<div class=\"block-body\">\n						<xf:set var=\"$assignedToOther\" value=\"{{ $report.report_state == \'assigned\' && $report.AssignedUser && $report.AssignedUser.user_id != $xf.visitor.user_id }}\" />\n\n						<xf:if is=\"$assignedToOther\">\n							<xf:formrow rowclass=\"js-handleToggleTrigger\">\n								{{ phrase(\'this_report_is_currently_assigned_to_x\', {\'assigned_username\': $report.AssignedUser.username}) }}\n								<div>\n									<xf:button data-xf-click=\"toggle\" data-target=\".js-handleToggle\" data-hide=\".js-handleToggleTrigger\">\n										{{ phrase(\'handle_report\') }}\n									</xf:button>\n								</div>\n							</xf:formrow>\n						</xf:if>\n\n						<div class=\"js-handleToggle{{ !$assignedToOther ? \' is-active\' : \'\' }}\">\n\n							<xf:editorrow name=\"message\" value=\"{$report.draft_comment.message}\" data-min-height=\"100\"\n								rowtype=\"fullWidth noLabel\"\n								label=\"{{ phrase(\'message\') }}\">\n\n								<xf:explain>\n									{{ phrase(\'your_comment_will_only_be_visible_to_moderators\') }}\n									<xf:if is=\"$report.isClosed()\">{{ phrase(\'your_comment_will_re_open_this_report\') }}</xf:if>\n								</xf:explain>\n							</xf:editorrow>\n\n							<xf:if is=\"!$report.isClosed()\">\n								<xf:radiorow name=\"report_state\"\n									label=\"{{ phrase(\'status\') }}\">\n\n									<xf:option value=\"\" label=\"{{ phrase(\'do_not_change\') }}\" selected=\"true\" />\n									<xf:option value=\"assigned\" label=\"{{ $report.report_state == \'assigned\' ? phrase(\'unassign\') : phrase(\'report_state.assigned\') }}\" />\n									<xf:option value=\"resolved\" label=\"{{ phrase(\'report_state.resolved\') }}\" />\n									<xf:option value=\"rejected\" label=\"{{ phrase(\'report_state.rejected\') }}\" />\n								</xf:radiorow>\n\n								<xf:checkboxrow\n									explain=\"{{ phrase(\'any_resolution_rejection_alert_text_will_be_appended_to_comment\') }}\">\n\n									<xf:option name=\"send_alert\" label=\"{{ phrase(\'send_resolution_rejection_alert:\') }}\">\n										<xf:dependent>\n											<xf:textbox name=\"alert_comment\" maxlength=\"300\" />\n										</xf:dependent>\n									</xf:option>\n								</xf:checkboxrow>\n							</xf:if>\n						</div>\n					</div>\n					<div class=\"js-handleToggle{{ !$assignedToOther ? \' is-active\' : \'\' }}\">\n						<xf:submitrow icon=\"save\" />\n					</div>\n				</xf:form>\n			</li>\n\n			<li role=\"tabpanel\" id=\"{{ unique_id(\'reportReassign\') }}\">\n				<xf:form action=\"{{ link(\'reports/reassign\', $report) }}\" ajax=\"true\">\n					<div class=\"block-body\">\n						<xf:selectrow name=\"user_id\" value=\"{$report.assigned_user_id}\"\n							label=\"{{ phrase(\'member\') }}\">\n\n							<xf:option value=\"0\" label=\"{{ phrase(\'(none)\') }}\" />\n							<xf:foreach loop=\"$moderators\" value=\"$moderator\">\n								<xf:option value=\"{$moderator.User.user_id}\" label=\"{$moderator.User.username}\" />\n							</xf:foreach>\n						</xf:selectrow>\n					</div>\n					<xf:submitrow submit=\"{{ phrase(\'reassign\') }}\" />\n				</xf:form>\n			</li>\n\n		</ul>\n	</div>\n</div>', 0x[encoded data, 101382 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1109, 0x7075626c6963, 0x7365617263685f666f726d, 0, '<xf:title>{{ phrase(\'search\') }}</xf:title>\n\n<xf:head option=\"robots\"><meta name=\"robots\" content=\"noindex\" /></xf:head>\n\n<xf:if is=\"$type\">\n	<xf:breadcrumb href=\"{{ link(\'full:search\') }}\">{{ phrase(\'search\') }}</xf:breadcrumb>\n</xf:if>\n\n<xf:form action=\"{{ link(\'search/search\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<h2 class=\"block-tabHeader tabs hScroller\" data-xf-init=\"h-scroller\">\n			<span class=\"hScroller-scroll\">\n				<a href=\"{{ link(\'search\') }}\" class=\"tabs-tab{{ !$type ? \' is-active\' : \'\' }}\">{{ phrase(\'search_everything\') }}</a>\n				<xf:foreach loop=\"$tabs\" key=\"$tabType\" value=\"$tab\">\n					<a href=\"{{ link(\'search\', null, {\'type\': $tabType}) }}\" class=\"tabs-tab{{ $type == $tabType ? \' is-active\' : \'\' }}\">{$tab.title}</a>\n				</xf:foreach>\n				<xf:if is=\"$xf.options.enableTagging\">\n					<a href=\"{{ link(\'tags\') }}\" class=\"tabs-tab\">{{ phrase(\'search_tags\') }}</a>\n				</xf:if>\n			</span>\n		</h2>\n\n		<div class=\"block-body\">\n			<xf:include template=\"{$formTemplateName}\" />\n		</div>\n\n		<xf:submitrow icon=\"search\" sticky=\"true\" />\n	</div>\n\n	<xf:hiddenval name=\"search_type\">{$type}</xf:hiddenval>\n</xf:form>', 0x[encoded data, 20924 characters], 0x5846, 2010052, '2.1.0 Release Candidate 2', 1748686065),
(1110, 0x7075626c6963, 0x7365617263685f666f726d5f616c6c, 0, '<xf:macro id=\"search_form_macros::keywords\" arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::user\" arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::date\" arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::order\"\n	arg-isRelevanceSupported=\"{$isRelevanceSupported}\"\n	arg-input=\"{$input}\" />\n', 0x[encoded data, 4774 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1111, 0x7075626c6963, 0x7365617263685f666f726d5f636f6e766572736174696f6e5f6d657373616765, 0, '<xf:title>{{ phrase(\'search_direct_messages\') }}</xf:title>\n\n<xf:macro id=\"search_form_macros::keywords\"\n	arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::user\" \n	arg-input=\"{$input}\" />\n\n<xf:textboxrow name=\"c[recipients]\" value=\"{$input.c.recipients}\" ac=\"true\"\n	label=\"{{ phrase(\'received_by\') }}\"\n	explain=\"{{ phrase(\'separate_names_with_comma\') }}\" />\n\n<xf:macro id=\"search_form_macros::date\"\n	arg-input=\"{$input}\" />\n\n<xf:numberboxrow name=\"c[min_reply_count]\" value=\"{$input.c.min_reply_count|default(0)}\" min=\"0\"\n	label=\"{{ phrase(\'minimum_number_of_replies\') }}\" />\n\n<xf:if is=\"$input.c.conversation\">\n	<xf:checkboxrow>\n		<xf:option name=\"c[conversation]\" value=\"{$input.c.conversation}\" selected=\"true\">\n			{{ phrase(\'restrict_search_to_specified_direct_message\') }}\n		</xf:option>\n	</xf:checkboxrow>\n</xf:if>\n\n<xf:macro template=\"search_form_macros\" name=\"order\"\n	arg-isRelevanceSupported=\"{$isRelevanceSupported}\"\n	arg-options=\"{{ {\n		\'replies\': phrase(\'most_replies\')\n	} }}\"\n	arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::grouped\" \n	arg-label=\"{{ phrase(\'display_results_as_direct_messages\') }}\"\n	arg-input=\"{$input}\" />', 0x[encoded data, 18644 characters], 0x5846, 2030032, '2.3.0 Beta 2', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1112, 0x7075626c6963, 0x7365617263685f666f726d5f6d6163726f73, 0, '<xf:macro id=\"keywords\" arg-input=\"{{ [] }}\" arg-canTitleLimit=\"{{ true }}\">\n	<xf:set var=\"$controlId\">{{ unique_id() }}</xf:set>\n	<xf:formrow rowtype=\"input\" controlid=\"{$controlId}\"\n		label=\"{{ phrase(\'keywords\') }}\">\n\n		<ul class=\"inputList\">\n			<li>\n				<xf:textbox type=\"search\" name=\"keywords\"\n					data-xf-init=\"{{ $xf.searchAutoComplete ? \'search-auto-complete\' : \'\' }}\"\n					data-acurl=\"{{ link(\'search/auto-complete\') }}\"\n					value=\"{$input.keywords}\"\n					autofocus=\"autofocus\"\n					id=\"{$controlId}\" />\n			</li>\n			<xf:if is=\"$canTitleLimit\">\n				<li>\n					<xf:checkbox standalone=\"true\">\n						<xf:option name=\"c[title_only]\" selected=\"{$input.c.title_only}\">\n							<xf:label>\n								{{ phrase(\'search_titles_only\') }}\n\n								<xf:if is=\"$xf.options.enableTagging\">\n									<span tabindex=\"0\" role=\"button\"\n										data-xf-init=\"tooltip\" data-trigger=\"hover focus click\" title=\"{{ phrase(\'tags_will_also_be_searched\')|for_attr }}\">\n\n										<xf:fa icon=\"far fa-question-circle\" class=\"u-muted u-smaller\"\n											title=\"{{ phrase(\'note\')|for_attr }}\" />\n									</span>\n								</xf:if>\n							</xf:label>\n						</xf:option>\n					</xf:checkbox>\n				</li>\n			</xf:if>\n		</ul>\n	</xf:formrow>\n</xf:macro>\n\n<xf:macro id=\"user\" arg-input=\"{{ [] }}\">\n	<xf:textboxrow name=\"c[users]\" value=\"{$input.c.users}\" ac=\"true\"\n		label=\"{{ phrase(\'posted_by\') }}\"\n		explain=\"{{ phrase(\'separate_names_with_comma\') }}\" />\n</xf:macro>\n\n<xf:macro id=\"date\" arg-input=\"{{ [] }}\">\n	<xf:dateinputrow name=\"c[newer_than]\" value=\"{$input.c.newer_than}\"\n		label=\"{{ phrase(\'newer_than\') }}\" />\n\n	<xf:dateinputrow name=\"c[older_than]\" value=\"{$input.c.older_than}\"\n		label=\"{{ phrase(\'older_than\') }}\" />\n</xf:macro>\n\n<xf:macro id=\"order\" arg-input=\"{{ [] }}\" arg-isRelevanceSupported=\"!\" arg-options=\"{{ [] }}\">\n	<xf:if is=\"$isRelevanceSupported || count($options)\">\n		<xf:radiorow name=\"order\" value=\"{$input.order|default($isRelevanceSupported ? \'relevance\' : \'date\')}\"\n			label=\"{{ phrase(\'order_by\') }}\">\n\n			<xf:if is=\"$isRelevanceSupported\">\n				<xf:option value=\"relevance\">{{ phrase(\'relevance\') }}</xf:option>\n			</xf:if>\n			<xf:option value=\"date\">{{ phrase(\'date\') }}</xf:option>\n			<xf:options source=\"$options\" />\n		</xf:radiorow>\n	<xf:else />\n		<xf:hiddenval name=\"order\">{$input.order|default($isRelevanceSupported ? \'relevance\' : \'date\')}</xf:hiddenval>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"grouped\" arg-label=\"!\" arg-input=\"{{ [] }}\">\n	<xf:checkboxrow>\n		<xf:option name=\"grouped\" value=\"1\" selected=\"{$input.grouped}\">{$label}</xf:option>\n	</xf:checkboxrow>\n</xf:macro>', 0x[encoded data, 44732 characters], 0x5846, 2030037, '2.3.0 Beta 7', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1113, 0x7075626c6963, 0x7365617263685f666f726d5f706f7374, 0, '<xf:title>{{ phrase(\'search_threads\') }}</xf:title>\n\n<xf:macro id=\"search_form_macros::keywords\" arg-input=\"{$input}\" />\n<xf:macro id=\"search_form_macros::user\" arg-input=\"{$input}\" />\n<xf:macro id=\"search_form_macros::date\" arg-input=\"{$input}\" />\n\n<xf:numberboxrow name=\"c[min_reply_count]\" value=\"{$input.c.min_reply_count|default(0)}\" min=\"0\"\n	label=\"{{ phrase(\'minimum_number_of_replies\') }}\" />\n\n<xf:if is=\"$prefixesGrouped is not empty\">\n	<xf:selectrow name=\"c[prefixes][]\" size=\"7\" multiple=\"true\" value=\"{$input.c.prefixes|default([0])}\"\n		label=\"{{ phrase(\'prefixes\') }}\">\n\n		<xf:option value=\"\">{{ phrase(\'(any)\') }}</xf:option>\n		<xf:foreach loop=\"$prefixGroups\" key=\"$groupId\" value=\"$prefixGroup\" if=\"{{ count($prefixesGrouped.{$groupId}) > 0 }}\">\n			<xf:optgroup label=\"{{ prefix_group(\'thread\', $groupId) }}\">\n				<xf:foreach loop=\"{$prefixesGrouped.{$groupId}}\" key=\"$prefixId\" value=\"$prefix\">\n					<xf:option value=\"{$prefixId}\">{{ prefix_title(\'thread\', $prefixId) }}</xf:option>\n				</xf:foreach>\n			</xf:optgroup>\n		</xf:foreach>\n	</xf:selectrow>\n</xf:if>\n\n<xf:if is=\"$input.c.thread\">\n	<xf:checkboxrow>\n		<xf:option name=\"c[thread]\" value=\"{$input.c.thread}\" selected=\"true\">{{ phrase(\'restrict_search_to_specified_thread\') }}</xf:option>\n	</xf:checkboxrow>\n</xf:if>\n\n<xf:set var=\"$forumsControlId\" value=\"{{ unique_id() }}\" />\n<xf:formrow rowtype=\"input\"\n	label=\"{{ phrase(\'search_in_forums\') }}\" controlid=\"{$forumsControlId}\">\n\n	<ul class=\"inputList\">\n		<li><xf:select name=\"c[nodes][]\" size=\"7\" multiple=\"multiple\" value=\"{$input.c.nodes|default([0])}\" id=\"{$forumsControlId}\">\n			<xf:option value=\"\">{{ phrase(\'all_forums\') }}</xf:option>\n			<xf:foreach loop=\"$nodeTree.getFlattened(0)\" value=\"$treeEntry\">\n				<xf:option value=\"{$treeEntry.record.node_id}\">{{ repeat(\'&nbsp;&nbsp;\', $treeEntry.depth)|raw }} {$treeEntry.record.title}</xf:option>\n			</xf:foreach>\n		</xf:select></li>\n		<li><xf:checkbox standalone=\"true\">\n			<xf:option name=\"c[child_nodes]\" selected=\"{{ (!$input.c || $input.c.child_nodes) }}\" label=\"{{ phrase(\'search_sub_forums_as_well\') }}\" />\n		</xf:checkbox></li>\n	</ul>\n</xf:formrow>\n\n<xf:macro id=\"search_form_macros::order\"\n	arg-isRelevanceSupported=\"{$isRelevanceSupported}\"\n	arg-options=\"{{ {\n		\'replies\': phrase(\'most_replies\')\n	} }}\"\n	arg-input=\"{$input}\" />\n\n<xf:macro id=\"search_form_macros::grouped\"\n	arg-label=\"{{ phrase(\'display_results_as_threads\') }}\"\n	arg-input=\"{$input}\" />', 0x[encoded data, 45690 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
