{**************************************************************************}
{* *}
-{* 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 *}
</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>
{/iterate}
</tr>
<tr>
<td class="titre center" colspan="2">
- <label><input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} />
+ <label><input type="checkbox" value="1" name="ax" {if $asso->ax}checked="checked"{/if} />
groupe agréé par l'AX</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" />