pref.tt2 5.06 KB
Newer Older
salaun's avatar
salaun committed
1
2
<!-- $Id$ -->

sympa-authors's avatar
sympa-authors committed
3
4
          <h2 class="block">[%|loc%]Your environment[%END%]</h2>

5
6
7
8
    <table style="width: 100%;" cellpadding="1" cellspacing="0">
      <tr valign="top">
        <td>
          <form action="[% path_cgi %]" method="post">
salaun's avatar
salaun committed
9
         
10
11
12
	  <table border="0" style="border-spacing: 0.5em;">
				<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];">[%|loc%]Email[%END%] :</th><td>[% user.email %]</td></tr>
				<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="gecos">[%|loc%]Name[%END%] :</label></th>
13
					<td><input type="text" id="gecos" name="gecos" size="20" value="[% user.gecos %]" /></td></tr>
14
15
					<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="lang">[%|loc%]Language[%END%] :</label></th>
            <td><select id="lang" name="lang">
salaun's avatar
salaun committed
16
              [% FOREACH l = languages %]
17
		<option value='[% l.key %]' [% l.value.selected %]>[% l.value.complete %]</option>
salaun's avatar
salaun committed
18
              [% END %]
19
20
21
            </select></td></tr>
						<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="cookie_delay">[%|loc%]Connexion expiration period[%END%] :</label></th>
            <td><select name="cookie_delay" id="cookie_delay">
salaun's avatar
salaun committed
22
              [% FOREACH period = cookie_periods %]
23
                <option value="[% period.value %]" [% period.selected %]>[% period.desc %]</option>
salaun's avatar
salaun committed
24
              [% END %]
25
26
            </select></td></tr>
			</table>
27
            <input type="submit" name="action_setpref" value="[%|loc%]Submit[%END%]" />
sympa-authors's avatar
sympa-authors committed
28
          </form><br />
29
30
        </td>
      </tr>
salaun's avatar
salaun committed
31
32

      [% IF auth == 'classic' %]
33
      <tr valign="top">
sympa-authors's avatar
sympa-authors committed
34
35
36
37
        <th style="background-color: [% dark_color %]; width: 50%;" >
                <h2>[%|loc%]Changing your email address[%END%]</h2>
         </th><th style="width: 50%; background-color: [% dark_color %];">
                <h2>[%|loc%]Changing your password[%END%]</h2>
38
39
             </th>
            </tr>
salaun's avatar
salaun committed
40
       
41
42
43
      <tr valign="top">
           <td>
           <form action="[% path_cgi %]" method="post">
salaun's avatar
salaun committed
44
        
45
46
47
48
49
					 <table border="0" style="border-spacing: 0.5em;"> 
					 <tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="email">[%|loc%]New email address :[%END%]</label></th>
            <td><input id="email" name="email" size="15" /></td></tr>
					 </table>
            <input type="submit" name="action_change_email" value="[%|loc%]Submit[%END%]" />
sympa-authors's avatar
sympa-authors committed
50
            </form><br />
51
52
53
        </td>
        <td>
          <form action="[% path_cgi %]" method="post">
54
55
56
57
58
59
60
					<table border="0" style="border-spacing: 0.5em;">
					<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="newpasswd1">[%|loc%]New password :[%END%]</label></th>
					<td><input type="password" name="newpasswd1" id="newpasswd1" size="15" /></td></tr>
					<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="newpasswd2">[%|loc%]Re-enter your new password :[%END%]</label></th>
            <td><input type="password" name="newpasswd2" id="newpasswd2" size="15" /></td></tr>
					</table>
          <input type="submit" name="action_setpasswd" value="[%|loc%]Submit[%END%]" />
sympa-authors's avatar
sympa-authors committed
61
            </form><br />
salaun's avatar
salaun committed
62
63
	    [% END %]

64
65
66
        </td>
            </tr>
           </table>
sympa-authors's avatar
sympa-authors committed
67
68
69
70
71

           <h2 class="block">[%|loc%]Your other email addresses[%END%]</h2>


    <table style="width: 100%;" cellpadding="1" cellspacing="0">
salaun's avatar
salaun committed
72
      [% IF !unique %]
73
74
75
      <tr valign="top">
      <td>  
            <form action="[% path_cgi %]" method="post"> 
salaun's avatar
salaun committed
76
   	    [% FOREACH email = alt_emails %]
77
78
79
	    <a href="[% path_cgi %]/change_identity/[% email.key %]/pref">[% email.key %]</a>
	    <input name="email" type="hidden" value="[% email.key %]" />
	    <br />
salaun's avatar
salaun committed
80
	    [% END %]
sympa-authors's avatar
sympa-authors committed
81
	    </form><br />
82
83
      </td>
      </tr> 
salaun's avatar
salaun committed
84
      [% END %]
85
86
87
      <tr valign="top">
      <td>
	    <form action="[% path_cgi %]" method="post"> 
88
89
90
91
92
93
94
			<table border="0" style="border-spacing: 0.5em;">
			<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="new_alternative_email">[%|loc%]Other email address :[%END%]</label></th>
	    <td><input name="new_alternative_email" id="new_alternative_email" size="15" /></td></tr>
			<tr><th style="text-align: left; font-weight: normal; white-space: nowrap; color: [% dark_color %];"><label for="new_password">[%|loc%]Password :[%END%]</label></th>
	    <td><input type="password" name="new_password" id="new_password" size="15" /></td></tr>
			</table>
      <input type="submit" name="action_record_email" value="[%|loc%]Submit[%END%]" />
sympa-authors's avatar
sympa-authors committed
95
            </form><br />
96
97
      </td>
      <td valign="middle">
98
      [%|loc%]This other email address, that should be known by Sympa, will be recognized by Sympa as 
salaun's avatar
salaun committed
99
100
	an alternate email address. You will also be able to unify your subscriptions with
	your main email address.[%END%]  
101
102
103
      </td>
      </tr>
      </table>