Happy New Year!
[platal.git] / templates / carnet / tricontacts.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2014 Polytechnique.org                             *}
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
24 <p>
25 Trier par&nbsp;:
26 {if ($order eq 'nom') and not($smarty.request.inv)}
27 [<a href='carnet/contacts?order=nom&amp;trombi={$smarty.request.trombi}&amp;inv=1'><strong>nom <img src='images/dn.png' alt='decr.' /></strong></a>]
28 {else}
29 [<a href='carnet/contacts?order=nom&amp;trombi={$smarty.request.trombi}'>{if ($order eq 'nom')}<strong>nom <img src='images/up.png' alt='crois.' /></strong>{else}nom{/if}</a>]
30 {/if}
31 {if ($order eq 'promo') and ($smarty.request.inv)}
32 [<a href='carnet/contacts?order=promo&amp;trombi={$smarty.request.trombi}'><strong>promo <img src='images/up.png' alt='decr.' /></strong></a>]
33 {else}
34 [<a href='carnet/contacts?order=promo&amp;trombi={$smarty.request.trombi}&amp;inv=1'>{if ($order eq 'promo')}<strong>promo <img src='images/dn.png' alt='crois.' /></strong>{else}promo{/if}</a>]
35 {/if}
36 {if ($order eq 'last') and ($smarty.request.inv)}
37 [<a href='carnet/contacts?order=last&amp;trombi={$smarty.request.trombi}'><strong>dernière modification <img src='images/up.png' alt='decr.' /></strong></a>]
38 {else}
39 [<a href='carnet/contacts?order=last&amp;trombi={$smarty.request.trombi}&amp;inv=1'>{if ($order eq 'last')}<strong>dernière modification <img src='images/dn.png'i alt='crois.' /></strong>{else}dernière modification{/if}</a>]
40 {/if}
41 </p>
42
43 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}