tighten return codes
[diogenes.git] / templates / admin-ekit.tpl
1 {literal}
2 <script type="text/javascript">
3 <!--
4 function doUpdate()
5 {
6   document.modif.file_content.value = document.Ekit.getDocumentBody();
7   document.modif.submit();
8 }
9 -->
10 </script>
11 {/literal}
12
13
14 <APPLET CODEBASE="." CODE="com.hexidec.ekit.EkitApplet.class" ARCHIVE="ekitapplet.jar" NAME="Ekit" WIDTH="800" HEIGHT="600" MAYSCRIPT>
15         <PARAM NAME="codebase" VALUE=".">
16         <PARAM NAME="code" VALUE="com.hexidec.ekit.EkitApplet.class">
17         <PARAM NAME="archive" VALUE="ekitapplet.jar">
18         <PARAM NAME="name" VALUE="Ekit">
19         <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
20         <PARAM NAME="scriptable" VALUE="true">
21         <PARAM NAME="BASEURL" VALUE="{$dirloc}">
22         <PARAM NAME="DOCUMENT" VALUE="{$file_content}">
23         <PARAM NAME="BASE64" VALUE="true">
24         <PARAM NAME="STYLESHEET" VALUE="{$cssfiles}">
25         <PARAM NAME="LANGCODE" VALUE="en">
26         <PARAM NAME="LANGCOUNTRY" VALUE="US">
27         <PARAM NAME="TOOLBAR" VALUE="true">
28         <PARAM NAME="SOURCEVIEW" VALUE="false">
29         <PARAM NAME="EXCLUSIVE" VALUE="true">
30         <PARAM NAME="MENUICONS" VALUE="true">
31         <PARAM NAME="MENU_EDIT" VALUE="true">
32         <PARAM NAME="MENU_VIEW" VALUE="true">
33         <PARAM NAME="MENU_FONT" VALUE="true">
34         <PARAM NAME="MENU_FORMAT" VALUE="true">
35         <PARAM NAME="MENU_INSERT" VALUE="true">
36         <PARAM NAME="MENU_TABLE" VALUE="true">
37         <PARAM NAME="MENU_FORMS" VALUE="true">
38         <PARAM NAME="MENU_SEARCH" VALUE="true">
39         <PARAM NAME="MENU_TOOLS" VALUE="true">
40         <PARAM NAME="MENU_HELP" VALUE="true">
41 </APPLET>
42
43
44 <form name="modif" method="post" action="{$post}">
45 <input type="hidden" name="action" value="update" />
46 <input type="hidden" name="file" value="{$file}" />
47 <input type="hidden" name="dir" value="{$dir}" />
48 <input type="hidden" name="file_content" value="" />
49
50 <table class="light" style="width:800px">
51 <tr>
52   <td>
53     {$msg_log}
54     <input type="text" name="message" size="50" />
55     <input type="button" value="update" onClick="doUpdate();" />
56   </td>
57 </tr>
58 </table>
59
60 </form>