File: Settings.tmpl

package info (click to toggle)
znc 0.045-3%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,120 kB
  • ctags: 2,324
  • sloc: cpp: 17,406; sh: 2,380; perl: 448; makefile: 134
file content (117 lines) | stat: -rw-r--r-- 3,520 bytes parent folder | download | duplicates (3)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<? INC Header.tmpl ?>

<form action="/settings" method="post">
	<div class="section">
		<input type="hidden" name="submitted" value="1" />

		<div class="sectiontitle">Listen Port(s)</div>
		<div class="sectionbg">
			<div class="sectionbody">
				<div class="subsection">
					<div>
						<table>
							<thead>
								<tr>
									<td>Port</td>
									<td>BindHost</td>
									<td>SSL</td>
									<td>IPv6</td>
								</tr>
							</thead>
							<? LOOP ListenLoop ?>
								<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
									<td><? VAR Port ESC=HTML ?></td>
									<td><? VAR BindHost ESC=HTML DEFAULT=* ?></td>
									<td><? IF IsSSL ?>True<? ENDIF ?></td>
									<td><? IF IsIPV6 ?>True<? ENDIF ?></td>
								</tr>
							<? ENDLOOP ?>
						</table>
					</div>
				</div>
				<div style="clear: both;"></div>
			</div>
		</div>
	</div>

	<div class="section">
		<div class="sectiontitle">Settings</div>
		<div class="sectionbg">
			<div class="sectionbody">
				<div class="subsection">
					<div class="inputlabel">Skin:</div>
					<div>
						<select name="skin">
							<? LOOP SkinLoop ?>
							<option value="<? VAR Name ESC=HTML ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? VAR Name ESC=HTML ?></option>
							<? ENDLOOP ?>
						</select>
					</div>
				</div>
				<div style="clear: both;"></div>

				<div class="subsection">
					<div class="inputlabel">Status Prefix:</div>
					<div><input type="text" name="statusprefix" value="<? VAR StatusPrefix ESC=HTML ?>" size="32" maxlength="128" /></div>
				</div>
				<div style="clear: both;"></div>

				<div class="subsection">
					<div class="inputlabel">ISpoofFile:</div>
					<div><input type="text" name="ispooffile" value="<? VAR ISpoofFile ESC=HTML ?>" size="32" maxlength="128" /></div>
				</div>

				<div class="subsection">
					<div class="inputlabel">ISpoofFormat:</div>
					<div><input type="text" name="ispoofformat" value="<? VAR ISpoofFormat ESC=HTML ?>" size="32" maxlength="128" /></div>
				</div>
				<div style="clear: both;"></div>

				<div class="subsection">
					<div class="inputlabel">MOTD:</div>
					<div><textarea name="motd" cols="70" rows="5"><? LOOP MOTDLoop ?><? VAR Line ESC=HTML ?>
<? ENDLOOP ?>
</textarea></div>
				</div>

				<div class="subsection">
					<div class="inputlabel">VHosts:</div>
					<div><textarea name="vhosts" cols="70" rows="8"><? LOOP VHostLoop ?><? VAR VHost ESC=HTML ?>
<? ENDLOOP ?>
</textarea></div>
				</div>
				<div style="clear: both;"></div>
			</div>
		</div>
	</div>

	<div class="section">
		<div class="sectiontitle">Global Modules</div>
		<div class="sectionbg">
			<div class="sectionbody">
				<table>
					<thead>
					<tr>
						<td>Name</td>
						<td>Arguments</td>
						<td>Description</td>
					</tr>
					</thead>
					<? LOOP ModuleLoop ?>
					<tr class="background: <? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
						<td><input type="checkbox" name="loadmod" id="lm_<? VAR Name ESC=HTML ?>" value="<? VAR Name ESC=HTML ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ESC=HTML ?>"> <? VAR Name ESC=HTML ?></label></td>
						<td><input type="text" name="modargs_<? VAR Name ESC=HTML ?>" value="<? VAR Args ESC=HTML ?>" /></td>
						<td><? VAR Description ?></td>
					</tr>
					<? ENDLOOP ?>
				</table>
			</div>
		</div>
	</div>

	<div>
		<input type="submit" value="Submit" />
	</div>
</form>

<? INC Footer.tmpl ?>