aboutsummaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-22 19:58:34 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-22 19:58:34 -0400
commitd76c10cba24c2bea026facb2a9e5e3215d7f3994 (patch)
tree3a35deb647834ae1e00487b4cfef95a7e8921b50 /templates/editpage.tmpl
parent2b9615194e0adefa0f61810405db1e9204ccc72b (diff)
downloadikiwiki-d76c10cba24c2bea026facb2a9e5e3215d7f3994.tar
ikiwiki-d76c10cba24c2bea026facb2a9e5e3215d7f3994.tar.gz
Split out error messages from editpage.tmpl into several separate templates.
Diffstat (limited to 'templates/editpage.tmpl')
-rw-r--r--templates/editpage.tmpl42
1 files changed, 1 insertions, 41 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 1c30d1d85..4b54db2d1 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -1,46 +1,6 @@
<br />
<TMPL_VAR JAVASCRIPT>
-<TMPL_IF NAME="PAGE_CONFLICT">
-<p>
-<b>Your changes conflict with other changes made to the page.</b>
-</p>
-<p>
-Conflict markers have been inserted into the page content. Reconcile the
-conflict and commit again to save your changes.
-</p>
-</TMPL_IF>
-<TMPL_IF NAME="FAILED_SAVE">
-<p>
-<b>Failed to save your changes.</b>
-</p>
-<p>
-Your changes were not able to be saved to disk. The system gave the error:
-<blockquote>
-<TMPL_VAR ERROR_MESSAGE>
-</blockquote>
-Your changes are preserved below, and you can try again to save them.
-</p>
-</TMPL_IF>
-<TMPL_IF NAME="PAGE_GONE">
-<p>
-<b>The page you were editing has disappeared.</b>
-</p>
-<p>
-Perhaps someone else has deleted it or moved it. If you want to recreate
-this page with your text, click "Save Page" again.
-</p>
-</TMPL_IF>
-<TMPL_IF NAME="CREATION_CONFLICT">
-<p>
-<b>While you were creating this page, someone else independently created a page
-with the same name.</b>
-</p>
-<p>
-The edit box below contains the page's current content, followed by the
-content you entered previously, to allow you to merge the two
-together before saving.
-</p>
-</TMPL_IF>
+<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>