aboutsummaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-12 16:37:26 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-12 16:37:26 +0000
commit798c48a1a6ec32274ba031660bdd3eeef462e468 (patch)
tree9003cd8bb5b3cf9dca4a501a51d329cce0aa7355 /templates/editpage.tmpl
parent09a97d699eb84e792df110f9716ce31b86ba9c61 (diff)
downloadikiwiki-798c48a1a6ec32274ba031660bdd3eeef462e468.tar
ikiwiki-798c48a1a6ec32274ba031660bdd3eeef462e468.tar.gz
- use templates for signin form, error messages
- use FormBuilder for edit page forms (also use template) - print debug to stderr in cgi mode to avoid breaking http headers - fix links to page in parentlinks if $url is unset - reorganise how wikilink is used in templates - only make recentchanes link if svn is enabled - change session id cookie to something we control - add support for logging committer name for web commits from signed in users (untested) - probably more changes I forgot
Diffstat (limited to 'templates/editpage.tmpl')
-rw-r--r--templates/editpage.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
new file mode 100644
index 000000000..8b755749f
--- /dev/null
+++ b/templates/editpage.tmpl
@@ -0,0 +1,21 @@
+<html>
+<head><title><TMPL_VAR FORM-TITLE></title></head>
+<body>
+<TMPL_VAR FORM-START>
+<h1><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></h1>
+<TMPL_VAR FIELD-DO>
+<TMPL_VAR FIELD-FROM>
+<TMPL_IF NAME="PAGE_SELECT">
+Page location: <TMPL_VAR FIELD-PAGE><br>
+<TMPL_ELSE>
+<TMPL_VAR FIELD-PAGE>
+</TMPL_IF>
+<TMPL_VAR FIELD-CONTENT><br>
+<TMPL_IF NAME="CAN_COMMIT">
+Optional comment about this change:</br>
+<TMPL_VAR FIELD-COMMENTS><br>
+</TMPL_IF>
+<TMPL_VAR FORM-SUBMIT>
+<TMPL_VAR FORM-END>
+</body>
+</html>