list_ssl.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. $back = $_SESSION['back'];
  3. if (empty($back)) {
  4. $back = "location.href='/generate/ssl/'";
  5. } else {
  6. $back = "location.href='".$back."'";
  7. }
  8. ?>
  9. <table class="submenu">
  10. <tr>
  11. <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Generating CSR');?></b></a>
  12. <?php
  13. if (!empty($_SESSION['error_msg'])) {
  14. echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
  15. } else {
  16. if (!empty($_SESSION['ok_msg'])) {
  17. echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
  18. }
  19. }
  20. ?>
  21. </td>
  22. </tr>
  23. </table>
  24. </div>
  25. <form id="vstobjects" name="v_generate_csr" method="post">
  26. <table class='data'>
  27. <tr class="data-add">
  28. <td class="data-dotted">
  29. <table class="data-col1">
  30. <tr>
  31. <td>
  32. </td>
  33. </tr>
  34. </table>
  35. </td>
  36. <td class="data-dotted">
  37. <table class="data-col2">
  38. <tr>
  39. <td class="vst-text" style="padding: 24px 0 0 0;">
  40. <?php print __('SSL CSR');?>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td>
  45. <textarea size="20" class="vst-textinput" name="v_csr"><?php print $v_csr ?> </textarea>
  46. </td>
  47. </tr>
  48. <tr>
  49. <td class="vst-text" style="padding: 12px 0 0 0;"><?php print __('SSL Certificate');?>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td>
  54. <textarea size="20" class="vst-textinput" name="v_crt"><?php print $v_crt ?> </textarea>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td class="vst-text" style="padding: 12px 0 0 0;">
  59. <?php print __('SSL Key');?>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>
  64. <textarea size="20" class="vst-textinput" name="v_key"><?php print $v_key ?> </textarea>
  65. </td>
  66. </tr>
  67. </table>
  68. <table class="data-col2">
  69. <tr>
  70. <td style="padding: 24px 0 0 0;">
  71. <input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. </tr>
  77. </table>
  78. </form>