Line | |
---|
1 | <h2>Modifier un menu</h2> |
---|
2 | <div class="bloc_content"> |
---|
3 | <h3> |
---|
4 | <?php require $env->out_file("views/ariane_menus.php"); ?> |
---|
5 | </h3> |
---|
6 | |
---|
7 | <br /><br /> |
---|
8 | <?php |
---|
9 | |
---|
10 | $form_action = array |
---|
11 | ( "e" => "set_menus", |
---|
12 | "action" => "set_menus_categorie", |
---|
13 | "menus_categorie" => $_GET[$env->param("menus_categorie")] |
---|
14 | ); |
---|
15 | if($_GET[$env->param("path")]) $form_action["path"] = $_GET[$env->param("path")]; |
---|
16 | |
---|
17 | ?> |
---|
18 | <form name="news_form" action="<?= $env->url($form_action) ?>" method="post"> |
---|
19 | <table class="admin"> |
---|
20 | <tr> |
---|
21 | <th>intitule</th> |
---|
22 | <td><input type="text" name="titre" style="width: 400px" value="<?= $_POST["titre"] ? $_POST["titre"] : $env->out["menus_categorie"]["titre"] ?>" /></td> |
---|
23 | </tr> |
---|
24 | <tr> |
---|
25 | <th>lien</th> |
---|
26 | <td> |
---|
27 | <input type="text" name="url" style="width: 400px" value="<?= $_POST["nom"] ? $_POST["url"] : $env->out["menus_categorie"]["contenu"] ?>" /> |
---|
28 | </td> |
---|
29 | </tr> |
---|
30 | </table> |
---|
31 | <table class="admin"> |
---|
32 | <tr> |
---|
33 | <td align="center"><input type="submit" value="Enregistrer" /></td> |
---|
34 | </tr> |
---|
35 | </table> |
---|
36 | </form> |
---|
37 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.