forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_server_dovecot.php
More file actions
71 lines (66 loc) · 3.31 KB
/
edit_server_dovecot.php
File metadata and controls
71 lines (66 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!-- Begin toolbar -->
<div class="toolbar">
<div class="toolbar-inner">
<div class="toolbar-buttons">
<a class="button button-secondary" id="btn-back" href="/list/server/"><i class="fas fa-arrow-left status-icon blue"></i><?=_('Back');?></a>
</div>
<div class="toolbar-buttons">
<a href="#" class="button" data-action="submit" data-id="vstobjects"><i class="fas fa-floppy-disk status-icon purple"></i><?=_('Save');?></a>
</div>
</div>
</div>
<!-- End toolbar -->
<div class="l-center animate__animated animate__fadeIn">
<form id="vstobjects" name="v_configure_server" method="post">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>">
<input type="hidden" name="save" value="save">
<div class="form-container">
<h1 class="form-title"><?=_('Configuring Server');?>: <?=$v_service_name;?></h1>
<?php show_alert_message($_SESSION);?>
<div class="u-mb20">
<label for="v_config" class="form-label"><?=$v_config_path;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config" id="v_config"><?=$v_config?></textarea>
</div>
<?php if (!empty($v_config_path1)) { ?>
<div class="u-mb20">
<label for="v_config1" class="form-label"><?=$v_config_path1;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config1" id="v_config1"><?=$v_config1?></textarea>
</div>
<div class="u-mb20">
<label for="v_config2" class="form-label"><?=$v_config_path2;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config2" id="v_config2"><?=$v_config2?></textarea>
</div>
<div class="u-mb20">
<label for="v_config3" class="form-label"><?=$v_config_path3;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config3" id="v_config3"><?=$v_config3?></textarea>
</div>
<div class="u-mb20">
<label for="v_config4" class="form-label"><?=$v_config_path4;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config4" id="v_config4"><?=$v_config4?></textarea>
</div>
<div class="u-mb20">
<label for="v_config5" class="form-label"><?=$v_config_path5;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config5" id="v_config5"><?=$v_config5?></textarea>
</div>
<div class="u-mb20">
<label for="v_config6" class="form-label"><?=$v_config_path6;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config6" id="v_config6"><?=$v_config6?></textarea>
</div>
<div class="u-mb20">
<label for="v_config7" class="form-label"><?=$v_config_path7;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config7" id="v_config7"><?=$v_config7?></textarea>
</div>
<div class="u-mb20">
<label for="v_config8" class="form-label"><?=$v_config_path8;?></label>
<textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config8" id="v_config8"><?=$v_config8?></textarea>
</div>
<?php } ?>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="v_restart" id="v_restart" checked>
<label for="v_restart">
<?=_('restart');?>
</label>
</div>
</div>
</form>
</div>