<form enctype="multipart/form-data" method="post" name="import_pgp_key" action="<?php echo $selfURL ?>">
<input type="hidden" name="reload" value="<?php echo Horde::getFormData('reload'); ?>" />
<input type="hidden" name="actionID" value="<?php echo $target ?>" />
<?php Horde::pformInput(); ?>

<table border="0" cellspacing="0" cellpadding="2">
    <tr>
        <td class="light" align="right">&nbsp;</td>
        <td align="left" class="header" nowrap="nowrap"><b>
<?php
    if ($actionID == 'import_public_key') {
        echo _("Import Public PGP Key");
    } elseif ($actionID == 'import_personal_public_key') {
        echo _("Import Personal Public PGP Key");
    } elseif ($actionID == 'import_personal_private_key') {
        echo _("Import Personal Private PGP Key");
    }
?>
        </b></td>
    </tr>

    <tr>
        <td class="light" align="right">&nbsp;</td>
        <td class="item" align="left">
            <table border="0" cellpadding="0">
                <tr>
                    <td class="item" align="left"><b>&nbsp;<?php echo _("Insert Key Here") ?>:</b></td>
                </tr>
                <tr>
                    <td class="item" align="left">
                        <span class="fixed">
                        <textarea wrap="hard" name="import_key" rows="6" cols="80" class="fixed"></textarea>
                        </span>
                    </td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td class="light" align="right">&nbsp;</td>
        <td class="item" align="left">
            <table border="0" cellpadding="0">
                <tr>
                    <td class="item" align="left">
                        <b><?php echo _("Upload") ?>:</b>&nbsp;<input name="upload_key" type="file" size="40" class="fixed" />
                    </td>
                </tr>
             </table>
        </td>
    </tr>

    <tr>
        <td>&nbsp;</td>
        <td nowrap="nowrap" align="center" class="header" valign="middle">
            <input type="submit" name="import" class="button" value="<?php echo _("Import Key") ?>" />
            <input type="submit" name="import" class="button" onclick="window.close();" value="<?php echo _("Cancel") ?>" />
        </td>
    </tr>
</table>

</form>
</body>
</html>
