pref.tt2 2.95 KB
Newer Older
salaun's avatar
salaun committed
1
<!-- $Id$ -->
2
<div class="block">
salaun's avatar
salaun committed
3

4
<h2>[%|loc%]User preferences[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/user#global_pref" title="[%|loc%]Open in a new window[%END%]" onclick="window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=800,height=400')" target="wws_help">[%|loc%]Help[%END%]</a></h2>
5

6
7
<form action="[% path_cgi %]" method="post">
  <fieldset>
8
9
10
 <div class="form_row"><label>[%|loc%]Email:[%END%]  </label>[% user.email %]</div>
 <div class="form_row">    <label for="gecos">[%|loc%]Name:[%END%]  </label><input type="text" id="gecos" name="gecos" size="30" value="[% user.gecos %]" /></div>
 <div class="form_row">
11
    <label for="lang" style="vertical-align:top;">[%|loc%]Language:[%END%]  </label><select id="lang" name="lang" class="neutral">
salaun's avatar
salaun committed
12
              [% FOREACH l = languages %]
sikeda's avatar
sikeda committed
13
		<option value='[% l.key %]' lang="[% l.key %]" xml:lang="[% l.key %]" [% l.value.selected %]>[% l.value.complete %]</option>
salaun's avatar
salaun committed
14
              [% END %]
15
16
            					        </select></div>
 <div class="form_row">
17
    <label for="cookie_delay">[%|loc%]Connection expiration period:[%END%]  </label><select name="cookie_delay" id="cookie_delay">
salaun's avatar
salaun committed
18
              [% FOREACH period = cookie_periods %]
19
                <option value="[% period.value %]" [% period.selected %]>[% period.desc %]</option>
salaun's avatar
salaun committed
20
              [% END %]
21
22
23
24
25
									            </select></div>

 <div class="form_row">              <input class="MainMenuLinks" type="submit" name="action_setpref" value="[%|loc%]Submit[%END%]" />
</div>

26
27
28
  </fieldset>
</form>
<br />
salaun's avatar
salaun committed
29

sympa-authors's avatar
sympa-authors committed
30

31
32
33
<!-- prynhart: Workaround for Sympa Bug 8605 -->
[% res = user.email.match('@massey.ac.nz') %]
[% IF res.0 != '1' %]
34
<h4>[%|loc%]Changing your email address[%END%]</h4>
salaun's avatar
salaun committed
35
        
36
[%|loc%]You can update your email address for all your list memberships at once. If you are also list owner or list moderator your email address for these roles will also be updated.[%END%]
37
38
<form action="[% path_cgi %]" method="post">
<fieldset>
39
40
<div class="form_row"><label for="new_email">[%|loc%]New email address:[%END%]  </label><input id="new_email" name="new_email" size="25" /></div>
<div class="form_row"><input class="MainMenuLinks" type="submit" name="action_change_email_request" value="[%|loc%]Change Email[%END%]" /></div>
41
42
43
</fieldset>
</form>
<br /> 
sympa-authors's avatar
sympa-authors committed
44

45
<h4>[%|loc%]Changing your password[%END%]</h4>
sympa-authors's avatar
sympa-authors committed
46
  
47
48
<form action="[% path_cgi %]" method="post">
<fieldset>
49
50
51
<div class="form_row"><label for="newpasswd1">[%|loc%]New password:[%END%]  </label><input type="password" name="newpasswd1" id="newpasswd1" size="25" /><br /></div>
<div class="form_row"><label for="newpasswd2">[%|loc%]Re-enter your new password:[%END%]  </label><input type="password" name="newpasswd2" id="newpasswd2" size="25" /></div>
<div class="form_row"><input class="MainMenuLinks" type="submit" name="action_setpasswd" value="[%|loc%]Submit[%END%]" /></div>
52
53
</fieldset>          
</form>
54
[% END %]
55

56
57
</div>

58
<!-- end pref.tt2 -->