Skip to content

Commit 7998479

Browse files
authored
Update template to fix logic (hestiacp#3357)
1 parent 03711ec commit 7998479

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

web/templates/pages/edit_mail_acc.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ class="<?= $v_status ?>"
9494
</label>
9595
</div>
9696
</div>
97+
98+
<div id="v-fwd-opt">
99+
<div class="u-mb10">
100+
<label for="v_fwd" class="form-label">
101+
<?= _("Forward to") ?> <span class="optional">(<?= _("one or more email addresses") ?>)</span>
102+
</label>
103+
<textarea class="form-control" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea>
104+
</div>
105+
</div>
97106
<div class="form-check u-mb10">
98107
<input x-model="hasAutoReply" class="form-check-input" type="checkbox" name="v_autoreply" id="v_autoreply">
99108
<label for="v_autoreply">
@@ -106,14 +115,6 @@ class="<?= $v_status ?>"
106115
<textarea class="form-control" name="v_autoreply_message" id="v_autoreply_message"><?= htmlentities(trim($v_autoreply_message, "'")) ?></textarea>
107116
</div>
108117
</div>
109-
<div id="v-fwd-opt">
110-
<div class="u-mb10">
111-
<label for="v_fwd" class="form-label">
112-
<?= _("Forward to") ?> <span class="optional">(<?= _("one or more email addresses") ?>)</span>
113-
</label>
114-
<textarea class="form-control" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea>
115-
</div>
116-
</div>
117118
<div class="u-mb20">
118119
<label for="v_rate" class="form-label">
119120
<?= _("Rate limit") ?> <span class="optional">(<?= _("Email / hour") ?>)</span>

0 commit comments

Comments
 (0)