source: trunk/web/app/out/dist/content/set_pages/e_set_page.php @ 6

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

mise a jour du trunk

File size: 2.3 KB
Line 
1<h2>Modifier une page</h2>
2<div class="bloc_content">
3<form name="page_form" action="<?= $env->url(array("e" => "set_pages", "action" => "set_page", "id" => $env->out["page"]["id"])) ?>" method="post">
4<input type="hidden" name="preview" value="0" />
5<input type="hidden" name="public"  value="1" />
6<table class="admin">
7  <tr>
8    <th>titre</th>
9    <td><input type="text" name="titre" style="width: 500px" value="<?= $env->out["page"]["titre"] ?>"></td>
10  </tr>
11  <tr>
12    <th>fichier</th>
13    <td>
14      <input type="text" name="fichier" style="width: 500px" value="<?= $env->out["page"]["nom"] ?>">
15      <div class="info">
16        Vous pouvez pr&eacute;ciser un fichier pour le contenu de la page.<br />
17        Le fichier doit se trouver dans le dossier <strong>pages</strong> du repertoire du template.<br />
18        <strong>note</strong> : si vous pr&eacute;cisez un fichier, le contenu ci-dessous ne sera pas affich&eacute;.
19      </div>
20    </td>
21  </tr>
22</table>
23<br />
24      <textarea name="contenu" id="contenu" style="width: 765px; height: 400px;"><?= $env->out["page"]["contenu"] ?></textarea>
25      <script type="text/javascript" src="<?= $env->path("tinymce") ?>jscripts/tiny_mce/tiny_mce.js"></script>
26      <script type="text/javascript">
27      tinyMCE.init
28      ( { mode: "exact",
29          elements : "contenu",
30          theme : "advanced",
31          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",
32          theme_advanced_buttons1 : "bold,italic,underline,strikethrough,forecolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,image",
33          theme_advanced_buttons2 : null,
34          theme_advanced_buttons3 : null,
35          theme_advanced_toolbar_location : "top",
36          theme_advanced_toolbar_align : "left",
37          theme_advanced_statusbar_location : "bottom",
38          theme_advanced_resizing : true,
39          content_css : "<?= $env->out_file("css/tiny_mce.css") ?>"
40        }
41      );
42      </script>
43<br />
44<table class="admin">
45  <tr>
46    <td align="center" colspan="2"><input type="submit" value="Enregistrer" /></td>
47  </tr>
48</table>
49</form>
50</div>
Note: See TracBrowser for help on using the repository browser.