Commit | Line | Data |
---|---|---|
8c4a0c30 | 1 | {**************************************************************************} |
2 | {* *} | |
8d84c630 | 3 | {* Copyright (C) 2003-2009 Polytechnique.org *} |
8c4a0c30 | 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 | ||
360ecb20 | 23 | {if $plset_count eq 0} |
24 | <p class="erreur"> | |
25 | Aucun des camarades concernés n'a de photographie sur sa fiche | |
26 | </p> | |
27 | {else} | |
be7ba6fb | 28 | <table cellpadding="0" cellspacing="2" style="width: 100%"> |
81bb9177 FB |
29 | {section name=trombi loop=$set start=0} |
30 | {if $smarty.section.trombi.index % 3 == 1} | |
8c4a0c30 | 31 | <tr> |
be7ba6fb | 32 | <td class="center" style="vertical-align: middle"> |
7773d125 VZ |
33 | <a href="{$mainsiteurl}profile/{$set[trombi.index_prev].hruid}" class="popup2"> |
34 | <img src="photo/{$set[trombi.index_prev].hruid}" width="110" alt=" [ PHOTO ] " /> | |
8c4a0c30 | 35 | </a> |
908db125 | 36 | {if $trombi_with_admin && hasPerm('admin')} |
be7ba6fb | 37 | <a href="{$mainsiteurl}admin/trombino/{$set[trombi.index_prev].user_id}">{icon name=wrench title="[admin]"}</a> |
8c4a0c30 | 38 | {/if} |
be7ba6fb SJ |
39 | </td> |
40 | <td class="center" style="vertical-align: middle"> | |
7773d125 VZ |
41 | <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2"> |
42 | <img src="photo/{$set[trombi].hruid}" width="110" alt=" [ PHOTO ] " /> | |
8c4a0c30 | 43 | </a> |
be7ba6fb SJ |
44 | {if $trombi_with_admin && hasPerm('admin')} |
45 | <a href="{$mainsiteurl}admin/trombino/{$set[trombi].user_id}">{icon name=wrench title="[admin]"}</a> | |
46 | {/if} | |
47 | </td> | |
48 | <td class="center" style="vertical-align: middle"> | |
49 | {if $set[trombi.index_next]} | |
7773d125 VZ |
50 | <a href="{$mainsiteurl}profile/{$set[trombi.index_next].hruid}" class="popup2"> |
51 | <img src="photo/{$set[trombi.index_next].hruid}" width="110" alt=" [ PHOTO ] " /> | |
be7ba6fb SJ |
52 | </a> |
53 | {if $trombi_with_admin && hasPerm('admin')} | |
54 | <a href="{$mainsiteurl}admin/trombino/{$set[trombi.index_next].user_id}">{icon name=wrench title="[admin]"}</a> | |
55 | {/if} | |
56 | {/if} | |
8c4a0c30 | 57 | </td> |
be7ba6fb SJ |
58 | </tr> |
59 | <tr> | |
60 | <td class="center" style="vertical-align: bottom; padding-bottom: 15px"> | |
7773d125 | 61 | <a href="{$mainsiteurl}profile/{$set[trombi.index_prev].hruid}" class="popup2"> |
fb2c09c9 SJ |
62 | <span {if $set[trombi.index_prev].name_tooltip}class="hinted" |
63 | title="{$set[trombi.index_prev].name_tooltip}"{/if}>{$set[trombi.index_prev].name_display}</span>{if $trombi_with_promo} ({$set[trombi.index_prev].promo_display}){/if} | |
be7ba6fb SJ |
64 | </a> |
65 | </td> | |
66 | <td class="center" style="vertical-align: bottom; padding-bottom: 15px"> | |
7773d125 | 67 | <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2"> |
fb2c09c9 | 68 | <span {if $set[trombi].name_tooltip}class="hinted" title="{$set[trombi].name_tooltip}"{/if}>{$set[trombi].name_display}</span>{if $trombi_with_promo} ({$set[trombi].promo_display}){/if} |
be7ba6fb SJ |
69 | </a> |
70 | </td> | |
71 | <td class="center" style="vertical-align: bottom; padding-bottom: 15px"> | |
72 | {if $set[trombi.index_next]} | |
7773d125 | 73 | <a href="{$mainsiteurl}profile/{$set[trombi.index_next].hruid}" class="popup2"> |
fb2c09c9 | 74 | <span {if $set[trombi.index_next].name_tooltip}class="hinted" title="{$set[trombi.index_next].name_tooltip}"{/if}>{$set[trombi.index_next].name_display}</span>{if $trombi_with_promo} ({$set[trombi.index_next].promo_display}){/if} |
be7ba6fb SJ |
75 | </a> |
76 | {/if} | |
77 | </td> | |
78 | </tr> | |
81bb9177 | 79 | {elseif ($smarty.section.trombi.index % 3 == 0) && ($smarty.section.trombi.last)} |
be7ba6fb SJ |
80 | <tr> |
81 | <td class="center" style="vertical-align: middle; padding-bottom: 15px"> | |
7773d125 VZ |
82 | <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2"> |
83 | <img src="photo/{$set[trombi].hruid}" width="110" alt=" [ PHOTO ] " /> | |
be7ba6fb SJ |
84 | </a> |
85 | {if $trombi_with_admin && hasPerm('admin')} | |
86 | <a href="{$mainsiteurl}admin/trombino/{$set[trombi].user_id}">{icon name=wrench title="[admin]"}</a> | |
87 | {/if} | |
88 | </td> | |
89 | <td></td><td></td> | |
90 | </tr> | |
91 | <tr style="margin-top: 0; padding-top: 0"> | |
92 | <td class="center" style="vertical-align: bottom"> | |
7773d125 | 93 | <a href="{$mainsiteurl}profile/{$set[trombi].hruid}" class="popup2"> |
fb2c09c9 SJ |
94 | <a href="{$mainsiteurl}profile/{$set[trombi].forlife}" class="popup2"> |
95 | <span {if $set[trombi].name_tooltip}class="hinted" title="{$set[trombi].name_tooltip}"{/if}>{$set[trombi].name_display}</span>{if $trombi_with_promo} ({$set[trombi].promo_display}){/if} | |
be7ba6fb SJ |
96 | </a> |
97 | </td> | |
98 | <td></td><td></td> | |
8c4a0c30 | 99 | </tr> |
100 | {/if} | |
be7ba6fb | 101 | {/section} |
8c4a0c30 | 102 | </table> |
360ecb20 | 103 | {/if} |
8c4a0c30 | 104 | |
105 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |