<?php $this->extend('block_unsearchable'); ?>

<?php $this->block('content'); ?>

  <form action="<?php echo $this->request; ?>" method="post">
    <div class="formbody">
      <input type="hidden" name="FORM_SUBMIT" value="tl_quicklink" />
      <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}" />
      <select name="target" class="select">
        <option value=""><?php echo $this->title; ?></option>
        <?php foreach ($this->items as $item): ?>
          <option value="<?php echo $item['href']; ?>"><?php echo $item['link']; ?></option>
        <?php endforeach; ?>
      </select>
      <input type="submit" class="submit" value="<?php echo $this->button; ?>" />
    </div>
  </form>

<?php $this->endblock(); ?>
