summaryrefslogtreecommitdiff
path: root/web/template/account-edit.html
blob: 3e629c06becc7057f7d174416c3bef73b6c19b08 (plain)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>Update Account</title>
	</head>
	<body bgcolor="#aaaaaa" text="#000000" LINK="#0000ff" ALINK="#ff0000" VLINK="#ff0000">
		<table cellpadding=0 cellspacing=0 width="100%">
			<tr>
				<td colspan=2 bgcolor="#444444">
					<font color="#ffffff">
						<a href="/"><font color="#bbbbff">www.noreply.org</font></a> ::
						Update Account</font>
				</td>
			</tr>
			<tr>
				<td colspan=2 bgcolor="#444444">
					<font color="#ffffff">
						<TMPL_IF NAME="user">
							Logged in as <a href="account-edit.php"><font color="#bbbbff"><TMPL_VAR NAME="user"></font></a>
							-
							<a href="logout.php"><font color="#bbbbff">Logout</font></a>
						</TMPL_IF NAME="user">
						<TMPL_UNLESS NAME="user">
							Not logged in.
						</TMPL_UNLESS NAME="user">
				</td>
			</tr>
			<tr>
				<td colspan=2 bgcolor="#ffffff">
				&nbsp;</td>
			</tr>
			<tr>
				<td bgcolor="#ffffff">
				&nbsp;</td>
				<td bgcolor="#ffffff">
					<p>
					Update account:
					<p>
					<TMPL_IF NAME="message">
						<p>
							<font color="red">
								<strong>
									<TMPL_VAR NAME="message">
								</strong>
							</font>
					</TMPL_IF NAME="message">
					<form method="post" action="<TMPL_VAR NAME="PHP_SELF">">
						<input TYPE="hidden" NAME="form_id" VALUE="commit">
						<table>
							<tr>
								<th align="left">
								Username:</th>
								<td>
									<TMPL_VAR NAME="username_field">
								</td>
							</tr>
							<tr>
								<th align="left">
								Your Name:</th>
								<td>
									<input type="text" name="name" value="<TMPL_VAR NAME="name_field">"> (optional)
								</td>
							</tr>
							<tr>
								<th align="left">
								Password:</th>
								<td>
									<input type="password" name="password1">
								</td>
							</tr>
							<tr>
								<th align="left">
								again:</th>
								<td>
									<input type="password" name="password2">
								</td>
							</tr>
							<tr>
								<th align="left">
								&nbsp;</th>
								<td>
									<input type="submit" name="commt" value="Update">
									 <input type="reset">
								</td>
							</tr>
						</table>
					</form>

					<p>
					<strong>Email Addresses</strong>
					<table>
						<tr>
							<th>Address</th>
							<th>Status</th>
							<th>Action</th>
							<th>&nbsp;</th>
						</tr>
						<TMPL_LOOP NAME="addresses">
							<tr>
								<td><TMPL_VAR NAME="address"></td>
								<TMPL_CMP NAME="verified" VALUE="t">
									<TMPL_CMP NAME="enabled" VALUE="t">
										<td>active, mail will be sent</td>
										<td><form action="<TMPL_VAR NAME="PHP_SELF">" method="post"><input type="hidden" name="form_id" value="addr_disable"><input type="hidden" name="address_ref" value="<TMPL_VAR NAME="ref">"><input type="submit" name="disable" value="Set Disabled"></form></td>
									</TMPL_CMP NAME="enabled">
									<TMPL_CMP NAME="enabled" VALUE="f">
										<td>disabled, mail will not be sent</td>
										<td><form action="<TMPL_VAR NAME="PHP_SELF">" method="post"><input type="hidden" name="form_id" value="addr_enable"><input type="hidden" name="address_ref" value="<TMPL_VAR NAME="ref">"><input type="submit" name="enable" value="Set Active"></form></td>
									</TMPL_CMP NAME="enabled">
								</TMPL_CMP NAME="verified">
								<TMPL_CMP NAME="verified" VALUE="f">
									<td>not yet verified</td>
									<td><form action="<TMPL_VAR NAME="PHP_SELF">" method="post"><input type="hidden" name="form_id" value="addr_verify"><input type="hidden" name="address_ref" value="<TMPL_VAR NAME="ref">"><input type="text" name="code" value=""><input type="submit" name="verify" value="Verify"></form></td>
								</TMPL_CMP NAME="verified">
								<td><form action="<TMPL_VAR NAME="PHP_SELF">" method="post"><input type="hidden" name="form_id" value="addr_delete"><input type="hidden" name="address_ref" value="<TMPL_VAR NAME="ref">"><input type="submit" value="delete" name="delete"></form></td>
							</tr>
						</TMPL_LOOP NAME="addresses">
						<form action="<TMPL_VAR NAME="PHP_SELF">" method="post">
							<input type="hidden" name="form_id" value="addr_new">
							<tr>
								<td><input type="text" name="address" value=""></td>
								<td>new</td>
								<td><input type="submit" value="Create" name="addr_new"></td>
							</td>
						</form>
					</table>
				</td>
			</tr>
			<tr>
				<td colspan=2 bgcolor="#ffffff">
				&nbsp;</td>
			</tr>
			<tr>
				<td colspan=2 bgcolor="#444444">
					<font color="#ffffff">
						<em><a href="mailto:web@palfrader.org"><font color="#bbbbff">web@palfrader.org</font></a></em> -
							<a href="http://validator.w3.org/check/referer"><font color="#bbbbff">Valid HTML 4.01!</font></a>
					</font>
				</td>
			</tr>
		</table>
	</body>
	<!-- vim:set ts=2: -->
	<!-- vim:set shiftwidth=2: -->
</html>