<form method="<?php echo $form_method ?>" name="messages" action="<?php echo Horde::applicationUrl($form_target) ?>">
<?php Horde::pformInput() ?>
<input type="hidden" name="thismailbox" value="<?php echo htmlspecialchars($imp['mailbox']) ?>" />
<input type="hidden" name="<?php echo $form_ident ?>" value="<?php echo htmlspecialchars($form_index) ?>" />
<input type="hidden" name="start" value="<?php echo htmlspecialchars($msgindex) ?>" />
<input type="hidden" name="targetMbox" value="" />
<input type="hidden" name="index" value="<?php echo htmlspecialchars($index) ?>" />
<input type="hidden" name="actionID" value="" />
<input type="hidden" name="newMbox" value="0" />

<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
    <td align="left" class="header">
    <?php echo sprintf(_("%s: %s (%d&nbsp;of&nbsp;%d)"), htmlspecialchars($imp['label']), $shortsub, $msgindex, $imp['msgcount']); echo '&nbsp;&nbsp;' . $status ?>
    </td>

    <?php if ($conf['user']['allow_folders']): ?>
    <td align="right" class="smallheader" nowrap="nowrap" valign="top">
    <a class="menuitem" href="" onclick="Transfer(<?php echo MOVE_MESSAGES ?>, 1); return false;"><?php echo _("Move") ?></a> |
    <a class="menuitem" href="" onclick="Transfer(<?php echo COPY_MESSAGES ?>, 1); return false;"><?php echo _("Copy") ?></a>
    <select name="target1" onchange="updateFolders(1);">
    <?php echo $options ?>
    </select>
    <?php endif; ?>
    </td>
</tr>
</table>
