<xf:form action="{{ link('phrases/search') }}">
	<div class="menu-row">
		{{ phrase('language:') }}
		<div class="u-inputSpacer">
			<xf:macro id="language_macros::language_select"
				arg-languageTree="{$languageTree}"
				arg-languageId="{$language.language_id}"
				arg-row="{{ false }}" />
		</div>
	</div>

	<div class="menu-row menu-row--separated">
		{{ phrase('add_on:') }}
		<div class="u-inputSpacer">
			<xf:macro id="addon_macros::addon_select"
				arg-addOnId="{$conditions.addon_id}"
				arg-includeAny="{{ true }}"
				arg-emptyValue="_none"
				arg-row="{{ false }}" />
		</div>
	</div>

	<div class="menu-row">
		{{ phrase('title_contains:') }}
		<div class="u-inputSpacer">
			<xf:textbox name="title" type="search" value="{$conditions.title}" dir="ltr" />
		</div>
	</div>

	<div class="menu-row menu-row--separated">
		{{ phrase('text_contains:') }}
		<div class="u-inputSpacer">
			<ul class="inputList">
				<li>
					<xf:textarea name="text" value="{$conditions.text}" autosize="true" />
				</li>
				<li><xf:checkbox standalone="true"><xf:option name="text_cs" label="{{ phrase('case_sensitive') }}" selected="{$conditions.text_cs}" /></xf:checkbox></li>
			</ul>
		</div>
	</div>

	<div class="menu-row menu-row--separated">
		{{ phrase('phrase_status:') }}
		<div class="u-inputSpacer">
			<xf:checkbox name="state[]" value="{$conditions.state}">
				<xf:option value="default">{{ phrase('unmodified') }}</xf:option>
				<xf:option value="inherited">{{ phrase('modified_in_parent_language') }}</xf:option>
				<xf:option value="custom">{{ phrase('modified_in_this_language') }}</xf:option>
			</xf:checkbox>
		</div>
	</div>

	<div class="menu-footer">
		<span class="menu-footer-controls">
			<xf:if is="$translateOnly">
				<xf:button type="submit" icon="translate" name="translate" class="button--primary" />
			<xf:else />
				<xf:button type="submit" icon="search" class="button--primary">{{ phrase('refine_search') }}</xf:button>
				<xf:button type="submit" icon="translate" name="translate" />
			</xf:if>
		</span>
	</div>
	<xf:hiddenval name="search">1</xf:hiddenval>
</xf:form>