1 | <h2>Modifier un lien</h2> |
---|
2 | <div class="bloc_content"> |
---|
3 | <h3> |
---|
4 | <?php require $env->out_file("views/ariane_links.php"); ?> |
---|
5 | </h3> |
---|
6 | |
---|
7 | <br /><br /> |
---|
8 | <form name="link_form" |
---|
9 | action="<?= $env->url(array("e" => "set_links", "action" => "set_links_categorie", "path" => $_GET[$env->param("path")], "id" => $env->out["links_categorie"]["id"])) ?>" |
---|
10 | method="post"> |
---|
11 | <table class="admin"> |
---|
12 | <tr> |
---|
13 | <th>intitule</th> |
---|
14 | <td><input type="text" name="titre" style="width: 400px" value="<?= $_POST["titre"] ? $_POST["titre"] : $env->out["links_categorie"]["titre"] ?>" /></td> |
---|
15 | </tr> |
---|
16 | <tr> |
---|
17 | <th>lien</th> |
---|
18 | <td> |
---|
19 | <input type="text" name="url" style="width: 400px" value="<?= $_POST["url"] ? $_POST["url"] : $env->out["links_categorie"]["contenu"] ?>" /> |
---|
20 | </td> |
---|
21 | </tr> |
---|
22 | </table> |
---|
23 | <br /> |
---|
24 | <h3>Description</h3> |
---|
25 | <table> |
---|
26 | <tr> |
---|
27 | <td> |
---|
28 | <textarea name="description" id="description" style="width: 656px; height: 400px;"><?= $_POST["description"] ? $_POST["description"] : $env->out["links_categorie"]["description"] ?></textarea> |
---|
29 | <script type="text/javascript" src="<?= $env->path("tinymce") ?>jscripts/tiny_mce/tiny_mce.js"></script> |
---|
30 | <script type="text/javascript"> |
---|
31 | tinyMCE.init |
---|
32 | ( { mode: "exact", |
---|
33 | elements : "description", |
---|
34 | theme : "advanced", |
---|
35 | plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template", |
---|
36 | theme_advanced_buttons1 : "bold,italic,underline,strikethrough,forecolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,image", |
---|
37 | theme_advanced_buttons2 : null, |
---|
38 | theme_advanced_buttons3 : null, |
---|
39 | theme_advanced_toolbar_location : "top", |
---|
40 | theme_advanced_toolbar_align : "left", |
---|
41 | theme_advanced_statusbar_location : "bottom", |
---|
42 | theme_advanced_resizing : true, |
---|
43 | content_css : "<?= $env->out_file("css/tiny_mce.css") ?>" |
---|
44 | } |
---|
45 | ); |
---|
46 | </script> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | </table> |
---|
50 | <table class="admin"> |
---|
51 | <tr> |
---|
52 | <td align="center"><input type="submit" value="Enregistrer" /></td> |
---|
53 | </tr> |
---|
54 | </table> |
---|
55 | </form> |
---|
56 | </div> |
---|