<form method="post" name="export" action="<?php echo Horde::downloadUrl(_("tasks.csv"), null, 'data.php') ?>">
<?php Util::pformInput() ?>
<input type="hidden" name="actionID" value="export" />
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
  <td>
    <table cellpadding="3" cellspacing="0" border="0" width="100%">
    <tr><td class="header" ><?php echo _("Export Tasks") ?></td>
    </tr></table>
  </td>
</tr>
<tr>
  <td class="item">
  <table border="0"><tr><td>
    <?php echo _("Select the export format:") ?>&nbsp;
    <br />
    <select name="exportID">
      <option value="<?php echo EXPORT_CSV ?>">CSV</option>
      <option value="<?php echo EXPORT_ICALENDAR ?>">iCalendar (vTodo)</option>
    </select>
    <br /><br />
    <input type="submit" value="<?php echo _("Export") ?>" class="button" />
  </td></tr></table>
  </td>
</tr>
</table>
</form>
