Commit | Line | Data |
---|---|---|
b9ad0878 PC |
1 | {**************************************************************************} |
2 | {* *} | |
9f5bd98e | 3 | {* Copyright (C) 2003-2010 Polytechnique.org *} |
b9ad0878 PC |
4 | {* http://opensource.polytechnique.org/ *} |
5 | {* *} | |
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. *} | |
10 | {* *} | |
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. *} | |
15 | {* *} | |
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 *} | |
20 | {* *} | |
21 | {**************************************************************************} | |
22 | ||
23 | <table class="bicol"> | |
24 | <tr> | |
25 | <th>Ancien</th> | |
26 | <th>Fiches</th> | |
ddc4c642 | 27 | {if t($field1)} |
b9ad0878 PC |
28 | <th>{$namefield1}</th> |
29 | {/if} | |
ddc4c642 | 30 | {if t($field2)} |
b9ad0878 PC |
31 | <th>{$namefield2}</th> |
32 | {/if} | |
ddc4c642 | 33 | {if t($field3)} |
c7eac294 SJ |
34 | <th>{$namefield3}</th> |
35 | {/if} | |
ddc4c642 | 36 | {if t($field4)} |
c7eac294 SJ |
37 | <th>{$namefield4}</th> |
38 | {/if} | |
ddc4c642 | 39 | {if t($fusionAction)} |
b9ad0878 PC |
40 | <th>Action</th> |
41 | {/if} | |
42 | </tr> | |
ddc4c642 | 43 | {if t($fusionList)} |
b9ad0878 PC |
44 | {iterate from=$fusionList item=c} |
45 | <tr class="{cycle values="pair,impair"}"> | |
ddc4c642 | 46 | <td>{$c.private_name} ({$c.promo})</td> |
b9ad0878 | 47 | <td style="text-align:center"> |
ddc4c642 SJ |
48 | {if t($c.pid)}<a href="admin/user/{$c.pid}" class="popup2">{icon name="user_suit" title="Administrer utilisateur"}</a>{/if} |
49 | {if t($c.ax_id)}<a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id={$c.ax_id}" class="popup2">{icon name="user_gray" title="fiche AX"}</a>{/if} | |
b9ad0878 | 50 | </td> |
ddc4c642 | 51 | {if t($field1)} |
b9ad0878 PC |
52 | <td>{$c.$field1}</td> |
53 | {/if} | |
ddc4c642 | 54 | {if t($field2)} |
b9ad0878 PC |
55 | <td>{$c.$field2}</td> |
56 | {/if} | |
ddc4c642 | 57 | {if t($field3)} |
c7eac294 SJ |
58 | <td>{$c.$field3}</td> |
59 | {/if} | |
ddc4c642 | 60 | {if t($field4)} |
c7eac294 SJ |
61 | <td>{$c.$field4}</td> |
62 | {/if} | |
ddc4c642 SJ |
63 | {if t($fusionAction)} |
64 | <td><a class="fusion-action" href="{$fusionAction}/{$c.pid}/{$c.ax_id}">{$name}</a></td> | |
b9ad0878 PC |
65 | {/if} |
66 | </tr> | |
67 | {/iterate} | |
68 | {/if} | |
69 | </table> |