annuaire xnet, tri par promo + suppression d'un exterieur rentre deux fois dans la...
[platal.git] / templates / xnet / groupe / edit.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2004 Polytechnique.org *}
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
23<img src='getlogo.php' alt="LOGO" style="float: right;" />
24
25<h1>{$asso.nom} : Éditer l'accueil</h1>
26
27<form method="post" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data">
28 {if $super}
29 <table cellpadding="0" cellspacing="0" class='tiny'>
30 <tr>
31 <td class="titre">
32 Nom:
33 </td>
34 <td>
35 <input type="text" size="40" value="{$asso.nom}" name="nom" />
36 </td>
37 </tr>
38 <tr>
39 <td class="titre">
40 Diminutif:
41 </td>
42 <td>
43 <input type="text" size="40" value="{$asso.diminutif}" name="diminutif" />
44 </td>
45 </tr>
46 <tr>
47 <td class="titre">
48 Domaine DNS:
49 </td>
50 <td>
51 <input type="text" size="40" value="{$asso.mail_domain}" name="mail_domain" />
52 </td>
53 </tr>
54 <tr>
55 <td class="titre">
56 Catégorie :
57 </td>
58 <td>
59 <select name="cat">
60 <option value="groupesx" {if $asso.cat eq GroupesX}selected="selected"{/if}>Groupes X</option>
61 <option value="binets" {if $asso.cat eq Binets}selected="selected"{/if}>Binets</option>
62 <option value="promotions" {if $asso.cat eq Promotions}selected="selected"{/if}>Promotions</option>
63 <option value="institutions" {if $asso.cat eq Institutions}selected="selected"{/if}>Institutions</option>
64 </select>
65 </td>
66 </tr>
67 <tr>
68 <td class="titre">
69 Domaine:
70 </td>
71 <td>
72 <select name="dom">
73 <option value=""></option>
74 {iterate from=$dom item=d}
75 <option value="{$d.id}" {if $d.id eq $asso.dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
76 {/iterate}
77 </select>
78 </td>
79 </tr>
80 </table>
81 <p></p>
82 {/if}
83 <table cellpadding="0" cellspacing="0" class='tiny'>
84 <tr>
85 <td class="titre">
86 Logo:
87 </td>
88 <td>
89 <input type="file" name="logo" />
90 </td>
91 </tr>
92
93 <tr>
94 <td class="titre">
95 Site Web:
96 </td>
97 <td>
98 <input type="text" size="40" value="{$asso.site}" name="site" />
99 </td>
100 </tr>
101
102 <tr>
103 <td class="titre">
104 Contact:
105 </td>
106 <td>
107 <input type="text" size="40" name="resp" value="{$asso.resp}" />
108 </td>
109 </tr>
110
111 <tr>
112 <td class="titre">
113 Adresse mail:
114 </td>
115 <td>
116 <input type="text" size="40" name="mail" value="{$asso.mail}" />
117 </td>
118 </tr>
119
120 <tr>
121 <td class="titre">
122 Forum:
123 </td>
124 <td>
125 <input type="text" size="40" name="forum" value="{$asso.forum}" />
126 </td>
127 </tr>
128
129 <tr>
130 <td class="titre">
19465af7 131 Inscription possible:
132 </td>
133 <td>
134 <input type="radio" value="1" id="inscr_yes"
135 {if $asso.inscriptible eq 1}checked="checked"{/if}
136 name="inscriptible" />
137 <label for="inscr_yes">oui</label>
138 <input type="radio" value="0" id="inscr_no"
139 {if $asso.inscriptible neq 1}checked="checked"{/if}
140 name="inscriptible" />
141 <label for="inscr_no">non</label>
142 </td>
143 </tr>
144
145 <tr>
146 <td class="titre">
0337d704 147 Lien pour l'inscription:<br />
148 <em>laisser vide par défaut</em>
149 </td>
150 <td>
151 <input type="text" size="40" name="sub_url" value="{$asso.sub_url}" />
152 </td>
153 </tr>
154
155 <tr>
156 <td class="titre center" colspan="2">
157 <input type="checkbox" value="1" name="ax" {if $asso.ax}checked="checked"{/if} />
158 groupe agréé par l'AX
159 </td>
160 </tr>
161
162 <tr>
163 <td class="titre center" colspan="2">
164 <input type="checkbox" value="1" name="pub" {if $asso.pub eq 'private'}checked="checked"{/if} />
165 liste des membres privée
166 </td>
167 </table>
168
169 <div class="center">
170 <br />
171 <textarea name="descr" cols="70" rows="15">{$asso.descr}</textarea>
172 <input type="submit" name="submit" value="Enregistrer" />
173 </div>
174</form>
175
176{* vim:set et sw=2 sts=2 sws=2: *}