Administrators can easily switch between skins (without affecting their
[platal.git] / templates / fusionax / listFusion.tpl
CommitLineData
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>
27 {if $field1}
28 <th>{$namefield1}</th>
29 {/if}
30 {if $field2}
31 <th>{$namefield2}</th>
32 {/if}
c7eac294
SJ
33 {if $field3}
34 <th>{$namefield3}</th>
35 {/if}
36 {if $field4}
37 <th>{$namefield4}</th>
38 {/if}
b9ad0878
PC
39 {if $fusionAction}
40 <th>Action</th>
41 {/if}
42 </tr>
43{if $fusionList}
44{iterate from=$fusionList item=c}
45 <tr class="{cycle values="pair,impair"}">
e8591429 46 <td>{$c.display_name} (X {$c.promo})</td>
b9ad0878
PC
47 <td style="text-align:center">
48 {if $c.user_id}<a href="admin/user/{$c.user_id}" class="popup2">{icon name="user_suit" title="Administrer utilisateur"}</a>{/if}
49 {if $c.id_ancien}<a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$c.id_ancien}" class="popup2">{icon name="user_gray" title="fiche AX"}</a>{/if}
50 </td>
51 {if $field1}
52 <td>{$c.$field1}</td>
53 {/if}
54 {if $field2}
55 <td>{$c.$field2}</td>
56 {/if}
c7eac294
SJ
57 {if $field3}
58 <td>{$c.$field3}</td>
59 {/if}
60 {if $field4}
61 <td>{$c.$field4}</td>
62 {/if}
b9ad0878 63 {if $fusionAction}
b65beb64 64 <td><a class="fusion-action" href="{$fusionAction}/{$c.user_id}/{$c.id_ancien}">{$name}</a></td>
b9ad0878
PC
65 {/if}
66 </tr>
67{/iterate}
68{/if}
69</table>