source: trunk/web/app/out/dist/content/set_news_categories/e_set_news_categorie.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 12 years ago

import initial

File size: 1.2 KB
Line 
1<h2>Editer une cat&eacute;gorie de news</h2>
2<div class="bloc_content">
3<form name="news_form"
4      action="<?=
5        $env->url
6        ( array
7          ( "e" => "set_news_categories",
8            "action" => "set_news_categorie",
9            "categorie" => $env->out["news_categorie"]["id"]
10          )
11        ) ?>"
12      method="post"
13      enctype="multipart/form-data">
14<table class="admin">
15  <tr>
16    <th>titre</th>
17    <td><input type="text" name="titre" style="width: 500px" value="<?= $env->out["news_categorie"]["titre"] ?>" /></td>
18  </tr>
19  <tr>
20    <th>icone</th>
21    <td>
22<?php if($env->out["news_categorie"]["icone"]) : ?>
23<img src="<?= $env->out["news_categorie"]["icone"] ?>" /><br />
24<input type="checkbox" name="del_icone" />effacer l'icone
25<?php else : ?>
26aucune icone pour le moment
27<?php endif; ?>
28      <br />
29      <input type="file" name="icone" style="width: 400px">
30    </td>
31  </tr>
32  <tr>
33    <th>description</th>
34    <td><textarea name="description" cols="50" rows="3"><?= $env->out["news_categorie"]["description"] ?></textarea></td>
35  </tr>
36</table>
37<table class="admin">
38  <tr>
39    <td align="center"><input type="submit" value="Enregistrer" /></td>
40  </tr>
41</table>
42</form>
43</div>
Note: See TracBrowser for help on using the repository browser.