pref.tt2 2.67 KB
Newer Older
salaun's avatar
salaun committed
1
<!-- $Id$ -->
2
<div class="block">
3
<h2><i class="fa fa-user"></i> [%|loc%]User preferences[%END%] <a href="[% 'nomenu/help/user' | url_rel %]#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"><i class="fa fa-question-circle" title="[%|loc%]Help[%END%]"></i></a></h2>
4

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

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

32
33
34
  </fieldset>
</form>
<br />
salaun's avatar
salaun committed
35

sympa-authors's avatar
sympa-authors committed
36

37
<h3>[%|loc%]Changing your email address[%END%]</h3>
sikeda's avatar
sikeda committed
38
39

<p>[%|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%]</p>
40
41
<form action="[% path_cgi %]" method="post">
<fieldset>
42
43
<label for="new_email">[%|loc%]New email address:[%END%]  </label><input id="new_email" name="new_email" size="25" />
<input class="MainMenuLinks" type="submit" name="action_change_email_request" value="[%|loc%]Change Email[%END%]" />
44
45
46
</fieldset>
</form>
<br /> 
sympa-authors's avatar
sympa-authors committed
47

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

60
61
</div>

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