- {$melix}@{#globals.mail.alias_dom#},
- {$melix}@{#globals.mail.alias_dom2#}
+
+ -
+ {icon name="table" title="Afficher toutes tes adresses polytechniciennes"} {$best_email}
- {/if}
- {foreach from=$alias item=a}
- -
- {$a.alias}@{#globals.mail.domain#}
- {if $a.expire}(expire le {$a.expire|date_format}){/if}
+
+
+ {foreach from=$alias item=a name=alias}
+ -
+ {if $smarty.foreach.alias.first}
+ {icon name="table" title="Cacher tes adresses polytechniciennes"}
+ {else}
+ {icon name="null"}
+ {/if}
+ {$a.email}
+ {if $a.expire}(expire le {$a.expire|date_format}){/if}
{/foreach}
@@ -80,7 +84,7 @@
{
if (confirm("Supprimer l'adresse " + email + " ?")) {
$.get(link.href, {},function() {
- $('#line_' + email.replace('@', '_at_').replace('.','\\.')).remove();
+ $('#line_' + email.replace('@', '_at_').replace(/\./g, '_dot_')).remove();
showRemove();
activeEnable();
});
@@ -132,11 +136,11 @@
|
{foreach from=$emails item=e name=redirect}
-
+
- {if $e->broken}{assign var="erreur" value="1"}{/if}
- {if $e->panne neq '0000-00-00'}{assign var="panne" value="1"}{icon name=error title="En panne"}{/if}
+ {if $e->broken}{assign var="error" value="1"}{/if}
+ {if $e->broken_date neq '0000-00-00'}{assign var="broken" value="1"}{icon name=error title="En panne"}{/if}
{$e->display_email}
{if $e->broken}{/if}
@@ -150,13 +154,8 @@
{if $e->has_rewrite()}
{if $e->rewrite neq '' && !$e->allow_rewrite}{icon name="error" title="en attente de validation"}{/if}
@@ -166,25 +165,27 @@
|
{if $e->is_removable()}
-
+
{icon name=cross title="Supprimer"}
{else}
{if $e->sufficient} {/if}
- {icon name=information title="Plus d'informations"}
+ {icon name=information title="Plus d'informations"}
{/if}
|
{/foreach}
- {cycle values="pair,impair" assign=class_combobox}
- {$error_email}
- {include file="include/emails.combobox.tpl" name="email" val=$email class=$class_combobox error=$error_email i="0"}
-
-
- {xsrf_token_field}
- |
+ {cycle values="pair,impair" assign=class_combobox}
+ {include file="include/emails.combobox.tpl" name="email" val=$email class=$class_combobox error=$error_email i="0"}
+
+
+
+
+ {xsrf_token_field}
+
+ |
+
@@ -193,7 +194,7 @@
Légende : {icon name=cross title="Supprimer"} Supprimer la redirection
- {icon name=information title="Plus d'informations"} Plus d'informations
-{if $panne}
+{if t($broken)}
{icon name=error title="En panne"}
@@ -203,7 +204,7 @@
a été détectée. Si le problème persiste, la redirection vers ces adresses sera désactivée.
{/if}
-{if $erreur}
+{if t($error)}
{icon name=error title="En panne"}
@@ -256,6 +257,7 @@
{/if}
{if #globals.mailstorage.googleapps_active# or hasPerm('admin') or $googleapps}
+{if hasPerm('gapps')}
Grâce à un partenariat avec Google, Polytechnique.org te propose également un compte
@@ -293,6 +295,7 @@
{/if}
+{/if}
{if $eleve}
Pour les élèves (non encore diplômés)
@@ -316,4 +319,4 @@
{/if}
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}