pref.tt2 2.71 KB
Newer Older
1
<!-- pref.tt2 -->
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. Any list owner or list moderator email addresses will also be updated.[%END%]</p>
40
41
<form action="[% path_cgi %]" method="post">
<fieldset>
42
43
44
45
<div>
  <label for="new_email">[%|loc%]New email address:[%END%] </label>
  <input id="new_email" name="email" size="25" />
</div>
IKEDA Soji's avatar
IKEDA Soji committed
46
<input type="hidden" name="current_email" value="[% user.email %]" />
47
48
<input class="MainMenuLinks" type="submit" name="action_move_user"
 value="[%|loc%]Change Email[%END%]" />
49
50
51
</fieldset>
</form>
<br /> 
sympa-authors's avatar
sympa-authors committed
52

sikeda's avatar
sikeda committed
53
[% UNLESS use_sso %]
54
<h4>[%|loc%]Changing your password[%END%]</h4>
sympa-authors's avatar
sympa-authors committed
55
  
56
57
<form action="[% path_cgi %]" method="post">
<fieldset>
58
59
60
<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%]" />
61
62
</fieldset>          
</form>
63
[% END %]
64

65
66
</div>

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