edit_backup_exclusions.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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 __('DNS Domains');?>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td>
  62. <textarea class="vst-textinput" name="v_dns" placeholder="<?php echo __('DNS_EXCLUSIONS') ?>"><?php if (isset($v_dns)) echo htmlentities($v_dns); ?></textarea>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td class="vst-text input-label">
  67. <?php print __('Mail Domains');?>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td>
  72. <textarea class="vst-textinput" name="v_mail" placeholder="<?php echo __('MAIL_EXCLUSIONS') ?>"><?php if (isset($v_mail)) echo htmlentities($v_mail); ?></textarea>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="vst-text input-label">
  77. <?php print __('Databases');?>
  78. </td>
  79. </tr>
  80. <tr>
  81. <td>
  82. <textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?php if (isset($v_db)) echo htmlentities($v_db); ?></textarea>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td class="vst-text input-label">
  87. <?php print __('Cron Jobs');?>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td>
  92. <textarea size="20" class="vst-textinput" name="v_cron" placeholder="<?php echo __('CRON_EXCLUSIONS') ?>"><?php if (isset($v_cron)) echo htmlentities($v_cron); ?></textarea>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td class="vst-text input-label">
  97. <?php print __('User Directories');?>
  98. </td>
  99. </tr>
  100. <tr>
  101. <td>
  102. <textarea size="20" class="vst-textinput" name="v_userdir" placeholder="<?php echo __('USER_EXCLUSIONS') ?>"><?php if (isset($v_userdir)) echo htmlentities($v_userdir); ?></textarea>
  103. </td>
  104. </tr>
  105. </table>
  106. <table class="data-col2">
  107. <tr>
  108. <td class="step-top" width="116px">
  109. <input type="submit" class="button" name="save" value="<?php print __('Save');?>">
  110. </td>
  111. <td class="step-top">
  112. <input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
  113. </td>
  114. </tr>
  115. </table>
  116. </td>
  117. </tr>
  118. </table>
  119. </form>
  120. </div>