mirror of
https://github.com/serghey-rodin/vesta.git
synced 2024-12-25 21:41:13 -08:00
102 lines
4.7 KiB
HTML
102 lines
4.7 KiB
HTML
<div class="l-center edit">
|
|
<div class="l-sort clearfix">
|
|
<div class="l-sort-toolbar clearfix float-left">
|
|
<span class="title edit"><b><?=__('Editing Backup Exclusions')?></b></span>
|
|
<?php
|
|
if (!empty($_SESSION['error_msg'])) {
|
|
echo "<span class=\"vst-error\"> → ".htmlentities($_SESSION['error_msg'])."</span>";
|
|
} else {
|
|
if (!empty($_SESSION['ok_msg'])) {
|
|
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="l-separator"></div>
|
|
<!-- /.l-separator -->
|
|
|
|
<div class="l-center edit">
|
|
<?php
|
|
$back = $_SESSION['back'];
|
|
if (empty($back)) {
|
|
$back = "location.href='/list/backup/exclusions'";
|
|
} else {
|
|
$back = "location.href='".$back."'";
|
|
}
|
|
?>
|
|
<form id="vstobjects" name="v_edit_backup_exclusions" method="post" class="<?=__($v_status)?>">
|
|
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
|
<input type="hidden" name="save" value="save" />
|
|
<table class='data'>
|
|
<tr class="data-add">
|
|
<td class="data-dotted">
|
|
<table class="data-col1">
|
|
<tr>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
|
|
</table>
|
|
</td>
|
|
<td class="data-dotted">
|
|
<table class="data-col2" width="600px">
|
|
<tr>
|
|
<td class="vst-text step-top">
|
|
<?php print __('Web Domains');?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<textarea class="vst-textinput" name="v_web" placeholder="<?php echo __('WEB_EXCLUSIONS') ?>"><?=htmlentities(trim($v_web, "'"))?></textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="vst-text input-label">
|
|
<?php print __('Mail Domains');?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<textarea class="vst-textinput" name="v_mail" placeholder="<?php echo __('MAIL_EXCLUSIONS') ?>"><?=htmlentities(trim($v_mail, "'"))?></textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="vst-text input-label">
|
|
<?php print __('Databases');?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?=htmlentities(trim($v_db, "'"))?></textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="vst-text input-label">
|
|
<?php print __('User Directories');?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<textarea size="20" class="vst-textinput" name="v_userdir" placeholder="<?php echo __('USER_EXCLUSIONS') ?>"><?=htmlentities(trim($v_userdir, "'"))?></textarea>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="data-col2">
|
|
<tr>
|
|
<td class="step-top" width="116px">
|
|
<input type="submit" class="button" name="save" value="<?=__('Save')?>">
|
|
</td>
|
|
<td class="step-top">
|
|
<input type="button" class="button cancel" value="<?=__('Back')?>" onclick="<?=$back?>">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|