<form method="post" name="smime" 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 _("S/MIME NOT Active") ?></b></td>
    <?php Prefs_UI::generateNavigationCell('smime') ?>
  </tr>
  <tr>
<?php if ($prefs->isLocked('use_smime')): ?>
    <td class="item" align="left">&nbsp;<b><?php echo _("S/MIME support is disabled on this system.") ?></b></td>
    <td class="item">&nbsp;</td>
  </tr>
<?php else: ?>
    <td class="item" align="left">&nbsp;
      <input id="use_smime" type="checkbox" name="use_smime" <?php echo ($prefs->getValue('use_smime')) ? "checked=\"checked\"" : "" ?> />&nbsp;<?php echo Horde::label('use_smime', _("Enable S/MIME functionality?")) ?>
    </td>
    <td class="item" align="right"><?php echo Help::link('imp', 'smime-overview') ?></td>
  </tr>

  <tr>
    <td class="header" nowrap="nowrap" align="left" valign="middle">
      <input type="submit" name="save" class="button" onclick="document.smime.actionID.value='save_options'; 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 Previous Screen") ?>" />
    </td>
    <td class="header">&nbsp;</td>
  </tr>
</table>

</form>
