<form method="post" name="pgp" action="<?php echo $selfURL ?>">
<input type="hidden" name="actionID" value="" />

<table border="0" align="center" cellpadding="3" cellspacing="0" width="100%">
  <tr>
    <td align="left" class="header" nowrap="nowrap"><b><?php echo _("PGP NOT Active") ?></b></td>
    <?php Prefs_UI::generateNavigationCell('pgp') ?>
  </tr>
  <tr>
<?php if ($prefs->isLocked('use_pgp')): ?>
    <td class="item" align="left">&nbsp;<b><?php echo _("PGP support is disabled on this system.") ?></b></td>
    <td class="item">&nbsp;</td>
  </tr>
<?php else: ?>
    <td class="item" align="left">&nbsp;
      <input type="checkbox" id="use_pgp" name="use_pgp" <?php echo ($prefs->getValue('use_pgp')) ? "checked=\"checked\"" : "" ?> />&nbsp;<?php echo Horde::label('use_pgp', _("Enable PGP functionality?")) ?>
    </td>
    <td class="item" align="right"><?php echo Help::link('imp', 'pgp-overview') ?></td>
  </tr>

  <tr>
    <td class="header" nowrap="nowrap" align="left" valign="middle">
      <input type="submit" name="save" class="button" onclick="document.pgp.actionID.value='pgp_enable'; return true;" value="<?php echo _("Save Options") ?>" />
    </td>
    <td class="header">&nbsp;</td>
  </tr>
<?php endif; ?>

  <tr rowspan="2"><td>&nbsp;</td></tr>

  <tr>
    <td align="left" class="header" nowrap="nowrap">
      <input type="button" name="back" class="button" onclick="document.location.href='<?php echo IMP::prefsURL(true) ?>'" value="<?php echo _("Return to Options") ?>" />
    </td>
    <td class="header">&nbsp;</td>
  </tr>
</table>

</form>
