]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/editpage.tmpl
* Patch from Recai to allow selection of page type when creating a new page.
[ikiwiki.git] / templates / editpage.tmpl
index 89f01e6643ada046c38a6568edccf17be519ee45..1ee4c49479c16017e7f93ff8654290983cb8fc44 100644 (file)
@@ -27,27 +27,29 @@ confict and commit again to save your changes.
 <TMPL_VAR FIELD-FROM>
 <TMPL_VAR FIELD-RCSINFO>
 <TMPL_IF NAME="PAGE_SELECT">
 <TMPL_VAR FIELD-FROM>
 <TMPL_VAR FIELD-RCSINFO>
 <TMPL_IF NAME="PAGE_SELECT">
-Page location: <TMPL_VAR FIELD-PAGE><br />
+Page location: <TMPL_VAR FIELD-PAGE>
+Page type: <TMPL_VAR FIELD-TYPE>
 <TMPL_ELSE>
 <TMPL_ELSE>
+<br />
 <TMPL_VAR FIELD-PAGE>
 <TMPL_VAR FIELD-PAGE>
+<TMPL_VAR FIELD-TYPE>
 </TMPL_IF>
 </TMPL_IF>
-<TMPL_VAR FIELD-CONTENT><br />
+<TMPL_VAR FIELD-EDITCONTENT><br />
 <TMPL_IF NAME="CAN_COMMIT">
 Optional comment about this change:<br />
 <TMPL_VAR FIELD-COMMENTS><br />
 </TMPL_IF>
 <TMPL_VAR FORM-SUBMIT>
 <TMPL_IF NAME="CAN_COMMIT">
 Optional comment about this change:<br />
 <TMPL_VAR FIELD-COMMENTS><br />
 </TMPL_IF>
 <TMPL_VAR FORM-SUBMIT>
+<TMPL_VAR HELPONFORMATTINGLINK>
 <TMPL_VAR FORM-END>
 <TMPL_VAR FORM-END>
-<hr />
 <TMPL_IF NAME="PAGE_PREVIEW">
 <TMPL_IF NAME="PAGE_PREVIEW">
+<hr />
 <div class="header">
 <span>Page preview:</span>
 </div>
 <div id="content">
 <TMPL_VAR PAGE_PREVIEW>
 </div>
 <div class="header">
 <span>Page preview:</span>
 </div>
 <div id="content">
 <TMPL_VAR PAGE_PREVIEW>
 </div>
-<TMPL_ELSE>
-<TMPL_VAR HELPONFORMATTINGLINK>
 </TMPL_IF>
 </body>
 </html>
 </TMPL_IF>
 </body>
 </html>