X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fredirect.tpl;h=a56e173e8ad33894087c1dae4ac6f8263b9ff4d7;hb=cecdf74795e71ed038411915dad5e0dff6ea51fa;hp=9ae1002a7da9610e27f7f788d714b0105a919028;hpb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;p=platal.git diff --git a/templates/emails/redirect.tpl b/templates/emails/redirect.tpl index 9ae1002..a56e173 100644 --- a/templates/emails/redirect.tpl +++ b/templates/emails/redirect.tpl @@ -79,9 +79,9 @@ function removeRedirect(link, email) { - if (confirm("Supprimer l'adresse " + email + " ?")) { + if (confirm("Supprimer l'adresse " + email + " ?")) { $.get(link.href, {},function() { - $('tr[@id=line_' + email.replace('@', '_at_') + ']').remove(); + $('#line_' + email.replace('@', '_at_').replace('.','\\.')).remove(); showRemove(); activeEnable(); }); @@ -123,6 +123,7 @@ {test_email}

+
@@ -171,21 +172,21 @@ {icon name=cross title="Supprimer"} {else} - {if $e->sufficient}{/if} + {if $e->sufficient} {/if} {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"} - -
Redirection
+
{xsrf_token_field}
+

@@ -262,7 +263,7 @@ tes emails, Google Calendar, Google Docs…) sur une adresse polytechnique.org.

- +