1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Edit profile - ${user.nick}</title>
7
<h1>Edit profile of ${user.nick}</h1>
8
<div id="ivle_padding">
10
${user.fullname} (<b>${user.login}</b><py:if test="user.studentid"> / ${user.studentid}</py:if>)
11
<a py:if="user.passhash" href="/~${user.login}/+changepassword">(change password)</a>
12
<a py:if="req.user.admin" href="/~${user.login}/+resetpassword">(reset password)</a>
13
<a py:if="req.user.admin" href="/~${user.login}/+admin">(administer)</a>
16
<p py:if="user.admin">Privilege: <strong>IVLE administrator</strong></p>
18
<form class="verticalform" action="" method="post">
20
<label for="nick">Display name:</label>
21
<input type="text" name="nick" id="nick" size="40" />
22
<span py:if="'nick' in errors" class="form_error">${errors.nick}</span>
25
<label for="email">Email address:</label>
26
<input type="text" name="email" id="email" size="40" />
27
<span py:if="'email' in errors" class="form_error">${errors.email}</span>
29
<p><input type="submit" value="Save Changes" /></p>
32
<h3 py:if="user.pass_exp or user.acct_exp">Notices</h3>
33
<p py:if="user.pass_exp">
34
Your password will expire
35
<span title="${format_datetime(user.pass_exp)}">${format_datetime_short(user.pass_exp)}</span>.
36
You should change it before then to avoid having your account
39
<p py:if="user.acct_exp">
40
Your IVLE account will expire
41
<span title="${format_datetime(user.acct_exp)}">${format_datetime_short(user.acct_exp)}</span>.