Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
179afa7f | 3 | {* Copyright (C) 2003-2008 Polytechnique.org *} |
0337d704 | 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 | ||
e8439508 | 23 | <h1>{$asso.nom} : Accueil</h1> |
0337d704 | 24 | |
25 | <table cellpadding="0" cellspacing="0" class='tiny'> | |
26 | {if $asso.site} | |
27 | <tr> | |
28 | <td class="titre"> | |
29 | Site Web: | |
30 | </td> | |
31 | <td><a href="{$asso.site}">{$asso.site}</a></td> | |
32 | </tr> | |
33 | {/if} | |
34 | ||
35 | {if $asso.resp || $asso.mail} | |
36 | <tr> | |
37 | <td class="titre"> | |
38 | Contact: | |
39 | </td> | |
40 | <td> | |
41 | {if $asso.mail} | |
dc7d53eb | 42 | {mailto address=$asso.mail text=$asso.resp|utf8_decode|default:"par mail" encode=javascript} |
0337d704 | 43 | {else} |
44 | {$asso.resp} | |
45 | {/if} | |
46 | </td> | |
47 | </tr> | |
48 | {/if} | |
49 | ||
50 | {if $asso.forum} | |
51 | <tr> | |
52 | <td class="titre"> | |
53 | Forum: | |
54 | </td> | |
55 | <td> | |
4f355064 | 56 | <a href="{$platal->ns}forum">par le web</a> |
0337d704 | 57 | ou <a href="news://ssl.polytechnique.org/{$asso.forum}">par nntp</a> |
58 | </td> | |
59 | </tr> | |
60 | {/if} | |
61 | ||
98286726 | 62 | {if !$is_member && $is_logged && $asso.inscriptible && $xnet_type != 'promotions'} |
0337d704 | 63 | <tr> |
64 | <td class="titre"> | |
e8439508 | 65 | M'inscrire : |
0337d704 | 66 | </td> |
67 | <td> | |
cbdc323d | 68 | <a href="{if $asso.sub_url}{$asso.sub_url}{else}{$platal->ns}subscribe{/if}">m'inscrire</a> |
0337d704 | 69 | </td> |
70 | </tr> | |
30032578 | 71 | {elseif $is_member} |
72 | <tr> | |
73 | <td class="titre"> | |
e8439508 | 74 | Me désinscrire : |
30032578 | 75 | </td> |
76 | <td> | |
a7de4ef7 | 77 | <a href="{if $asso.unsub_url}{$asso.unsub_url}{else}{$platal->ns}unsubscribe{/if}">me désinscrire</a> |
30032578 | 78 | </td> |
79 | </tr> | |
0337d704 | 80 | {/if} |
81 | ||
82 | {if $asso.ax} | |
83 | <tr> | |
84 | <td class="titre center" colspan="2"> | |
a7de4ef7 | 85 | groupe agréé par l'AX |
0337d704 | 86 | </td> |
87 | </tr> | |
88 | {/if} | |
89 | </table> | |
90 | ||
91 | <br /> | |
92 | ||
24bcf50c | 93 | <div style="text-align: justify"> |
794feea7 FB |
94 | {if $asso.wiki_desc} |
95 | {$asso.descr|miniwiki:title|smarty:nodefaults} | |
96 | {else} | |
0337d704 | 97 | {$asso.descr|smarty:nodefaults} |
794feea7 | 98 | {/if} |
0337d704 | 99 | </div> |
100 | ||
24bcf50c | 101 | <br /> |
102 | ||
24bcf50c | 103 | {if $article_index && $article_index->total()} |
104 | <table class="tinybicol"> | |
105 | <tr> | |
106 | <th> | |
107 | {if $smarty.session.core_rss_hash} | |
108 | <a href='{$platal->ns}rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right"> | |
109 | {icon name=feed title='fil rss'} | |
110 | </a> | |
111 | {else} | |
112 | <a href='https://www.polytechnique.org/prefs/rss?referer=events' style="display:block;float:right"> | |
113 | {icon name=feed_add title='Activer mon fil rss'} | |
114 | </a> | |
115 | {/if} | |
116 | Sommaire des annonces du groupe | |
117 | </th> | |
118 | </tr> | |
119 | {iterate item=art from=$article_index} | |
120 | <tr> | |
121 | <td>• | |
122 | {if $art.nonlu} | |
2a557a09 | 123 | <a href="{$platal->ns}#art{$art.id}"><strong> |
24bcf50c | 124 | {else} |
2a557a09 | 125 | <a href="{$platal->ns}?unread={$art.id}"> |
24bcf50c | 126 | {/if} |
127 | {tidy}{$art.titre}{/tidy} | |
2a557a09 | 128 | {if $art.nonlu}</strong>{/if}</a> |
24bcf50c | 129 | </td> |
130 | </tr> | |
131 | {/iterate} | |
d1c97e42 | 132 | {if $is_admin} |
133 | <tr class="pair"> | |
134 | <td class="center"> | |
135 | <a href="{$platal->ns}announce/new">{icon name=add} Ajouter une annonce</a> | |
136 | </td> | |
137 | </tr> | |
138 | {/if} | |
24bcf50c | 139 | </table> |
24bcf50c | 140 | |
8e95ff41 | 141 | <br /> |
142 | ||
143 | {if $articles->total()} | |
144 | <div> | |
145 | {iterate item=art from=$articles} | |
892083ef | 146 | {include file="xnetgrp/form.announce.tpl"} |
8e95ff41 | 147 | <br /> |
148 | {/iterate} | |
149 | </div> | |
8e95ff41 | 150 | |
d1c97e42 | 151 | <p style="text-align: justify;"> |
152 | <small> | |
e8439508 | 153 | <em>Nota Bene :</em> les informations présentées ici n'engagent que leurs auteurs |
a7de4ef7 | 154 | respectifs et sont publiées à leur initiative. L'association Polytechnique.org |
155 | ne pourrait en aucun cas être tenue responsable de la nature des propos relatés | |
156 | sur cet espace d'expression et d'information. Elle se réserve le droit de | |
157 | refuser ou de retirer toute information de nature diffamante ou pouvant être | |
e219710a | 158 | interprétée comme polémique par un lecteur. |
d1c97e42 | 159 | </small> |
160 | </p> | |
161 | {/if} | |
162 | {elseif $is_admin} | |
24bcf50c | 163 | <div class="center"> |
1970c12b | 164 | [<a href="{$platal->ns}announce/new">{icon name=page_edit} Ajouter une annonce</a>] |
24bcf50c | 165 | </div> |
166 | {/if} | |
167 | ||
a7de4ef7 | 168 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |