1 | <div class="bloc"> |
---|
2 | <h2><?php echo $env->out["artiste"]["nom"]; ?></h2> |
---|
3 | <div class="bloc_content"> |
---|
4 | |
---|
5 | <?php require $env->out_file("views/artiste_onglets.php") ?> |
---|
6 | |
---|
7 | <?php if($env->out["edit_ok"]) : ?> |
---|
8 | |
---|
9 | <div id="artiste_left"> |
---|
10 | <?php require $env->out_file("views/menu_admin_artiste.php") ?> |
---|
11 | </div> |
---|
12 | <div id="artiste_right"> |
---|
13 | <h3>Présentation</h3> |
---|
14 | <form name="edito_form" |
---|
15 | action="<?= $env->url(array("e" => "set_artiste_presentation", "artiste" => $_GET[$env->param("artiste")])) ?>" |
---|
16 | method="post"> |
---|
17 | <table> |
---|
18 | <tr> |
---|
19 | <td> |
---|
20 | <textarea name="presentation" id="presentation" style="width: 490px; height: 500px;"><?= $env->out["presentation"] ?></textarea> |
---|
21 | <script type="text/javascript" src="<?= $env->path("tinymce") ?>jscripts/tiny_mce/tiny_mce.js"></script> |
---|
22 | <script type="text/javascript"> |
---|
23 | tinyMCE.init |
---|
24 | ( { mode: "exact", |
---|
25 | elements : "presentation", |
---|
26 | theme : "advanced", |
---|
27 | 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", |
---|
28 | theme_advanced_buttons1 : "bold,italic,underline,strikethrough,forecolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,image", |
---|
29 | theme_advanced_buttons2 : null, |
---|
30 | theme_advanced_buttons3 : null, |
---|
31 | theme_advanced_toolbar_location : "top", |
---|
32 | theme_advanced_toolbar_align : "left", |
---|
33 | theme_advanced_statusbar_location : "bottom", |
---|
34 | theme_advanced_resizing : true, |
---|
35 | content_css : "<?= $env->out_file("css/tiny_mce.css") ?>" |
---|
36 | } |
---|
37 | ); |
---|
38 | </script> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | <tr> |
---|
42 | <td align="center"><input type="submit" value="Enregistrer" /></td> |
---|
43 | </tr> |
---|
44 | </table> |
---|
45 | </form> |
---|
46 | </div> |
---|
47 | <div class="clear"><!-- --></div> |
---|
48 | |
---|
49 | <?php endif; ?> |
---|
50 | </div> |
---|
51 | </div> |
---|