{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<h2>Matricules</h2>
-Matricule polytechnique.org : {$matricule}
+Matricule polytechnique.org : {$matricule}
{if $matricule_X}
<br />
-Matricule École (à rentrer lors de l'inscription) : <strong>{$matricule_X}</strong>
+Matricule École (à rentrer lors de l'inscription) : <strong>{$matricule_X}</strong>
{/if}
{if $pending}
</p>
<p>
{if $relance eq '0000-00-00'}
-il n'a jamais été relancé.
+il n'a jamais été relancé.
{else}
-sa dernière relance date du {$relance|date_format}
+sa dernière relance date du {$relance|date_format}
{/if}
</p>
-<p>[<a href='{rel}/{$path}/insrel'>le relancer</a>]</p>
+<p>[<a href='{$path}/insrel'>le relancer</a>]</p>
{/if}
<h2>Adresses connues</h2>
-<form action="{rel}/{$path}/add" method="post">
+<form action="{$path}/add" method="post">
<table class="bicol" cellpadding="0" cellspacing="0">
<tr>
<th>Adresse</th>
{iterate from=$addr item=a}
<tr class="{cycle values='impair,pair'}">
<td>{$a.email}</td>
- <td><a href="{rel}/fiche.php?user={$a.alias}" class="popup2">{$a.alias}</a> {if $a.type eq user}(*){/if}</td>
+ <td><a href="profile/{$a.alias}" class="popup2">{$a.alias}</a> {if $a.type eq user}(*){/if}</td>
<td>{$a.date|date_format|default:'-'}</td>
<td>{$a.last|date_format|default:'-'}</td>
<td class='center'>{$a.nb|default:"-"}</td>
<td class='action'>
- <a href='{rel}/{$path}/del/{$a.email}'>del</a><br />
- <a href='{rel}/{$path}/rel/{$a.email}'>relance</a>
+ <a href='{$path}/del/{$a.email}'>del</a><br />
+ <a href='{$path}/rel/{$a.email}'>relance</a>
</td>
</tr>
{/iterate}
</form>
{if $rel_to}
-<form action="{rel}/{$path}/relforce/{$email}" method="post">
+<form action="{$path}/relforce/{$email}" method="post">
<table class="bicol">
<tr class="pair">
<th colspan="2">Edition du mail de relance</th>
</tr>
<tr class="pair">
<td align="right"><strong>From:</strong></td>
- <td><select name="from">
- <option value="staff">{$rel_from_staff}</option>
- <option value="user">{$rel_from_user}</option>
- </select></td>
+ <td>
+ {if $rel_from_staff neq $rel_from_user}
+ <select name="from">
+ <option value="staff">{$rel_from_staff}</option>
+ <option value="user" selected="selected">{$rel_from_user}</option>
+ </select>
+ {else}
+ {$rel_from_staff}<input type="hidden" name="from" value="staff" />
+ {/if}
+ </td>
</tr>
<tr class="pair">
<td align="right"><strong>To:</strong></td>
</form>
{/if}
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}