<p>
Les surnoms sont <strong>systématiquement refusés</strong>. Pour
utiliser une adresse personnalisée, il faut se tourner vers
-<a href="emails/alias">l'alias @melix.net</a>.
+<a href="emails/alias">l'alias @{#globals.mail.alias_dom#}</a>.
</p>
<p>
<br />
- <form action="profile/usage" method="post">
+{literal}
+ <form action="profile/usage" method="post" onsubmit="
+ for (var i=this.reason.length-1; i>=0; i--) {
+ if (this.reason[i].checked &&
+ (this.reason[i].value != 'other' || this.other_reason.value != '')) {
+ return true;
+ }
+ }
+ alert('Tu dois préciser une raison motivant ta demande.');
+ return false;
+">
+{/literal}
<table class="bicol" cellpadding="4" summary="Nom d'usage">
<tr>
<th>Nom d'usage</th>
</tr>
<tr>
<td class="rt">
- <input type="radio" name="reason" checked="checked" value="époux/se" id="reason_ep" onclick="this.form.other_reason.value=''" /><label for="reason_ep">Nom d'épouse / d'époux</label><br />
+ <input type="radio" name="reason" value="époux/se" id="reason_ep" onclick="this.form.other_reason.value=''" /><label for="reason_ep">Nom d'épouse / d'époux</label><br />
{if $usage_old}
<input type="radio" name="reason" value="divorce" id="reason_div" onclick="this.form.other_reason.value=''" /><label for="reason_div">Divorce</label><br />
{/if}