Commit | Line | Data |
---|---|---|
bb0727ea VZ |
1 | {**************************************************************************} |
2 | {* *} | |
3 | {* Copyright (C) 2003-2008 Polytechnique.org *} | |
4 | {* http://opensource.polytechnique.org/ *} | |
5 | {* *} | |
6 | {* This program is free software; you can redistribute it and/or modify *} | |
7 | {* it under the terms of the GNU General Public License as published by *} | |
8 | {* the Free Software Foundation; either version 2 of the License, or *} | |
9 | {* (at your option) any later version. *} | |
10 | {* *} | |
11 | {* This program is distributed in the hope that it will be useful, *} | |
12 | {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} | |
13 | {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} | |
14 | {* GNU General Public License for more details. *} | |
15 | {* *} | |
16 | {* You should have received a copy of the GNU General Public License *} | |
17 | {* along with this program; if not, write to the Free Software *} | |
18 | {* Foundation, Inc., *} | |
19 | {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} | |
20 | {* *} | |
21 | {**************************************************************************} | |
22 | ||
80136b4b | 23 | <h1>Ton compte Google Apps pour Polytechnique.org</h1> |
bb0727ea VZ |
24 | |
25 | <p>Polytechnique.org te fournit un compte <b>Google Apps</b> qui te permet de disposer | |
26 | des applications web de Google (<a href="http://mail.google.com/a/polytechnique.org/">GMail</a>, | |
27 | <a href="http://www.google.com/calendar/hosted/polytechnique.org/">Google Calendar</a>, | |
28 | <a href="http://docs.google.com/a/polytechnique.org/">Google Docs</a>, et bien d'autres) | |
80136b4b | 29 | sur ton adresse Polytechnique.org habituelle (<a href="Xorg/GoogleApps">en savoir plus</a>). |
bb0727ea VZ |
30 | </p> |
31 | ||
32 | {if !$account->g_status} | |
80136b4b VZ |
33 | {if !$has_password_sync} |
34 | <p>Tu peux créer ce compte indépendant <i>Google Apps pour Polytechnique.org</i> en utilisant le | |
bb0727ea VZ |
35 | formulaire ci-dessous. |
36 | </p> | |
37 | <p><b>Attention :</b> ce compte Google Apps est hébergé par <b>Google</b>, et non | |
80136b4b | 38 | par Polytechnique.org. Nous te déconseillons d'y conserver des informations |
bb0727ea VZ |
39 | confidentielles ou sensibles !<br /> |
40 | </p> | |
80136b4b | 41 | {/if} |
bb0727ea VZ |
42 | |
43 | <table class="bicol" id="create"> | |
44 | <col width="8%" /> | |
45 | <col width="92%" /> | |
46 | <tr> | |
80136b4b | 47 | <th colspan="2">Création de ton compte Google Apps</th> |
bb0727ea VZ |
48 | </tr> |
49 | ||
50 | {if !$has_password_sync} | |
51 | <form action="googleapps/create" method="get"> | |
52 | <tr class="impair"> | |
53 | <td colspan="2"><b>Mot de passe du compte :</b></td> | |
54 | </tr> | |
55 | <tr class="impair"> | |
56 | <td style="text-align: center"> | |
57 | <input type="radio" name="password_sync" value="1" checked="checked" id="pwsync_true" /> | |
58 | </td> | |
59 | <td> | |
80136b4b | 60 | <label for="pwsync_true">Utiliser ton mot de passe Polytechnique.org pour ton compte Google Apps.</label><br /> |
bb0727ea | 61 | <span style="font-size: smaller; font-style: italic;"> |
80136b4b VZ |
62 | Les futurs changements de ton mot de passe seront répercutés sur ton compte Google Apps. |
63 | </span><br /> | |
64 | <span style="font-size: smaller; font-weight: bold;"> | |
65 | Réglage recommandé par Polytechnique.org. | |
bb0727ea VZ |
66 | </span> |
67 | </td> | |
68 | </tr> | |
69 | <tr class="impair"> | |
70 | <td style="text-align: center"> | |
71 | <input type="radio" name="password_sync" value="0" id="pwsync_false" /> | |
72 | </td> | |
73 | <td> | |
80136b4b | 74 | <label for="pwsync_false">Utiliser un nouveau mot de passe pour ton compte Google Apps.</label> |
bb0727ea VZ |
75 | </td> |
76 | </tr> | |
77 | <tr class="impair"> | |
78 | <td colspan="2" style="text-align: center"> | |
79 | <input type="submit" value="Continuer >>" /> | |
80 | </td> | |
81 | </tr> | |
82 | </form> | |
83 | {else} | |
84 | <tr class="impair"> | |
85 | <td colspan="2"><b>Mot de passe du compte :</b></td> | |
86 | </tr> | |
87 | {if $password_sync} | |
88 | <tr class="impair"> | |
89 | <td></td> | |
90 | <td> | |
91 | Tu as choisi d'avoir le même mot de passe pour Google Apps et Polytechnique.org.<br /> | |
92 | Tu peux encore choisir d'utiliser des <a href="googleapps/create?password_sync=0">mots de passe différents</a>. | |
93 | </td> | |
94 | </tr> | |
95 | {else} | |
96 | <tr class="impair"> | |
97 | <td></td> | |
98 | <td>Tu as choisi d'avoir un nouveau mot de passe pour ton compte Google Apps :</td> | |
99 | </tr> | |
100 | <tr class="impair"> | |
101 | <td colspan="2"> | |
102 | <form action="#" method="post" id="changepass"> | |
103 | <table class="tinybicol"> | |
104 | <tr> | |
105 | <td class="titre">Nouveau mot de passe</td> | |
106 | <td><input type="password" name="nouveau" onfocus="document.forms.changepass2.password_sync[1].checked = true;" /></td> | |
107 | </tr> | |
108 | <tr> | |
109 | <td class="titre">Vérification</td> | |
110 | <td><input type="password" name="nouveau2" onfocus="document.forms.changepass2.password_sync[1].checked = true;" /></td> | |
111 | </tr> | |
112 | </table> | |
113 | </form> | |
114 | </td> | |
115 | </tr> | |
116 | <tr class="impair"> | |
117 | <td></td> | |
118 | <td> | |
119 | Tu peux encore choisir d'<a href="googleapps/create?password_sync=1">avoir des mots de passes synchronisés</a>. | |
120 | </td> | |
121 | </tr> | |
122 | {/if} | |
123 | ||
124 | <form action="googleapps/create" method="post" id="changepass2"> | |
125 | <tr class="pair"> | |
126 | <td colspan="2"><b>Redirection des emails :</b></td> | |
127 | </tr> | |
128 | <tr class="pair"> | |
129 | <td style="text-align: center"> | |
130 | <input type="radio" name="redirect_mails" value="1" checked="checked" id="redirection_true" /> | |
131 | </td> | |
132 | <td> | |
80136b4b | 133 | <label for="redirection_true">Ajouter une redirection de mes emails vers mon compte Google Apps.</label><br /> |
bb0727ea | 134 | <span style="font-size: smaller;"> |
80136b4b VZ |
135 | Tes <em>Polytechnique.org</em> seront redirigés vers ton nouveau webmail, en plus de tes redirections actuelles.<br /><br /> |
136 | <strong>Attention : ton compte Google Apps est hébergé par <em>Google</em>.</strong><br /> | |
137 | Si tu utilises tes adresses <em>Polytechnique.org</em> pour des communications confidentielles ou dans un cadre professionnel, | |
138 | nous te déconseillons donc de rediriger tes emails vers Google Apps. | |
bb0727ea VZ |
139 | </span> |
140 | </td> | |
141 | </tr> | |
142 | <tr class="pair"> | |
80136b4b VZ |
143 | <td colspan="2" style="text-align: center">- ou -</td> |
144 | </tr> | |
145 | <tr class="pair"> | |
bb0727ea VZ |
146 | <td style="text-align: center"> |
147 | <input type="radio" name="redirect_mails" value="0" id="redirection_false" /> | |
148 | </td> | |
149 | <td> | |
150 | <label for="redirection_false">Ne <i>pas</i> rediriger mes emails vers mon compte Google Apps.</label><br /> | |
151 | <span style="font-size: smaller;"> | |
80136b4b VZ |
152 | Tu ne pourras pas lire tes emails dans ton nouveau webmail Google Apps.<br /> |
153 | <strong>Ce réglage n'est pas recommandé par Polytechnique.org.</strong> | |
bb0727ea VZ |
154 | </span> |
155 | </td> | |
156 | </tr> | |
157 | ||
158 | <tr class="impair"> | |
80136b4b VZ |
159 | <td colspan="2"><b>Création du compte :</b></td> |
160 | </tr> | |
161 | <tr class="impair"> | |
162 | <td></td> | |
163 | <td>La mise en place du compte Google Apps prends quelques minutes. Tu recevras un email explicatif dès l'opération terminée.</td> | |
164 | </tr> | |
165 | <tr class="impair"> | |
bb0727ea VZ |
166 | <td colspan="2" style="text-align:center"> |
167 | <input type="hidden" name="password_sync" value="{$password_sync}" /> | |
168 | {if $password_sync} | |
169 | <input type="submit" value="Créer mon compte !" /> | |
170 | {else} | |
171 | <input type="hidden" name="response2" value="" /> | |
172 | <input type="submit" value="Créer mon compte !" onclick="EnCryptedResponse(); return false;" /> | |
173 | {/if} | |
174 | </td> | |
175 | </tr> | |
176 | </form> | |
177 | {/if} | |
178 | </table> | |
179 | ||
180 | {elseif $account->g_status eq 'unprovisioned' or $account->pending_create} | |
181 | <br /> | |
182 | <table class="bicol" id="status"> | |
183 | <tr> | |
184 | <th>État de ton compte</th> | |
185 | </tr> | |
186 | <tr class="impair"> | |
187 | <td> | |
188 | Ton compte Google Apps est en cours de création.<br /> | |
189 | Tu recevras un email dès que l'opération sera terminée. | |
190 | </td> | |
191 | </tr> | |
192 | </table> | |
193 | ||
194 | {elseif $account->pending_delete} | |
195 | <br /> | |
196 | <table class="bicol" id="status"> | |
197 | <tr> | |
198 | <th>État de ton compte</th> | |
199 | </tr> | |
200 | <tr class="impair"> | |
201 | <td> | |
202 | Ton compte Google Apps est en cours de suppression. | |
203 | </td> | |
204 | </tr> | |
205 | </table> | |
206 | ||
f5c4bf30 | 207 | {elseif $account->suspended() or $account->pending_update_suspension} |
bb0727ea VZ |
208 | <br /> |
209 | <table class="bicol" id="status"> | |
210 | <tr> | |
211 | <th>État de ton compte</th> | |
212 | </tr> | |
213 | <tr class="impair"> | |
214 | <td> | |
215 | Ton compte Google Apps est actuellement <b>désactivé</b>. Tu ne reçois donc plus aucun | |
216 | message sur ce compte. | |
217 | </td> | |
218 | </tr> | |
f5c4bf30 | 219 | {if $account->pending_validation_unsuspend or ($account->suspended() and $account->pending_update_suspension)} |
bb0727ea VZ |
220 | <tr class="pair"> |
221 | <td> | |
222 | La réactivation de ton compte est en attente de validation.<br /> | |
223 | Tu recevras un email dès que l'opération sera terminée. | |
224 | </td> | |
225 | </tr> | |
f5c4bf30 | 226 | {elseif !$account->suspended() and $account->pending_update_suspension} |
bb0727ea VZ |
227 | <tr class="pair"> |
228 | <td> | |
229 | Les opérations de désactivation de ton compte Google Apps ne sont pas terminées, tu ne peux donc pas encore demander sa réactivation. | |
230 | </td> | |
231 | </tr> | |
232 | {else} | |
233 | {if $account->g_suspension} | |
234 | <tr class="pair"> | |
235 | <td> | |
236 | Ton compte est actuellement suspendu pour la raison suivante: <em>{$account->g_suspension}</em>. | |
237 | </td> | |
238 | </tr> | |
239 | {/if} | |
240 | <tr class="impair"> | |
241 | <td> | |
242 | La réactivation de ton compte est soumise à une validation manuelle par un administrateur de Polytechnique.org. | |
243 | Ton compte réactivé contiendra toutes tes anciennes données. | |
244 | <br /><br /> | |
245 | <div class="center"> | |
246 | <form action="googleapps/unsuspend" method="post"> | |
247 | <input type="hidden" name="redirect_mails" value="1" /> | |
248 | <input type="submit" name="unsuspend" value="Réactiver mon compte Google Apps et y rediriger mes emails" /> | |
249 | </form> | |
250 | <br /> | |
251 | <form action="googleapps/unsuspend" method="post"> | |
252 | <input type="hidden" name="redirect_mails" value="0" /> | |
253 | <input type="submit" name="unsuspend" value="Réactiver mon compte Google Apps et ne pas y rediriger mes emails" /> | |
254 | </form> | |
255 | </div><br /> | |
256 | Tu pourras toujours <a href="emails/redirect">changer la redirection de tes emails</a> plus tard. | |
257 | </td> | |
258 | </tr> | |
259 | {/if} | |
260 | </table> | |
261 | ||
262 | {else} | |
263 | <p>Tu peux utiliser ces services :</p> | |
264 | <ul> | |
265 | <li>Soit en passant par la <a href="http://google.polytechnique.org/">la page d'accueil Google de Polytechnique.org</a> ;</li> | |
266 | <li>Soit en utilisant directement les différents services : | |
267 | <ul> | |
268 | <li>Pour tes mails, sur le <a href="http://mail.google.com/a/polytechnique.org/">GMail de Polytechnique.org</a> ;</li> | |
269 | <li>Pour ton calendrier, sur <a href="http://www.google.com/calendar/hosted/polytechnique.org/">Google Calendar</a> ;</li> | |
270 | <li>Pour tes documents, sur <a href="http://docs.google.com/a/polytechnique.org/">Google Docs</a>.</li> | |
271 | </ul> | |
272 | </li> | |
273 | </ul> | |
274 | ||
275 | <table class="bicol" id="status"> | |
276 | <tr> | |
277 | <th>État de ton compte</th> | |
278 | </tr> | |
279 | <tr class="impair"> | |
280 | <td>Ton compte <b>{$account->g_account_name}</b> existe{if $account->r_creation} depuis le {$account->r_creation|date_format:"%d/%m/%Y"}{/if}.</td> | |
281 | </tr> | |
282 | {if $account->reporting_date and $account->r_disk_usage} | |
283 | <tr class="pair"> | |
284 | <td>Au {$account->reporting_date|date_format:"%d %B %Y"}, tu avais {$account->r_disk_usage/1024/1024|string_format:"%.1f"} Mo de mails.</td> | |
285 | </tr> | |
286 | {/if} | |
287 | <tr class="impair"> | |
288 | {if $redirect_active and $redirect_unique} | |
289 | <td> | |
290 | Ta seule adresse de redirection de tes mails est celle de ton compte Google Apps.<br /> | |
291 | Si tu souhaites désactiver celui-ci, tu dois d'abord <a href="emails/redirect">ajouter une nouvelle adresse de redirection</a>. | |
292 | </td> | |
293 | {else} | |
294 | <td> | |
295 | Si tu ne souhaites plus utiliser ton compte, tu peux le désactiver :<br /><br /> | |
296 | <div class="center"> | |
297 | <form action="googleapps/suspend" method="post"> | |
298 | <input type="submit" name="suspend" value="Désactiver mon compte Google Apps" /> | |
299 | </form> | |
300 | </div> | |
301 | <div style="margin-top: 0.5em"> | |
302 | {icon name=error} Une fois ton compte désactivé, tu ne pourras plus accéder à tes mails sur Google Apps.<br /> | |
303 | {icon name=information} La réactivation est possible, mais nécessite d'être validée par un administrateur. | |
304 | </div> | |
305 | </td> | |
306 | {/if} | |
307 | </tr> | |
308 | </table> | |
309 | <br /> | |
310 | ||
311 | <table class="bicol" id="password"> | |
312 | <tr> | |
313 | <th>Ton mot de passe Google Apps</th> | |
314 | </tr> | |
315 | {if $account->sync_password} | |
316 | <tr class="impair"> | |
317 | <td> | |
318 | Le mot de passe de ton compte Google Apps est actuellement celui que tu utilises pour | |
319 | Polytechnique.org. Tu peux : | |
320 | </td> | |
321 | </tr> | |
322 | ||
323 | {if $account->pending_update_password} | |
324 | <tr class="pair"> | |
325 | <td><div class="erreur"> | |
326 | Ton mot de passe est en cours de changement.<br /> | |
327 | Tu pourras à nouveau le modifier d'ici quelques secondes. | |
328 | </div></td> | |
329 | </tr> | |
330 | {else} | |
331 | <tr class="impair"> | |
332 | <td> | |
333 | <ul style="margin-top: 0"> | |
334 | <li><a href="password">Changer ce mot de passe commun</a></li> | |
80136b4b | 335 | <li><a href="googleapps/password/nosync#password">Ne plus répercuter les changements de mot de passe vers Google Apps</a></li> |
bb0727ea VZ |
336 | </ul> |
337 | </td> | |
338 | </tr> | |
339 | {/if} | |
340 | {else} | |
341 | <tr class="impair"> | |
342 | <td> | |
343 | Tu as actuellement deux mots de passes indépendants (pour ton compte Polytechnique.org et pour ton compte Google Apps). | |
344 | Tu peux : | |
345 | </td> | |
346 | </tr> | |
347 | ||
348 | {if $account->pending_update_password} | |
349 | <tr class="pair"> | |
350 | <td><div class="erreur"> | |
351 | Ton mot de passe est en cours de changement.<br /> | |
352 | Tu pourras à nouveau le modifier d'ici quelques secondes. | |
353 | </div></td> | |
354 | </tr> | |
355 | {else} | |
356 | <tr class="impair"> | |
357 | <td> | |
358 | <ul style="margin-top: 0"> | |
359 | <li style="margin-bottom: 1em"> | |
360 | <a href="googleapps/password/sync">Choisir d'utiliser le même mot de passe pour les deux comptes.</a><br /> | |
361 | Attention, cette opération changera ton mot de passe Google Apps. | |
362 | </li> | |
363 | <li> | |
364 | Changer le mot de passe de ton compte Google Apps:<br /><br /> | |
365 | <form action="googleapps/password#password" method="post" id="changepass"> | |
366 | <table class="tinybicol"> | |
367 | <tr> | |
368 | <td class="titre">Nouveau mot de passe</td> | |
369 | <td><input type="password" name="nouveau" /></td> | |
370 | </tr> | |
371 | <tr> | |
372 | <td class="titre">Vérification</td> | |
373 | <td><input type="password" name="nouveau2" /></td> | |
374 | </tr> | |
375 | <tr> | |
376 | <td></td> | |
377 | <td><input type="submit" value="Changer" onclick="EnCryptedResponse(); return false;" /></td> | |
378 | </tr> | |
379 | </table> | |
380 | </form> | |
381 | <form action="googleapps/password#password" method="post" id="changepass2"> | |
382 | <input type="hidden" name="response2" value="" /> | |
383 | </form><br /> | |
d73f885f VZ |
384 | Pour une sécurité optimale, ton mot de passe circule de manière sécurisée (https). |
385 | Il est chiffré irréversiblement sur nos serveurs, ainsi que sur ceux de Google. | |
bb0727ea VZ |
386 | </li> |
387 | </ul> | |
388 | </td> | |
389 | </tr> | |
390 | {/if} | |
391 | {/if} | |
392 | </table> | |
393 | <br /> | |
394 | ||
395 | <table class="bicol" id="emails"> | |
396 | <tr> | |
397 | <th>Redirection des emails vers Google Apps</th> | |
398 | </tr> | |
399 | ||
400 | <tr class="impair"> | |
401 | {if $redirect_active and !$redirect_unique} | |
80136b4b | 402 | <td>Tes emails Polytechnique.org sont redirigés vers Google Apps, en plus de tes autres redirections.</td> |
bb0727ea | 403 | {elseif $redirect_active} |
80136b4b | 404 | <td>Tes emails Polytechnique.org ne sont redirigés que vers Google Apps.</td> |
bb0727ea | 405 | {else} |
80136b4b | 406 | <td>Tu ne reçois <em>pas</em> tes emails Polytechnique.org sur ton webmail Google Apps.</td> |
bb0727ea VZ |
407 | {/if} |
408 | </tr> | |
409 | <tr class="pair"> | |
410 | <td class="center"><a href="emails/redirect">Changer mes redirections mail</a></td> | |
411 | </tr> | |
412 | </table> | |
413 | {/if} | |
414 | ||
415 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |