[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php 2 switch ($actionID) { 3 case 'import_personal_certs': 4 $title = _("Import Personal S/MIME Certificates"); 5 break; 6 7 case 'import_public_key': 8 $title = _("Import Public S/MIME Key"); 9 $insert_text = _("Insert Certificate Here"); 10 break; 11 } 12 $certimport = ($actionID == 'import_personal_certs'); 13 ?> 14 <form enctype="multipart/form-data" method="post" name="import_smime_key" action="<?php echo $selfURL ?>"> 15 <?php if ($GLOBALS['browser']->hasQuirk('broken_multipart_form')): ?> 16 <input type="hidden" name="msie_formdata_is_broken" value="" /> 17 <?php endif; ?> 18 <input type="hidden" name="reload" value="<?php echo htmlspecialchars(html_entity_decode(Util::getFormData('reload'))); ?>" /> 19 <input type="hidden" name="actionID" value="<?php echo $target ?>" /> 20 <?php Util::pformInput(); ?> 21 22 <div class="header"> 23 <?php if ($certimport): ?> 24 <ul> 25 <li><?php echo Help::link('imp', 'smime-import-personal-certs') ?></li> 26 </ul> 27 <?php endif; ?> 28 <?php echo $title ?></td> 29 </div> 30 31 <table width="100%" border="0" cellpadding="0" cellspacing="0"> 32 <?php if (isset($insert_text)): ?> 33 <tr> 34 <td class="item leftAlign"> 35 <table border="0" cellpadding="0" width="100%"> 36 <tr> 37 <td class="item leftAlign"><strong><?php echo $insert_text ?>:</strong></td> 38 </tr> 39 <tr> 40 <td class="item leftAlign"> 41 <textarea name="import_key" rows="6" cols="80" class="fixed"></textarea> 42 </td> 43 </tr> 44 </table> 45 </td> 46 </tr> 47 48 <tr> 49 <td class="item leftAlign"><font color="red"><strong>--<?php echo _("OR") ?>--</strong></font></td> 50 </tr> 51 <?php endif; ?> 52 53 <tr> 54 <td class="item leftAlign"<?php if ($certimport): ?> colspan="2"<?php endif; ?>> 55 <table border="0" cellpadding="0" width="100%"> 56 <tr> 57 <td class="item leftAlign"> 58 <strong><?php echo _("Upload") ?>:</strong> <input name="upload_key" type="file" size="40" class="fixed" /> 59 </td> 60 </tr> 61 </table> 62 </td> 63 </tr> 64 65 <?php if ($certimport): ?> 66 <tr> 67 <td class="item leftAlign" colspan="2"> 68 <table border="0" cellpadding="0" width="100%"> 69 <tr> 70 <td class="item leftAlign"> 71 <strong><?php echo _("Password") ?>:</strong> <input name="upload_key_pass" type="password" size="30" class="fixed" /> 72 </td> 73 </tr> 74 <tr> 75 <td class="item leftAlign"> 76 <strong><?php echo _("Private Key Password") ?>:</strong> <input name="upload_key_pk_pass" type="password" size="30" class="fixed" /> 77 </td> 78 </tr> 79 </table> 80 </td> 81 </tr> 82 <?php endif; ?> 83 </table> 84 85 <input type="submit" name="import" class="button" value="<?php echo _("Import Key") ?>" /> 86 <input type="submit" name="import" class="button" onclick="window.close();" value="<?php echo _("Cancel") ?>" /> 87 88 </form> 89 </body> 90 </html>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |