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

3
    <table style="width: 100%;" cellpadding="1" cellspacing="0">
sympa-authors's avatar
sympa-authors committed
4
5
6
7
8
9
10
11
12
13
14
15
16
      <tr valign="top">
        <th style="background-color: [% dark_color %];" colspan="2">
          <table style="width: 100%;" cellpadding="0" cellspacing="0">
            <tr>
             <th style="background-color: [% selected_color %]; width: 50%;">
              <span style="color: [% bg_color %];">
                [%|loc%]Your environment[%END%]
              </span>
             </th>
            </tr>
           </table>
         </th>
      </tr>
17
18
19
      <tr valign="top">
        <td>
          <form action="[% path_cgi %]" method="post">
salaun's avatar
salaun committed
20
         
21
22
23
	  <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>
24
					<td><input type="text" id="gecos" name="gecos" size="20" value="[% user.gecos %]" /></td></tr>
25
26
					<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
27
              [% FOREACH l = languages %]
28
		<option value='[% l.key %]' [% l.value.selected %]>[% l.value.complete %]</option>
salaun's avatar
salaun committed
29
              [% END %]
30
31
32
            </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
33
              [% FOREACH period = cookie_periods %]
34
                <option value="[% period.value %]" [% period.selected %]>[% period.desc %]</option>
salaun's avatar
salaun committed
35
              [% END %]
36
37
            </select></td></tr>
			</table>
38
            <input type="submit" name="action_setpref" value="[%|loc%]Submit[%END%]" />
sympa-authors's avatar
sympa-authors committed
39
          </form>
40
41
        </td>
      </tr>
salaun's avatar
salaun committed
42
43

      [% IF auth == 'classic' %]
44
      <tr valign="top">
sympa-authors's avatar
sympa-authors committed
45
46
47
48
49
50
51
52
53
54
55
        <th style="background-color: [% dark_color %];" colspan="2">
          <table style="width: 100%;" cellpadding="0" cellspacing="0">
            <tr>
             <th style="width: 50%; background-color: [% selected_color %];">
              <span style="color: [% bg_color %];">
                [%|loc%]Changing your email address[%END%]
              </span>
             </th><th style="width: 50%; background-color: [% selected_color %];">
              <span style="color: [% bg_color %];">
                [%|loc%]Changing your password[%END%]
              </span>
56
57
             </th>
            </tr>
sympa-authors's avatar
sympa-authors committed
58
59
60
61
           </table>
         </th>

      </tr>
salaun's avatar
salaun committed
62
       
63
64
65
      <tr valign="top">
           <td>
           <form action="[% path_cgi %]" method="post">
salaun's avatar
salaun committed
66
        
67
68
69
70
71
					 <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
72
            </form>
73
74
75
        </td>
        <td>
          <form action="[% path_cgi %]" method="post">
76
77
78
79
80
81
82
					<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
83
            </form>
salaun's avatar
salaun committed
84
85
	    [% END %]

86
        </td>
sympa-authors's avatar
sympa-authors committed
87
88
89
90
91
92
93
94
95
	<tr valign="top">
        <th style="background-color: [% dark_color %];" colspan="2">
          <table style="width: 100%;" cellpadding="0" cellspacing="0">
            <tr>
             <th style="width: 50%; background-color: [% selected_color %];">
              <span style="color: [% bg_color %];">
                [%|loc%]Your other email addresses[%END%]
              </span>
             </th>
96
97
            </tr>
           </table>
sympa-authors's avatar
sympa-authors committed
98
99
         </th>
      </tr>
salaun's avatar
salaun committed
100
      [% IF !unique %]
101
102
103
      <tr valign="top">
      <td>  
            <form action="[% path_cgi %]" method="post"> 
salaun's avatar
salaun committed
104
   	    [% FOREACH email = alt_emails %]
105
106
107
	    <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
108
	    [% END %]
sympa-authors's avatar
sympa-authors committed
109
	    </form>
110
111
      </td>
      </tr> 
salaun's avatar
salaun committed
112
      [% END %]
113
114
115
      <tr valign="top">
      <td>
	    <form action="[% path_cgi %]" method="post"> 
116
117
118
119
120
121
122
			<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
123
            </form>
124
125
      </td>
      <td valign="middle">
126
      [%|loc%]This other email address, that should be known by Sympa, will be recognized by Sympa as 
salaun's avatar
salaun committed
127
128
	an alternate email address. You will also be able to unify your subscriptions with
	your main email address.[%END%]  
129
130
131
      </td>
      </tr>
      </table>