Daily view.
[cocanwiki.git] / templates / edit.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>::title_html:: [edit]</title>
5 <meta name="robots" content="noindex,nofollow"/>
6 <meta name="author" content="http://www.merjis.com/" />
7 <link rel="stylesheet" href="/_css/standard.css" type="text/css" title="Standard"/>
8 <link rel="stylesheet" href="/_css/editor.css" type="text/css" title="Standard"/>
9 <script src="/_js/editor.js" type="text/javascript"></script>
10 </head><body>
11
12 <h1>::title_html:: [edit]</h1>
13
14 <form method="post" action="edit">
15 <input type="hidden" name="id" value="::id::"/>
16
17 <p>
18 Description:
19 <input name="description" value="::description_html_tag::" size="60"/>
20 </p>
21
22 <p>
23 Redirect to (if given, page contents are ignored):
24 <select name="redirect">
25 <option value="">None (ordinary page)</option>
26 ::table(redirects)::<option value="::url_html_tag::" ::if(selected)::selected="selected"::end::>::title_html:: (<code>/::url_html::</code>)</option>::end::
27 </select>
28 </p>
29
30 ::if(has_errors)::
31 <div id="errors">
32 <p><strong>Errors:</strong></p>
33 <ul>
34 ::table(errors)::<li>::error_html::</li>
35 ::end::</ul>
36 </div>
37 ::end::
38
39 <p class="insert">
40 <input class="insert" type="submit" name="action_insert_0" value="Insert new section here"/>
41 </p>
42
43 ::table(contents)::
44 <a name="::ordering::"/>
45 <div class="action">
46 ::if(msie)::
47 <input type="submit" class="action" name="action_moveup_::ordering::" value="Up" title="Move this section up"/><br/>
48 <input type="submit" class="action" name="action_movedn_::ordering::" value="Down" title="Move this section down"/><br/><br/>
49 <input type="submit" class="action" name="action_delete_::ordering::" value="Delete" title="Delete this section"/><br/><br/>
50 <input type="submit" class="action" name="save" value="Save" title="Save whole page"/><br/><br/>
51 <input type="submit" class="action" name="cancel" value="Cancel" title="Cancel all edits"/><br/>
52 <a href="/_static/markup.html" target="_blank" class="help_link">(Editing&nbsp;help)</a>
53 ::else::
54 <button type="submit" class="action" name="action_moveup_::ordering::" value="1" title="Move this section up"><img src="/_graphics/arrow-up.png" width="10" height="10" alt=""/> Up</button><br/>
55 <button type="submit" class="action" name="action_movedn_::ordering::" value="1" title="Move this section down"><img src="/_graphics/arrow-down.png" width="10" height="10" alt=""/> Down</button><br/><br/>
56 <button type="submit" class="action" name="action_delete_::ordering::" value="1" title="Delete this section"><img src="/_graphics/cross.png" width="10" height="10" alt=""/> Delete</button><br/><br/>
57 <button type="submit" class="action" name="save" value="1" title="Save whole page"><strong>Save</strong></button><br/><br/>
58 <button type="submit" class="action" name="cancel" value="1" title="Cancel all edits">Cancel</button><br/>
59 <a href="/_static/markup.html" target="_blank" class="help_link">(Editing&nbsp;help)</a>
60 ::end::
61 </div>
62 <input class="heading" name="sectionname_::ordering::" value="::sectionname_html_tag::" size="40"/>
63 <textarea id="content_::ordering::" name="content_::ordering::" rows="12" cols="80" onkeypress="update_preview ('content_::ordering::', 'preview_::ordering::')">::content_html_textarea::</textarea>
64 <div class="preview" id="preview_::ordering::"><noscript>(If you had Javascript, you would see a preview of your edits here)</noscript></div>
65 <script type="text/javascript"><!--
66 update_preview_now ('content_::ordering::', 'preview_::ordering::');
67 //--></script>
68 <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"/>
69
70 <p class="insert">
71 <input class="insert" type="submit" name="action_insert_::ordering::" value="Insert new section here"/>
72 </p>
73 ::end::
74
75 </form>
76
77 <div id="footer_div">
78 <hr/>
79
80 <ul id="footer" class="menu">
81 <li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
82 <li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
83 </ul>
84 </div>
85
86 </body>
87 </html>