1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
24 <h1>Marketing de {$prenom} {$nom}</h1>
28 Matricule polytechnique.org : {$matricule}
31 Matricule École (à rentrer lors de l'inscription) : <strong>{$matricule_X}</strong>
36 <h2>Inscription en cours</h2>
39 Cet utilisateur a une inscription en cours depuis le {$pending|date_format}.
42 {if $relance eq '0000-00-00'}
43 il n'a jamais été relancé.
45 sa dernière relance date du {$relance|date_format}
49 <p>[<a href='?uid={$smarty.request.uid}relance=1'>le relancer</a>]</p>
53 <h2>Adresses connues</h2>
55 <form action="{$smarty.request.PHP_SELF}" method="post">
56 <table class="bicol" cellpadding="0" cellspacing="0">
65 {iterate from=$addr item=a}
66 <tr class="{cycle values='impair,pair'}">
68 <td><a href="{rel}/fiche.php?user={$a.alias}" class="popup2">{$a.alias}</a> {if $a.type eq user}(*){/if}</td>
69 <td>{$a.date|date_format|default:'-'}</td>
70 <td>{$a.last|date_format|default:'-'}</td>
71 <td class='center'>{$a.nb|default:"-"}</td>
73 <a href='?uid={$smarty.request.uid}&del={$a.email}'>del</a><br />
74 <a href='?uid={$smarty.request.uid}&rel={$a.email}'>relance</a>
80 <td colspan='5' class='smaller'>(*): mail perso</td>
84 <input type='text' name='email' />
88 <option value="staff">staff</option>
89 <option value="user">user</option>
93 <input type='hidden' name='uid' value='{$smarty.request.uid}' />
94 <input type='submit' name='action' value='ajouter' />
101 <form action="{$smarty.request.PHP_SELF}" method="post">
102 <table class="bicol">
104 <th colspan="2">Edition du mail de relance</th>
107 <td align="right"><strong>From:</strong></td>
108 <td><select name="from">
109 <option value="staff">{$rel_from_staff}</option>
110 <option value="user">{$rel_from_user}</option>
114 <td align="right"><strong>To:</strong></td>
116 <input type="text" value="{$rel_to}" name="to" size="40" maxlength="100" />
117 <input type="submit" name="valider" value="Envoyer" />
121 <td align="right"><strong>Objet:</strong></td>
122 <td><input type="text" name="title" value="{$rel_title}" size="50" maxlength="100" /></td>
125 <td align="right"><strong>Message:</strong></td>
127 <textarea name="message" rows="40" cols="60">{$rel_text}</textarea>
132 <input type="hidden" name="uid" value="{$smarty.request.uid}" />
133 <input type="hidden" name="email" value="{$smarty.request.rel}" />
134 <input type="reset" value="Recommencer" />
135 <input type="submit" name="valider" value="Envoyer" />
140 {* vim:set et sw=2 sts=2 sws=2: *}