Line | |
---|
1 | <h2>Modifier un type d'emplacement</h2> |
---|
2 | <div class="bloc_content"> |
---|
3 | <form name="news_form" |
---|
4 | action="<?= |
---|
5 | $env->url |
---|
6 | ( array |
---|
7 | ( "e" => "set_map", |
---|
8 | "action" => "set_emplacement_type", |
---|
9 | "id" => $_GET[$env->param("id")] |
---|
10 | ) |
---|
11 | ) |
---|
12 | ?>" |
---|
13 | method="post" |
---|
14 | enctype="multipart/form-data"> |
---|
15 | <table class="admin"> |
---|
16 | <tr> |
---|
17 | <th>intitule</th> |
---|
18 | <td><input type="text" name="intitule" value="<?= $_POST["intitule"] ? $_POST["intitule"] : $env->out["emplacement_type"]["intitule"] ?>" style="width: 500px"></td> |
---|
19 | </tr> |
---|
20 | <tr> |
---|
21 | <th>icone</th> |
---|
22 | <td> |
---|
23 | <img src="<?= $env->out["emplacement_type"]["icone"] ?>" /><br /> |
---|
24 | changer d'icone : <input type="file" name="icone" style="width: 400px"> |
---|
25 | </td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <th>description</th> |
---|
29 | <td><textarea name="descriptif" cols="50" rows="3"><?= $_POST["descriptif"] ? $_POST["descriptif"] : $env->out["emplacement_type"]["descriptif"] ?></textarea></td> |
---|
30 | </tr> |
---|
31 | </table> |
---|
32 | <table class="admin"> |
---|
33 | <tr> |
---|
34 | <td align="center"><input type="submit" value="Enregistrer" /></td> |
---|
35 | </tr> |
---|
36 | </table> |
---|
37 | </form> |
---|
38 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.