[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/compose/ -> encrypt_list.inc (source)

   1  <?php
   2      if (empty($encryptOpt)) {
   3          $encryptOpt = $prefs->getValue('default_encrypt');
   4      }
   5      $enc_options = array(IMP_ENCRYPT_NONE => _("No Encryption"));
   6      if (!empty($conf['utils']['gnupg']) && $prefs->getValue('use_pgp')) {
   7          $enc_options[IMP_PGP_ENCRYPT] = _("PGP Encrypt Message");
   8          $enc_options[IMP_PGP_SIGN] = _("PGP Sign Message");
   9          $enc_options[IMP_PGP_SIGNENC] = _("PGP Sign/Encrypt Message");
  10      }
  11      if ($prefs->getValue('use_smime')) {
  12          $enc_options[IMP_SMIME_ENCRYPT] = _("S/MIME Encrypt Message");
  13          $enc_options[IMP_SMIME_SIGN] = _("S/MIME Sign Message");
  14          $enc_options[IMP_SMIME_SIGNENC] = _("S/MIME Sign/Encrypt Message");
  15      }
  16      foreach ($enc_options as $key => $val) {
  17          echo '<option value="' . $key . '"' . (($encryptOpt == $key) ? ' selected="selected"' : '') . '>' . $val . '</option>' . "\n";
  18      }
  19  ?>


Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics