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} : Éditer l'accueil</h1> |
0337d704 | 24 | |
7b2413f6 | 25 | <form method="post" action="{$platal->ns}edit" enctype="multipart/form-data"> |
0337d704 | 26 | {if $super} |
27 | <table cellpadding="0" cellspacing="0" class='tiny'> | |
28 | <tr> | |
29 | <td class="titre"> | |
77af6562 | 30 | Nom : |
0337d704 | 31 | </td> |
32 | <td> | |
33 | <input type="text" size="40" value="{$asso.nom}" name="nom" /> | |
34 | </td> | |
35 | </tr> | |
36 | <tr> | |
37 | <td class="titre"> | |
77af6562 | 38 | Diminutif : |
0337d704 | 39 | </td> |
40 | <td> | |
41 | <input type="text" size="40" value="{$asso.diminutif}" name="diminutif" /> | |
42 | </td> | |
43 | </tr> | |
44 | <tr> | |
45 | <td class="titre"> | |
77af6562 | 46 | Domaine DNS : |
0337d704 | 47 | </td> |
48 | <td> | |
49 | <input type="text" size="40" value="{$asso.mail_domain}" name="mail_domain" /> | |
50 | </td> | |
51 | </tr> | |
52 | <tr> | |
53 | <td class="titre"> | |
e8439508 | 54 | Catégorie : |
0337d704 | 55 | </td> |
56 | <td> | |
57 | <select name="cat"> | |
58 | <option value="groupesx" {if $asso.cat eq GroupesX}selected="selected"{/if}>Groupes X</option> | |
59 | <option value="binets" {if $asso.cat eq Binets}selected="selected"{/if}>Binets</option> | |
60 | <option value="promotions" {if $asso.cat eq Promotions}selected="selected"{/if}>Promotions</option> | |
61 | <option value="institutions" {if $asso.cat eq Institutions}selected="selected"{/if}>Institutions</option> | |
62 | </select> | |
63 | </td> | |
64 | </tr> | |
65 | <tr> | |
66 | <td class="titre"> | |
77af6562 | 67 | Domaine : |
0337d704 | 68 | </td> |
69 | <td> | |
70 | <select name="dom"> | |
71 | <option value=""></option> | |
72 | {iterate from=$dom item=d} | |
73 | <option value="{$d.id}" {if $d.id eq $asso.dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option> | |
74 | {/iterate} | |
75 | </select> | |
76 | </td> | |
77 | </tr> | |
78 | </table> | |
79 | <p></p> | |
80 | {/if} | |
81 | <table cellpadding="0" cellspacing="0" class='tiny'> | |
82 | <tr> | |
83 | <td class="titre"> | |
77af6562 | 84 | Logo : |
0337d704 | 85 | </td> |
86 | <td> | |
87 | <input type="file" name="logo" /> | |
88 | </td> | |
89 | </tr> | |
90 | ||
91 | <tr> | |
92 | <td class="titre"> | |
77af6562 | 93 | Site web : |
0337d704 | 94 | </td> |
95 | <td> | |
96 | <input type="text" size="40" value="{$asso.site}" name="site" /> | |
97 | </td> | |
98 | </tr> | |
99 | ||
100 | <tr> | |
101 | <td class="titre"> | |
77af6562 | 102 | Contact : |
0337d704 | 103 | </td> |
104 | <td> | |
105 | <input type="text" size="40" name="resp" value="{$asso.resp}" /> | |
106 | </td> | |
107 | </tr> | |
108 | ||
109 | <tr> | |
110 | <td class="titre"> | |
77af6562 | 111 | Adresse mail : |
0337d704 | 112 | </td> |
113 | <td> | |
114 | <input type="text" size="40" name="mail" value="{$asso.mail}" /> | |
115 | </td> | |
116 | </tr> | |
117 | ||
118 | <tr> | |
119 | <td class="titre"> | |
77af6562 | 120 | Forum : |
0337d704 | 121 | </td> |
122 | <td> | |
123 | <input type="text" size="40" name="forum" value="{$asso.forum}" /> | |
124 | </td> | |
125 | </tr> | |
126 | ||
127 | <tr> | |
128 | <td class="titre"> | |
77af6562 | 129 | Inscription possible : |
19465af7 | 130 | </td> |
131 | <td> | |
132 | <input type="radio" value="1" id="inscr_yes" | |
133 | {if $asso.inscriptible eq 1}checked="checked"{/if} | |
134 | name="inscriptible" /> | |
135 | <label for="inscr_yes">oui</label> | |
136 | <input type="radio" value="0" id="inscr_no" | |
137 | {if $asso.inscriptible neq 1}checked="checked"{/if} | |
138 | name="inscriptible" /> | |
139 | <label for="inscr_no">non</label> | |
140 | </td> | |
141 | </tr> | |
142 | ||
143 | <tr> | |
144 | <td class="titre"> | |
77af6562 | 145 | Lien pour l'inscription :<br /> |
a7de4ef7 | 146 | <em>laisser vide par défaut</em> |
0337d704 | 147 | </td> |
148 | <td> | |
149 | <input type="text" size="40" name="sub_url" value="{$asso.sub_url}" /> | |
150 | </td> | |
151 | </tr> | |
152 | ||
153 | <tr> | |
30032578 | 154 | <td class="titre"> |
77af6562 | 155 | Lien pour la désinscription :<br/> |
a7de4ef7 | 156 | <em>laisser vide par défaut</em> |
30032578 | 157 | </td> |
158 | <td> | |
159 | <input type="text" size="40" name="unsub_url" value="{$asso.unsub_url}" /> | |
160 | </td> | |
161 | </tr> | |
162 | ||
163 | <tr> | |
0337d704 | 164 | <td class="titre center" colspan="2"> |
165 | <input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} /> | |
a7de4ef7 | 166 | groupe agréé par l'AX |
0337d704 | 167 | </td> |
168 | </tr> | |
169 | ||
170 | <tr> | |
171 | <td class="titre center" colspan="2"> | |
2c86d368 FB |
172 | Diffusion de la liste des membres : |
173 | <select name="pub"> | |
174 | <option value="public" {if $asso.pub eq 'public'}selected="selected"{/if}>Publique</option> | |
175 | <option value="membre" {if $asso.pub eq 'membre'}selected="selected"{/if}>Aux membres du groupe</option> | |
176 | <option value="private" {if $asso.pub eq 'private'}selected="selected"{/if}>Aux administrateurs du groupe</option> | |
177 | </select> | |
0337d704 | 178 | </td> |
c73a312d | 179 | </tr> |
0337d704 | 180 | </table> |
181 | ||
182 | <div class="center"> | |
794feea7 FB |
183 | <input type="submit" name="submit" value="Enregistrer" /> |
184 | </div> | |
185 | ||
186 | <div class="center"> | |
187 | {javascript name=ajax} | |
188 | <div id="preview_descr" style="display: none; text-align: justify"></div> | |
0337d704 | 189 | <br /> |
794feea7 | 190 | <a href="wiki_help" class="popup3"> |
77af6562 | 191 | {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour la description. |
794feea7 FB |
192 | </a> |
193 | <textarea name="descr" cols="70" rows="15" id="descr" | |
194 | {if !$asso.wiki_desc && $asso.descr}class="error"{/if}>{$asso.descr}</textarea> | |
195 | <input type="submit" name="preview" value="Aperçu de la description" | |
196 | onclick="previewWiki('descr', 'preview_descr', true, 'preview_descr'); return false;" /><br /> | |
0337d704 | 197 | <input type="submit" name="submit" value="Enregistrer" /> |
198 | </div> | |
199 | </form> | |
200 | ||
a7de4ef7 | 201 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |