Find orphan pages.
[cocanwiki.git] / templates / edit.html
index cdae222..98edc7d 100644 (file)
@@ -11,7 +11,7 @@
 
 <h1>::title_html:: [edit]</h1>
 
-<form method="post" action="">
+<form method="post" action="" name="f">
 <input type="hidden" name="id" value="::id::"/>
 <input type="hidden" name="pt_type" value="::pt_type::"/>
 <input type="hidden" name="pt_value" value="::pt_value_html_tag::"/>
@@ -60,11 +60,13 @@ Redirect to (if given, page contents are ignored):
 <a href="/_static/markup.html" target="_blank" class="help_link">(Editing&nbsp;help)</a>
 ::end::
 </div>
-<input class="heading" name="sectionname_::ordering::" value="::sectionname_html_tag::" size="40"/>
-<textarea id="content_::ordering::" name="content_::ordering::" rows="12" cols="80" onkeypress="update_preview ('content_::ordering::', 'preview_::ordering::')">::content_html_textarea::</textarea>
+<input class="heading" name="sectionname_::ordering::" value="::sectionname_html_tag::" size="40"/><br/>
+<div class="edit_buttons" id="edit_buttons_::ordering::"></div>
+<textarea id="content_::ordering::" name="content_::ordering::" rows="14" cols="80" onkeypress="update_preview ('content_::ordering::', 'preview_::ordering::')">::content_html_textarea::</textarea>
 <div class="preview" id="preview_::ordering::"><noscript>(If you had Javascript, you would see a preview of your edits here)</noscript></div>
 <script type="text/javascript"><!--
 update_preview_now ('content_::ordering::', 'preview_::ordering::');
+init_edit_buttons ('edit_buttons_::ordering::', 'content_::ordering::', 'preview_::ordering::');
 //--></script>
 <abbr class="css_id" title="Assign a stylesheet ID to this block of text to enable further styling">CSS id</abbr>: <input class="css_id" name="divname_::ordering::" value="::divname_html_tag::" size="8"/>