edit_backup_exclusions.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <div class="l-center edit">
  2. <div class="l-sort clearfix">
  3. <div class="l-sort-toolbar clearfix float-left">
  4. <span class="title edit"><b><?=__('Editing Backup Exclusions')?></b></span>
  5. <?php
  6. if (!empty($_SESSION['error_msg'])) {
  7. echo "<span class=\"vst-error\"> → ".htmlentities($_SESSION['error_msg'])."</span>";
  8. } else {
  9. if (!empty($_SESSION['ok_msg'])) {
  10. echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
  11. }
  12. }
  13. ?>
  14. </div>
  15. </div>
  16. <? display_error_block() ?>
  17. </div>
  18. <div class="l-separator"></div>
  19. <!-- /.l-separator -->
  20. <div class="l-center edit">
  21. <?php
  22. $back = $_SESSION['back'];
  23. if (empty($back)) {
  24. $back = "location.href='/list/backup/exclusions'";
  25. } else {
  26. $back = "location.href='".$back."'";
  27. }
  28. ?>
  29. <form id="vstobjects" name="v_edit_backup_exclusions" method="post" class="<?=__($v_status)?>">
  30. <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
  31. <input type="hidden" name="save" value="save" />
  32. <table class='data'>
  33. <tr class="data-add">
  34. <td class="data-dotted">
  35. <table class="data-col1">
  36. <tr>
  37. <td>
  38. </td>
  39. </tr>
  40. <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
  41. </table>
  42. </td>
  43. <td class="data-dotted">
  44. <table class="data-col2" width="600px">
  45. <tr>
  46. <td class="vst-text step-top">
  47. <?php print __('Web Domains');?>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td>
  52. <textarea class="vst-textinput" name="v_web" placeholder="<?php echo __('WEB_EXCLUSIONS') ?>"><?php if (isset($v_web)) echo htmlentities($v_web); ?></textarea>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class="vst-text input-label">
  57. <?php print __('Mail Domains');?>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td>
  62. <textarea class="vst-textinput" name="v_mail" placeholder="<?php echo __('MAIL_EXCLUSIONS') ?>"><?php if (isset($v_mail)) echo htmlentities($v_mail); ?></textarea>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td class="vst-text input-label">
  67. <?php print __('Databases');?>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td>
  72. <textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?php if (isset($v_db)) echo htmlentities($v_db); ?></textarea>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="vst-text input-label">
  77. <?php print __('User Directories');?>
  78. </td>
  79. </tr>
  80. <tr>
  81. <td>
  82. <textarea size="20" class="vst-textinput" name="v_userdir" placeholder="<?php echo __('USER_EXCLUSIONS') ?>"><?php if (isset($v_userdir)) echo htmlentities($v_userdir); ?></textarea>
  83. </td>
  84. </tr>
  85. </table>
  86. <table class="data-col2">
  87. <tr>
  88. <td class="step-top" width="116px">
  89. <input type="submit" class="button" name="save" value="<?php print __('Save');?>">
  90. </td>
  91. <td class="step-top">
  92. <input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
  93. </td>
  94. </tr>
  95. </table>
  96. </td>
  97. </tr>
  98. </table>
  99. </form>
  100. </div>