{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-<h1>{if $asso.nom}{$asso.nom} : {/if}Éditer l'accueil</h1>
+<h1>{if $asso->nom}{$asso->nom} : {/if}Éditer l'accueil</h1>
<form method="post" action="{$platal->ns}edit" enctype="multipart/form-data">
{xsrf_token_field}
Nom :
</td>
<td>
- <input type="text" size="40" value="{$asso.nom}" name="nom" />
+ <input type="text" size="40" value="{$asso->nom}" name="nom" />
</td>
</tr>
<tr>
Diminutif :
</td>
<td>
- <input type="text" size="40" value="{$asso.diminutif}" name="diminutif" />
+ <input type="text" size="40" value="{$asso->diminutif}" name="diminutif" />
</td>
</tr>
<tr>
Domaine DNS :
</td>
<td>
- <input type="text" size="40" value="{$asso.mail_domain}" name="mail_domain" />
+ <input type="text" size="40" value="{$asso->mail_domain}" name="mail_domain" />
</td>
</tr>
<tr>
</td>
<td>
<select name="cat">
- <option value="groupesx" {if $asso.cat eq GroupesX}selected="selected"{/if}>Groupes X</option>
- <option value="binets" {if $asso.cat eq Binets}selected="selected"{/if}>Binets</option>
- <option value="promotions" {if $asso.cat eq Promotions}selected="selected"{/if}>Promotions</option>
- <option value="institutions" {if $asso.cat eq Institutions}selected="selected"{/if}>Institutions</option>
+ <option value="groupesx" {if $asso->cat eq 'GroupesX'}selected="selected"{/if}>Groupes X</option>
+ <option value="binets" {if $asso->cat eq 'Binets'}selected="selected"{/if}>Binets</option>
+ <option value="promotions" {if $asso->cat eq 'Promotions'}selected="selected"{/if}>Promotions</option>
+ <option value="institutions" {if $asso->cat eq 'Institutions'}selected="selected"{/if}>Institutions</option>
</select>
</td>
</tr>
</td>
<td>
<select name="dom">
- <option value=""></option>
+ <option value=""> </option>
{iterate from=$dom item=d}
- <option value="{$d.id}" {if $d.id eq $asso.dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
+ <option value="{$d.id}" {if $d.id eq $asso->dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
{/iterate}
</select>
</td>
</tr>
+ <tr>
+ <td class="titre center" colspan="2">
+ <label><input type="checkbox" value="1" name="ax" {if $asso->ax}checked="checked"{/if} />
+ groupe agréé par l'AX</label>
+ </td>
+ </tr>
</table>
<p></p>
{/if}
+
<table cellpadding="0" cellspacing="0" class='tiny'>
<tr>
<td class="titre">
Site web :
</td>
<td>
- <input type="text" size="40" value="{$asso.site|default:"http://"}" name="site" />
+ <input type="text" size="40" value="{$asso->site|default:"http://"}" name="site" />
</td>
</tr>
Contact :
</td>
<td>
- <input type="text" size="40" name="resp" value="{$asso.resp}" />
+ <input type="text" size="40" name="resp" value="{$asso->resp}" />
</td>
</tr>
Adresse email :
</td>
<td>
- <input type="text" size="40" name="mail" value="{$asso.mail}" />
+ <input type="text" size="40" name="mail" value="{$asso->mail}" />
</td>
</tr>
Forum :
</td>
<td>
- <input type="text" size="40" name="forum" value="{$asso.forum}" />
+ <input type="text" size="40" name="forum" value="{$asso->forum}" />
</td>
</tr>
</td>
<td>
<input type="radio" value="1" id="inscr_yes"
- {if $asso.inscriptible eq 1}checked="checked"{/if}
+ {if $asso->inscriptible eq 1}checked="checked"{/if}
name="inscriptible" />
<label for="inscr_yes">oui</label>
<input type="radio" value="0" id="inscr_no"
- {if $asso.inscriptible neq 1}checked="checked"{/if}
+ {if $asso->inscriptible neq 1}checked="checked"{/if}
name="inscriptible" />
<label for="inscr_no">non</label>
</td>
<em>laisser vide par défaut</em>
</td>
<td>
- <input type="text" size="40" name="sub_url" value="{$asso.sub_url}" />
+ <input type="text" size="40" name="sub_url" value="{$asso->sub_url}" />
</td>
</tr>
<em>laisser vide par défaut</em>
</td>
<td>
- <input type="text" size="40" name="unsub_url" value="{$asso.unsub_url}" />
- </td>
- </tr>
-
- <tr>
- <td class="titre center" colspan="2">
- <label><input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} />
- groupe agréé par l'AX</label>
+ <input type="text" size="40" name="unsub_url" value="{$asso->unsub_url}" />
</td>
</tr>
<td class="titre center" colspan="2">
Diffusion de la liste des membres :
<select name="pub">
- <option value="public" {if $asso.pub eq 'public'}selected="selected"{/if}>Publique</option>
- <option value="membre" {if $asso.pub eq 'membre'}selected="selected"{/if}>Aux membres du groupe</option>
- <option value="private" {if $asso.pub eq 'private'}selected="selected"{/if}>Aux animateurs du groupe</option>
+ <option value="public" {if $asso->pub eq 'public'}selected="selected"{/if}>Publique</option>
+ <option value="membre" {if $asso->pub eq 'membre'}selected="selected"{/if}>Aux membres du groupe</option>
+ <option value="private" {if $asso->pub eq 'private'}selected="selected"{/if}>Aux animateurs du groupe</option>
</select>
</td>
</tr>
<tr>
<td class="titre center" colspan="2">
- <label><input type="checkbox" value="1" name="notif_unsub" {if $asso.notif_unsub}checked="checked"{/if} />
+ <label><input type="checkbox" value="1" name="notif_unsub" {if $asso->notif_unsub}checked="checked"{/if} />
prévenir les animateurs lors de la désinscription d'un membre</label>
</td>
</tr>
<a href="wiki_help" class="popup3">
{icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour la description.
</a>
- <textarea name="descr" cols="70" rows="15" id="descr"
- {if !$asso.wiki_desc && $asso.descr}class="error"{/if}>{$asso.descr}</textarea>
+ <textarea name="descr" cols="70" rows="15" id="descr">{$asso->descr}</textarea>
<input type="submit" name="preview" value="Aperçu de la description"
onclick="previewWiki('descr', 'preview_descr', true, 'preview_descr'); return false;" /><br />
<input type="submit" name="submit" value="Enregistrer" />