<!-- search/searchform.thtml { -->

<form action="{site_url}/search.php" method="get" id="advsearchform" class="compact">

  <div class="user_basic">
    <p class="form_message">{search_intro}</p>

    <dl class="form_block">
      <dt><label for="advsearchform-query">{lang_keywords}</label></dt>
      <dd>
        <input type="text" maxlength="35" value="{query}" name="query" id="advsearchform-query" class="size3"{xhtml}>
        <select name="keyType" id="advsearchform-keyType">
          <option value="phrase" {key_phrase_selected}>{lang_exact_phrase}</option>
          <option value="all" {key_all_selected}>{lang_all_words}</option>
          <option value="any" {key_any_selected}>{lang_any_word}</option>
        </select>
        <label><input type="checkbox" value="true" name="title"{title_checked}{xhtml}>{lang_titles}</label>
      </dd>

      <dt><label for="advsearchform-datestart">{lang_date}</label></dt>
      <dd>
        <input type="text" maxlength="10" name="datestart" value="{datestart}" id="advsearchform-datestart" class="size2"{xhtml}> <span class="loose">{lang_to}</span> <input type="text" maxlength="10" name="dateend" value="{dateend}" id="advsearchform-dateend" class="size2"{xhtml}>
      </dd>
      <dd class="description">{date_format}</dd>

      <dt><label for="advsearchform-topic">{lang_topic}</label></dt>
      <dd>
        <select name="topic" id="advsearchform-topic">
          {topic_option_list}
        </select>
      </dd>

      <dt><label for="advsearchform-type">{lang_type}</label></dt>
      <dd>
        <select name="type" id="advsearchform-type">
          {plugin_types}
        </select>
      </dd>

      {author_form_element}

      <dt><label for="advsearchform-results">{lang_results}</label></dt>
      <dd>
        <select name="results" id="advsearchform-results">
          {search_limits}
        </select>
        {lang_per_page}
      </dd>
    </dl>

    <div class="submit">
      <input type="hidden" name="mode" value="search"{xhtml}>
      <input type="submit" value="{lang_search}" class="submit"{xhtml}>
    </div>
  </div>
</form>
<!-- } search/searchform.thtml -->
