<form enctype="multipart/form-data" method="post" name="import_pgp_key" action="<tag:selfurl />">
<if:broken_mp_form>
<input type="hidden" name="msie_formdata_is_broken" value="" />
</if:broken_mp_form>
<input type="hidden" name="reload" value="<tag:reload />" />
<input type="hidden" name="actionID" value="<tag:target />" />
<tag:forminput />

<table cellspacing="0" width="100%">
 <tr>
  <td class="header leftAlign" nowrap="nowrap"<if:import_personal_certs> colspan="2"</if:import_personal_certs>><if:import_public_key><gettext>Import Public S/MIME Key</gettext></if:import_public_key><if:import_personal_certs><gettext>Import Personal S/MIME Certificates</gettext></if:import_personal_certs></td>
 </tr>

<if:import_public_key>
 <tr>
  <td class="item leftAlign">
   <table width="100%">
    <tr>
     <td class="item leftAlign"><label for="import_key"><strong><gettext>Insert Certificate Here:</gettext></strong></label></td>
    </tr>
    <tr>
     <td class="item leftAlign">
      <textarea id="import_key" name="import_key" rows="6" cols="80" class="fixed"></textarea>
     </td>
    </tr>
   </table>
  </td>
 </tr>

 <tr>
  <td class="item leftAlign"><font color="red"><strong>--<gettext>OR</gettext>--</strong></font></td>
 </tr>
</if:import_public_key>

 <tr>
  <td class="item leftAlign"<if:import_personal_certs> colspan="2"</if:import_personal_certs>>
   <table width="100%">
    <tr>
     <td class="item leftAlign">
      <label for="upload_key"><strong><gettext>Upload:</gettext></strong></label>&nbsp;
      <input id="upload_key" name="upload_key" type="file" size="40" />
     </td>
    </tr>
   </table>
  </td>
 </tr>

<if:import_personal_certs>
 <tr>
  <td class="item leftAlign" colspan="2">
   <table width="100%">
    <tr>
     <td class="item leftAlign">
      <label for="upload_key_pass"><strong><gettext>Password:</gettext></strong></label>&nbsp;<input id="upload_key_pass" name="upload_key_pass" type="password" size="30" />
     </td>
    </tr>
    <tr>
     <td class="item leftAlign">
      <label for="upload_key_pk_pass"><strong><gettext>Private Key Password:</gettext></strong></label>&nbsp;<input id="upload_key_pk_pass" name="upload_key_pk_pass" type="password" size="30" />
     </td>
    </tr>
   </table>
  </td>
 </tr>
</if:import_personal_certs>

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

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