<xf:title>{{ phrase('search_phrases') }}</xf:title>

<xf:form action="{{ link('phrases/search') }}" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:macro id="language_macros::language_select"
				arg-languageTree="{$languageTree}"
				arg-languageId="{$languageId}" />

			<xf:macro id="addon_macros::addon_select"
				arg-addOnId="_any"
				arg-includeAny="{{ true }}"
				arg-emptyValue="_none" />

			<hr class="formRowSep" />

			<xf:textboxrow name="title" type="search"
				label="{{ phrase('title_contains') }}"
				dir="ltr" />

			<xf:formrow rowtype="input"
				label="{{ phrase('text_contains') }}">

				<ul class="inputList">
					<li><xf:textarea name="text" autosize="true" /></li>
					<li><xf:checkbox standalone="true">
						<xf:option name="text_cs" label="{{ phrase('case_sensitive') }}" />
					</xf:checkbox></li>
				</ul>
			</xf:formrow>

			<hr class="formRowSep" />

			<xf:checkboxrow name="state[]"
				label="{{ phrase('phrase_status') }}">

				<xf:option value="default" selected="true">{{ phrase('unmodified') }}</xf:option>
				<xf:option value="inherited" selected="true">{{ phrase('modified_in_parent_language') }}</xf:option>
				<xf:option value="custom" selected="true">{{ phrase('modified_in_this_language') }}</xf:option>
			</xf:checkboxrow>
		</div>
		<xf:submitrow sticky="true" icon="search">
			<xf:html><xf:button type="submit" icon="translate" name="translate" /></xf:html>
		</xf:submitrow>
	</div>

	<xf:hiddenval name="search">1</xf:hiddenval>
</xf:form>