<xf:title>{{ phrase('phrase_search_results:') }} {$language.title}</xf:title>

<div class="block">
	<div class="block-outer">
		<xf:macro template="filter_macros" name="quick_filter" arg-class="block-outer-opposite" />
	</div>
	<div class="block-container">
		<xf:macro template="phrase_list" name="search_menu" arg-language="{$language}" arg-conditions="{$conditions}" />
		<xf:if is="$phrases is not empty">
			<div class="block-body">
				<xf:datalist>
					<xf:macro template="phrase_list" name="phrase_list" arg-phrases="{$phrases}" arg-language="{$language}" />
					<xf:if is="$total > count($phrases)">
						<xf:datarow rowclass="dataList-row--note dataList-row--noHover">
							<xf:cell colspan="2">{{ phrase('more_records_matching_filter_more_specific') }}</xf:cell>
						</xf:datarow>
					</xf:if>
				</xf:datalist>
			</div>
			<div class="block-footer">
				<span class="block-footer-counter">{{ display_totals(count($phrases), $total) }}</span>
			</div>
		<xf:else />
			<div class="block-body block-row">{{ phrase('no_results_found') }}</div>
		</xf:if>
	</div>
</div>