Some skin updates: fix SUID location
[platal.git] / templates / xnet / groupe / asso.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 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
0337d704 23<h1>{$asso.nom} : Accueil</h1>
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}
42 {mailto address=$asso.mail text=$asso.resp|default:"par mail" encode=javascript}
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>
ae7bb180 56 <a href="https://www.polytechnique.org/banana/{$asso.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
d24c8a11 62 {if !$is_member && $is_logged && $asso.pub eq 'public' && $xnet_type != 'promotions'}
0337d704 63 <tr>
64 <td class="titre">
65 M'inscrire :
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>
71 {/if}
72
73 {if $asso.ax}
74 <tr>
75 <td class="titre center" colspan="2">
76 groupe agréé par l'AX
77 </td>
78 </tr>
79 {/if}
80</table>
81
82<br />
83
24bcf50c 84<div style="text-align: justify">
0337d704 85 {$asso.descr|smarty:nodefaults}
86</div>
87
24bcf50c 88<br />
89
24bcf50c 90{if $article_index && $article_index->total()}
91<table class="tinybicol">
92 <tr>
93 <th>
94 {if $smarty.session.core_rss_hash}
95 <a href='{$platal->ns}rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml' style="display:block;float:right">
96 {icon name=feed title='fil rss'}
97 </a>
98 {else}
99 <a href='https://www.polytechnique.org/prefs/rss?referer=events' style="display:block;float:right">
100 {icon name=feed_add title='Activer mon fil rss'}
101 </a>
102 {/if}
103 Sommaire des annonces du groupe
104 </th>
105 </tr>
106 {iterate item=art from=$article_index}
107 <tr>
108 <td>&bull;
109 {if $art.nonlu}
2a557a09 110 <a href="{$platal->ns}#art{$art.id}"><strong>
24bcf50c 111 {else}
2a557a09 112 <a href="{$platal->ns}?unread={$art.id}">
24bcf50c 113 {/if}
114 {tidy}{$art.titre}{/tidy}
2a557a09 115 {if $art.nonlu}</strong>{/if}</a>
24bcf50c 116 </td>
117 </tr>
118 {/iterate}
119</table>
120{/if}
121
8e95ff41 122<br />
123
124{if $articles->total()}
125<div>
126{iterate item=art from=$articles}
127{include file="xnet/groupe/form.announce.tpl"}
128<br />
129{/iterate}
130</div>
131{/if}
132
24bcf50c 133{if $is_admin}
134<div class="center">
135 [<a href="{$platal->ns}announce/new">Ajouter une annonce</a>]
136</div>
137{/if}
138
0337d704 139{* vim:set et sw=2 sts=2 sws=2: *}