Edit page WikiSandBox2
authorAnonymousCoward <AnonymousCoward@::1>
Mon, 17 Aug 2009 20:21:04 +0000 (22:21 +0200)
committerGeekiGeeki <webmaster@codewiz.org>
Mon, 17 Aug 2009 20:21:04 +0000 (22:21 +0200)
WikiSandBox2 [new file with mode: 0644]
sys/EditPage

diff --git a/WikiSandBox2 b/WikiSandBox2
new file mode 100644 (file)
index 0000000..887ae93
--- /dev/null
@@ -0,0 +1 @@
+ciao
index 56bcf98647df6b85623ef9f720d010b422d1c895..c5a9cd4693e9fd5f00e7592c3d1e41f84233e733 100644 (file)
@@ -1,16 +1,27 @@
-**Editing <<HttpGet|edit>> for <<CgiVar|REMOTE_USER>> from <<CgiVar|REMOTE_HOST>>**
+**Editing <<HttpGet|q>> for <<CgiVar|REMOTE_USER>> from <<CgiVar|REMOTE_HOST>>**
 <div class="editor">
-<form method="post" enctype="multipart/form-data" action="<<CgiVar|QUERY_STRING>>" >
-<input type="hidden" name="edit2" value="<<HttpGet|edit2>>">
-<textarea wrap="off" spellcheck="true" id="editor" name="savetext" rows="17" cols="100"><<HttpPost|savetext>></textarea>
-Or upload a file: <input type="file" name="file" value="<<HttpPost|file>>" />
+<form method="post" enctype="multipart/form-data" action="<<HttpGet|q>>" >
+<input type="hidden" name="a" value="edit">
+<input type="hidden" name="q" value="<<HttpGet|q>>">
+<input type="input" id="editor" name="changelog" value="Edit page <<HttpGet|q>>" accesskey="c" />
 \\
-<input type="submit" name="save" value="Save" />
-<input type="submit" name="preview" value="Preview" />
+<textarea wrap="off" spellcheck="true" id="editor" name="savetext" rows="17" cols="100" accesskey="e"><<EDIT_BODY>></textarea>
+<label for="file" accesskey="u">Or upload a file:</label> <input type="file" name="file" value="<<HttpPost|file>>" />
+\\
+<input type="submit" name="save" value="Save" accesskey="s" />
+<input type="submit" name="preview" value="Preview" accesskey="p" />
 <input type="reset" value="Reset" />
 <input type="submit" name="cancel" value="Cancel" />
 \\
 </form></div>
+<script language="javascript">
+<!--
+document.editform.savetext.focus()
+//-->
+</script>
+
 [[EditingTips]]
 
-<<HttpPost|savetext>>
+<!--<div class='preview'>
+<<EDIT_PREVIEW>>
+</div>-->