24bcf50c |
1 | {**************************************************************************} |
2 | {* *} |
5ddeb07c |
3 | {* Copyright (C) 2003-2007 Polytechnique.org *} |
24bcf50c |
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="tinybicol" id="art{$art.id}"> |
24 | <tr> |
25 | <th> |
27eda1a4 |
26 | {if $is_logged && !$admin} |
24bcf50c |
27 | <div style="float: right"> |
28 | {if $is_admin} |
29 | <a href="{$platal->ns}announce/edit/{$art.id}">{icon name=page_edit title="Editer cet article"}</a> |
30 | {/if} |
31 | <a href="{$platal->ns}?read={$art.id}">{icon name=cross title="Cacher cet article"}</a> |
32 | </div> |
33 | {/if} |
34 | {tidy} |
a7de4ef7 |
35 | {if $admin}Aperçu de : {/if}{$art.titre} |
24bcf50c |
36 | {/tidy} |
37 | </th> |
38 | </tr> |
39 | <tr> |
40 | <td style="padding-bottom: 1em"> |
41 | {tidy} |
02fdd1c8 |
42 | {$art.texte|url_catcher|smarty:nodefaults} |
24bcf50c |
43 | {/tidy} |
44 | </td> |
45 | </tr> |
27eda1a4 |
46 | {if ($is_logged || $admin) && $art.contacts} |
24bcf50c |
47 | <tr class="pair"> |
48 | <td class="titre">Contacts :</td> |
49 | </tr> |
50 | <tr class="pair"> |
51 | <td style="padding-left: 20px"> |
52 | {tidy} |
b9a1ba64 |
53 | {if $art.contact_html} |
54 | {$art.contact_html|nl2br|smarty:nodefaults} |
55 | {else} |
24bcf50c |
56 | {$art.contacts|url_catcher|nl2br|smarty:nodefaults} |
b9a1ba64 |
57 | {/if} |
24bcf50c |
58 | {/tidy} |
59 | </td> |
60 | </tr> |
61 | {/if} |
62 | <tr class="pair right"> |
63 | <td> |
64 | <small> |
a7de4ef7 |
65 | Annonce proposée par |
24bcf50c |
66 | <a class="popup2" href="https://www.polytechnique.org/profile/{$art.forlife}"> |
67 | {$art.prenom} {$art.nom} (X{$art.promo}) |
68 | </a> |
69 | </small> |
70 | </td> |
71 | </tr> |
72 | </table> |
73 | |
a7de4ef7 |
74 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |