1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
23 <h1>{if $asso.nom}{$asso.nom} : {/if}Éditer l'accueil</h1>
25 <form method="post" action="{$platal->ns}edit" enctype="multipart/form-data">
28 <table cellpadding="0" cellspacing="0" class='tiny'>
34 <input type="text" size="40" value="{$asso.nom}" name="nom" />
42 <input type="text" size="40" value="{$asso.diminutif}" name="diminutif" />
50 <input type="text" size="40" value="{$asso.mail_domain}" name="mail_domain" />
59 <option value="groupesx" {if $asso.cat eq GroupesX}selected="selected"{/if}>Groupes X</option>
60 <option value="binets" {if $asso.cat eq Binets}selected="selected"{/if}>Binets</option>
61 <option value="promotions" {if $asso.cat eq Promotions}selected="selected"{/if}>Promotions</option>
62 <option value="institutions" {if $asso.cat eq Institutions}selected="selected"{/if}>Institutions</option>
72 <option value=""></option>
73 {iterate from=$dom item=d}
74 <option value="{$d.id}" {if $d.id eq $asso.dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
82 <table cellpadding="0" cellspacing="0" class='tiny'>
88 <input type="file" name="logo" />
97 <input type="text" size="40" value="{$asso.site|default:"http://"}" name="site" />
106 <input type="text" size="40" name="resp" value="{$asso.resp}" />
115 <input type="text" size="40" name="mail" value="{$asso.mail}" />
124 <input type="text" size="40" name="forum" value="{$asso.forum}" />
130 Inscription possible :
133 <input type="radio" value="1" id="inscr_yes"
134 {if $asso.inscriptible eq 1}checked="checked"{/if}
135 name="inscriptible" />
136 <label for="inscr_yes">oui</label>
137 <input type="radio" value="0" id="inscr_no"
138 {if $asso.inscriptible neq 1}checked="checked"{/if}
139 name="inscriptible" />
140 <label for="inscr_no">non</label>
146 Lien pour l'inscription :<br />
147 <em>laisser vide par défaut</em>
150 <input type="text" size="40" name="sub_url" value="{$asso.sub_url}" />
156 Lien pour la désinscription :<br/>
157 <em>laisser vide par défaut</em>
160 <input type="text" size="40" name="unsub_url" value="{$asso.unsub_url}" />
165 <td class="titre center" colspan="2">
166 <label><input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} />
167 groupe agréé par l'AX</label>
172 <td class="titre center" colspan="2">
173 Diffusion de la liste des membres :
175 <option value="public" {if $asso.pub eq 'public'}selected="selected"{/if}>Publique</option>
176 <option value="membre" {if $asso.pub eq 'membre'}selected="selected"{/if}>Aux membres du groupe</option>
177 <option value="private" {if $asso.pub eq 'private'}selected="selected"{/if}>Aux animateurs du groupe</option>
182 <td class="titre center" colspan="2">
183 <label><input type="checkbox" value="1" name="notif_unsub" {if $asso.notif_unsub}checked="checked"{/if} />
184 prévenir les animateurs lors de la désinscription d'un membre</label>
190 <input type="submit" name="submit" value="Enregistrer" />
194 {javascript name=ajax}
195 <div id="preview_descr" style="display: none; text-align: justify"></div>
197 <a href="wiki_help" class="popup3">
198 {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour la description.
200 <textarea name="descr" cols="70" rows="15" id="descr"
201 {if !$asso.wiki_desc && $asso.descr}class="error"{/if}>{$asso.descr}</textarea>
202 <input type="submit" name="preview" value="Aperçu de la description"
203 onclick="previewWiki('descr', 'preview_descr', true, 'preview_descr'); return false;" /><br />
204 <input type="submit" name="submit" value="Enregistrer" />
208 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}