edit_backup_exclusions.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <table class='data'>
  32. <tr class="data-add">
  33. <td class="data-dotted">
  34. <table class="data-col1">
  35. <tr>
  36. <td>
  37. </td>
  38. </tr>
  39. <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
  40. </table>
  41. </td>
  42. <td class="data-dotted">
  43. <table class="data-col2" width="600px">
  44. <tr>
  45. <td class="vst-text step-top">
  46. <?php print __('Web Domains');?>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td>
  51. <textarea class="vst-textinput" name="v_web" placeholder="<?php echo __('WEB_EXCLUSIONS') ?>"><?php if (isset($v_web)) echo htmlentities($v_web); ?></textarea>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td class="vst-text input-label">
  56. <?php print __('DNS Domains');?>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td>
  61. <textarea class="vst-textinput" name="v_dns" placeholder="<?php echo __('DNS_EXCLUSIONS') ?>"><?php if (isset($v_dns)) echo htmlentities($v_dns); ?></textarea>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="vst-text input-label">
  66. <?php print __('Mail Domains');?>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td>
  71. <textarea class="vst-textinput" name="v_mail" placeholder="<?php echo __('MAIL_EXCLUSIONS') ?>"><?php if (isset($v_mail)) echo htmlentities($v_mail); ?></textarea>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td class="vst-text input-label">
  76. <?php print __('Databases');?>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td>
  81. <textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?php if (isset($v_db)) echo htmlentities($v_db); ?></textarea>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="vst-text input-label">
  86. <?php print __('Cron Jobs');?>
  87. </td>
  88. </tr>
  89. <tr>
  90. <td>
  91. <textarea size="20" class="vst-textinput" name="v_cron" placeholder="<?php echo __('CRON_EXCLUSIONS') ?>"><?php if (isset($v_cron)) echo htmlentities($v_cron); ?></textarea>
  92. </td>
  93. </tr>
  94. <tr>
  95. <td class="vst-text input-label">
  96. <?php print __('User Directories');?>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td>
  101. <textarea size="20" class="vst-textinput" name="v_userdir" placeholder="<?php echo __('USER_EXCLUSIONS') ?>"><?php if (isset($v_userdir)) echo htmlentities($v_userdir); ?></textarea>
  102. </td>
  103. </tr>
  104. </table>
  105. <table class="data-col2">
  106. <tr>
  107. <td class="step-top" width="116px">
  108. <input type="submit" class="button" name="save" value="<?php print __('Save');?>">
  109. </td>
  110. <td class="step-top">
  111. <input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
  112. </td>
  113. </tr>
  114. </table>
  115. </td>
  116. </tr>
  117. </table>
  118. </form>
  119. </div>