[ 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/pgp/ -> import_key.inc (source)

   1  <?php
   2      switch ($actionID) {
   3      case 'import_public_key':
   4          $title = _("Import Public PGP Key");
   5          $insert_text = _("Insert Public PGP Key Here");
   6          break;
   7  
   8      case 'import_personal_public_key':
   9          $title = _("Import Personal Public PGP Key");
  10          $insert_text = _("Insert Personal Public PGP Key Here");
  11          break;
  12  
  13      case 'import_personal_private_key':
  14          $title = _("Import Personal Private PGP Key");
  15          $insert_text = _("Insert Personal Private PGP Key Here");
  16          break;
  17      }
  18  ?>
  19  <form enctype="multipart/form-data" method="post" name="import_pgp_key" action="<?php echo $selfURL ?>">
  20  <?php if ($GLOBALS['browser']->hasQuirk('broken_multipart_form')): ?>
  21  <input type="hidden" name="msie_formdata_is_broken" value="" />
  22  <?php endif; ?>
  23  <input type="hidden" name="reload" value="<?php echo htmlspecialchars(html_entity_decode(Util::getFormData('reload'))) ?>" />
  24  <input type="hidden" name="actionID" value="<?php echo $target ?>" />
  25  <?php Util::pformInput(); ?>
  26  
  27  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  28   <tr>
  29    <td class="header leftAlign" nowrap="nowrap"><?php echo $title ?></td>
  30   </tr>
  31  
  32   <tr>
  33    <td class="item leftAlign">
  34     <table border="0" cellpadding="0" width="100%">
  35      <tr>
  36       <td class="item leftAlign"><strong><?php echo $insert_text ?>:</strong></td>
  37      </tr>
  38      <tr>
  39       <td class="item leftAlign">
  40        <textarea name="import_key" rows="6" cols="80" class="fixed"></textarea>
  41       </td>
  42      </tr>
  43     </table>
  44    </td>
  45   </tr>
  46  
  47   <tr>
  48    <td class="item leftAlign"><font color="red"><strong>--<?php echo _("OR") ?>--</strong></font></td>
  49   </tr>
  50  
  51   <tr>
  52    <td class="item leftAlign">
  53     <table border="0" cellpadding="0" width="100%">
  54      <tr>
  55       <td class="item leftAlign">
  56        <strong><?php echo _("Upload") ?>:</strong>&nbsp;<input name="upload_key" type="file" size="40" class="fixed" />
  57       </td>
  58      </tr>
  59     </table>
  60    </td>
  61   </tr>
  62  
  63   <tr>
  64    <td nowrap="nowrap" align="center" class="header" valign="middle">
  65     <input type="submit" name="import" class="button" value="<?php echo _("Import Key") ?>" />
  66     <input type="submit" name="import" class="button" onclick="window.close();" value="<?php echo _("Cancel") ?>" />
  67    </td>
  68   </tr>
  69  </table>
  70  
  71  </form>
  72  </body>
  73  </html>


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