mailr/app/views/webmail/_search.rhtml

14 lines
647 B
Plaintext
Raw Permalink Normal View History

<a href='#' onclick='toggle_msg_search(true);'>
2009-09-01 14:23:05 +02:00
<%= t :search%><img id='img_msg_search' alt='open' src='/images/list_<%=@srch_img_src%>.gif'/>
</a>
<div id="msg_search" class='<%=@srch_class%>'>
2009-09-01 14:23:05 +02:00
<%= t :search_txt %>&nbsp;
<select name="search_field">
<%= options_for_select(CDF::CONFIG[:mail_search_fields], @search_field)%>
</select>&nbsp;
2009-09-01 14:23:05 +02:00
<label for="search_value"><%= t :for %></label>&nbsp;
<input type="text" name="search_value" value="<%=@search_value%>" size='16' id='search_value'/>&nbsp;
2009-09-01 14:23:05 +02:00
<%= submit_tag(t(:search), :name=>'op')%>&nbsp;
<%= submit_tag(t(:show_all), :name=>'op')%>
</div>