add editor and footer giskard/master
authorBernie Innocenti <bernie@codewiz.org>
Wed, 19 Aug 2009 10:13:40 +0000 (12:13 +0200)
committerBernie Innocenti <bernie@codewiz.org>
Wed, 19 Aug 2009 10:13:40 +0000 (12:13 +0200)
sys/EditPage [new file with mode: 0644]
sys/footer [new file with mode: 0644]

diff --git a/sys/EditPage b/sys/EditPage
new file mode 100644 (file)
index 0000000..bd84e30
--- /dev/null
@@ -0,0 +1,22 @@
+**Editing <<HttpGet|q>> for <<CgiVar|REMOTE_USER>> from <<CgiVar|REMOTE_HOST>>**
+<div class="editor">
+<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" />
+\\
+<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]]
diff --git a/sys/footer b/sys/footer
new file mode 100644 (file)
index 0000000..7500dba
--- /dev/null
@@ -0,0 +1,8 @@
+<div id="footer"><hr />
+<p class="copyright">
+[[http://creativecommons.org/licenses/by-sa/3.0/|sys/cc-by-sa.png|Creative Commons License|rel=license]]
+<span class="benchmark">generated in <<ELAPSED_TIME>>s</span>
+by [[http://www.codewiz.org/wiki/GeekiGeeki|GeekiGeeki]] version <<VERSION>>
+</p>
+<p class="modified">last modified <<LAST_MODIFIED>></p>
+</div>