
<form action="<?= $this->action ?>" method="get">
  <div class="formbody">
    <?php if ($this->id): ?>
      <input type="hidden" name="id" value="<?= $this->id ?>" />
    <?php endif; ?>
    <label for="ctrl_keywords_<?= $this->uniqueId ?>" class="invisible"><?= $this->keywordLabel ?></label>
    <input type="text" name="keywords" id="ctrl_keywords_<?= $this->uniqueId ?>" class="text" value="<?= $this->keyword ?>" />
    <input type="submit" id="ctrl_submit_<?= $this->uniqueId ?>" class="submit" value="<?= $this->search ?>" />
    <fieldset class="radio_container">
      <legend class="invisible"><?= $this->optionsLabel ?></legend>
      <span><input type="radio" name="query_type" id="matchAll_<?= $this->uniqueId ?>" class="radio" value="and"<?php if ($this->queryType == 'and'): ?> checked="checked"<?php endif; ?> /> <label for="matchAll_<?= $this->uniqueId ?>"><?= $this->matchAll ?></label></span>
      <span><input type="radio" name="query_type" id="matchAny_<?= $this->uniqueId ?>" class="radio" value="or"<?php if ($this->queryType == 'or'): ?> checked="checked"<?php endif; ?> /> <label for="matchAny_<?= $this->uniqueId ?>"><?= $this->matchAny ?></label></span>
    </fieldset>
  </div>
</form>
