52 lines
1.7 KiB
HTML
52 lines
1.7 KiB
HTML
|
<include href="header.html" />
|
||
|
|
||
|
|
||
|
<form action="{{@REALM}}" method="POST">
|
||
|
<fieldset>
|
||
|
<legend>Vacation responder for {{ @PARAMS.mbox }}@{{ @PARAMS.domain }}</legend>
|
||
|
|
||
|
<label for="subject">Subject <small>(email subject)</small></label>
|
||
|
<input id="subject" name="subject" type="text" placeholder="Out-of-Office" value="{{ @autoresponder_array.subject }}" required>
|
||
|
|
||
|
<label for="body">Body <small>(body of email)</small></label>
|
||
|
<textarea id="body" name="body" required>{{ @autoresponder_array.body }}</textarea>
|
||
|
|
||
|
<label for="mode">Mode</label>
|
||
|
<select id="mode" name="mode">
|
||
|
<check if="{{ @autoresponder_array.mode=='Autoresponder' }}">
|
||
|
<true>
|
||
|
<option value="Vacation">Vacation</option>
|
||
|
<option value="Autoresponder" selected>Autoresponder</option>
|
||
|
</true>
|
||
|
<false>
|
||
|
<option value="Vacation" selected>Vacation</option>
|
||
|
<option value="Autoresponder">Autoresponder</option>
|
||
|
</false>
|
||
|
</check>
|
||
|
</select>
|
||
|
|
||
|
<label for="status">Status</label>
|
||
|
<select id="status" name="status">
|
||
|
<check if="{{ @autoresponder_array.status=='0' }}">
|
||
|
<true>
|
||
|
<option value="1">Enabled</option>
|
||
|
<option value="0" selected>Disabled</option>
|
||
|
</true>
|
||
|
<false>
|
||
|
<option value="1" selected>Enabled</option>
|
||
|
<option value="0">Disabled</option>
|
||
|
</false>
|
||
|
</check>
|
||
|
|
||
|
<input type="submit" value="Submit">
|
||
|
<button id="reset" type="reset" disabled>Reset</button>
|
||
|
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
<p>
|
||
|
<b>Vacation</b> mode only sends an auto-reply to the first email from each incoming address.<br>
|
||
|
<b>Autoresponder</b> mode sends a response to every incoming email.
|
||
|
</p>
|
||
|
|
||
|
<include href="footer.html" />
|