1
|
<!-- BEGIN main_block -->
|
2
|
|
3
|
<script type="text/javascript">
|
4
|
_editor_url = "{WB_URL}/include/htmlarea/";
|
5
|
_editor_lang = "en";
|
6
|
</script>
|
7
|
<script type="text/javascript" src="{WB_URL}/include/htmlarea/htmlarea.js"></script>
|
8
|
<script type="text/javascript">
|
9
|
HTMLArea.loadPlugin("FullPage");
|
10
|
HTMLArea.loadPlugin("ContextMenu");
|
11
|
HTMLArea.loadPlugin("TableOperations");
|
12
|
function initEditor() {
|
13
|
var editor = new HTMLArea("{WYSIWYG_FIELD}");
|
14
|
editor.registerPlugin(FullPage);
|
15
|
editor.registerPlugin(ContextMenu);
|
16
|
editor.registerPlugin(TableOperations);
|
17
|
editor.generate();
|
18
|
}
|
19
|
</script>
|
20
|
|
21
|
<form action="intro2.php" method="post">
|
22
|
|
23
|
<input type="hidden" name="page_id" value="{PAGE_ID}" />
|
24
|
|
25
|
<textarea id="content" name="content" style="WIDTH: 100%; HEIGHT: 500px">{CONTENT}</textarea>
|
26
|
|
27
|
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
28
|
<tr>
|
29
|
<td align="left">
|
30
|
<input type="submit" value="{TEXT_SAVE}" style="width: 100px; margin-top: 5px;" />
|
31
|
</td>
|
32
|
<td align="right">
|
33
|
</form>
|
34
|
<input type="button" value="{TEXT_CANCEL}" onclick="javascript: window.location = 'index.php';" style="width: 100px; margin-top: 5px;" />
|
35
|
</td>
|
36
|
</tr>
|
37
|
</table>
|
38
|
|
39
|
</form>
|
40
|
<!-- END main_block -->
|