<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<div id="header">
	<s:form action="search" method="get">
		<div class="input" id="inputArea">
			<s:link action="index" title="Fess Home">
				<img id="headerLogo" class="logo" src="${f:url('/images/logo-top.gif')}" alt="<bean:message key="labels.search_header_logo_alt"/>"/>
			</s:link>
			<html:text styleClass="query" property="query" title="Search" size="50" maxlength="1000" styleId="query"/>
			<c:if test="${displayLabelTypeItems}">
				<html:select property="labelTypeValue" styleId="labelType">
					<option value=""><bean:message key="labels.search_result_select_label" arg0="${f:h(execTime)}"/></option>
					<c:forEach var="item" items="${labelTypeItems}">
						<html:option value="${f:u(item.value)}">${f:h(item.label)}</html:option>
					</c:forEach>
				</html:select>
			</c:if>
			<input class="btn" type="submit" value="<bean:message key="labels.search"/>" name="search" id="searchButton"/>
		</div>
	</s:form>
</div>
