summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog/templates/page-filters-edit-mailconfig.html
blob: 1cf77057b67d39515e339b58cd5029208405ce22 (plain) (blame)
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
<h2>{{lang_editMail}} {{#senderaddress}}–{{/senderaddress}} {{senderaddress}}</h2>

<form method="post" action="?do=eventlog&amp;show=mailconfigs">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="id" value="{{configid}}">
	<div class="form-group row">
		<div class="col-md-4">
			<label for="i-host">{{lang_host}}</label>
			<input id="i-host" class="form-control" name="host" value="{{host}}" required>
		</div>
		<div class="col-md-4">
			<label for="i-ssl">{{lang_ssl}}</label>
			<select name="ssl" id="i-ssl" class="form-control">
				<option value="IMPLICIT" {{IMPLICIT_selected}}>{{lang_sslImplicit}}</option>
				<option value="NONE" {{NONE_selected}}>{{lang_sslNone}}</option>
				<option value="EXPLICIT" {{EXPLICIT_selected}}>{{lang_sslExplicit}}</option>
			</select>
		</div>
		<div class="col-md-4">
			<label for="i-port">{{lang_port}}</label>
			<input id="i-port" type="number" min="1" max="65535" class="form-control" name="port" value="{{port}}" required>
		</div>
	</div>
	<div class="form-group row">
		<div class="col-sm-6">
			<label for="i-username">{{lang_username}}</label>
			<input id="i-username" class="form-control" name="username" value="{{username}}">
		</div>
		<div class="col-sm-6">
			<label for="i-password">{{lang_password}}</label>
			<input id="i-password" type="{{password_type}}" class="form-control" name="password" value="{{password}}">
		</div>
	</div>
	<div class="form-group row">
		<div class="col-sm-6">
			<label for="i-senderaddress">{{lang_senderAddress}}</label>
			<input id="i-senderaddress" class="form-control" name="senderaddress" value="{{senderaddress}}" required>
		</div>
		<div class="col-sm-6">
			<label for="i-replyto">{{lang_replyTo}}</label>
			<input id="i-replyto" class="form-control" name="replyto" value="{{replyto}}">
		</div>
	</div>
	<div class="buttonbar text-right">
		<a class="btn btn-default" href="?do=eventlog&amp;show=mailconfigs">
			{{lang_cancel}}
		</a>
		<button class="btn btn-primary" type="submit" name="action" value="save-mailconfig">
			<span class="glyphicon glyphicon-floppy-disk"></span>
			{{lang_save}}
		</button>
	</div>
</form>