+csv dep for PG'OCaml.
[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://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="" name="f">
15 <input type="hidden" name="id" value="::id::"/>
16 <input type="hidden" name="pt_type" value="::pt_type::"/>
17 <input type="hidden" name="pt_value" value="::pt_value_html_tag::"/>
18
19 <table class="left_table">
20 <tr>
21 <th>Description:</th>
22 <td>
23 <input name="description" value="::description_html_tag::" size="60"/>
24 </td>
25 </tr>
26
27 <tr>
28 <th>Keywords:</th>
29 <td>
30 <input name="keywords" value="::keywords_html_tag::" size="60"/>
31 </td>
32 </tr>
33
34 <tr>
35 <th>
36 Redirect to:<br/>
37 <small>(if given, page contents are ignored)</small>
38 </th>
39 <td>
40 <select name="redirect">
41 <option value="">None (ordinary page)</option>
42 <option value="index">Home page</option>
43 ::table(redirects)::<option value="::url_html_tag::"::if(selected):: selected="selected"::end::>::title_html::::if(is_index):: (<code>/::url_html::</code>)::end::</option>::end::
44 </select>
45 </td>
46 </tr>
47
48 <tr>
49 <th> ROBOTS NOODP:<br/>
50 <small>(See
51 <a href="http://sitemaps.blogspot.com/2006/07/more-control-over-page-snippets.html">Google sitemaps on page snippets</a>)</small>
52 </th>
53 <td>
54 <input type="radio" name="noodp" value="" id="noodp_null" ::if(noodp_null)::checked="checked"::end::/> <label for="noodp_null">Inherit default from Sitewide Settings</label> <br/>
55 <input type="radio" name="noodp" value="t" id="noodp_true" ::if(noodp_true)::checked="checked"::end::/> <label for="noodp_true">Set ROBOTS NOODP header</label> <br/>
56 <input type="radio" name="noodp" value="f" id="noodp_false" ::if(noodp_false)::checked="checked"::end::/> <label for="noodp_false">No ROBOTS NOODP header</label>
57 </td>
58 </tr>
59
60 </table>
61
62 ::if(has_errors)::
63 <div id="errors">
64 <ul>
65 ::table(errors)::<li>::error_html::</li>
66 ::end::</ul>
67 </div>
68 ::end::
69
70 <p class="insert">
71 <input class="insert" type="submit" name="action_insert_0" value="Insert new section here"/>
72 </p>
73
74 ::table(contents)::
75 <a name="::ordering::"/>
76 <div class="action">
77 ::if(msie)::
78 <input type="submit" class="action" name="action_moveup_::ordering::" value="Up" title="Move this section up"/><br/>
79 <input type="submit" class="action" name="action_movedn_::ordering::" value="Down" title="Move this section down"/><br/><br/>
80 <input type="submit" class="action" name="action_delete_::ordering::" value="Delete" title="Delete this section"/><br/><br/>
81 <input type="submit" class="action" name="save" value="Save" title="Save whole page"/><br/><br/>
82 <input type="submit" class="action" name="cancel" value="Cancel" title="Cancel all edits"/><br/>
83 <a href="/_static/markup.html" target="_blank" class="help_link">(Editing&nbsp;help)</a>
84 ::else::
85 <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/>
86 <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/>
87 <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/>
88 <button type="submit" class="action" name="save" value="1" title="Save whole page"><strong>Save</strong></button><br/><br/>
89 <button type="submit" class="action" name="cancel" value="1" title="Cancel all edits">Cancel</button><br/>
90 <a href="/_static/markup.html" target="_blank" class="help_link">(Editing&nbsp;help)</a>
91 ::end::
92 </div>
93 <input class="heading" name="sectionname_::ordering::" value="::sectionname_html_tag::" size="40"/><br/>
94 <div class="edit_buttons" id="edit_buttons_::ordering::"></div>
95 <textarea id="content_::ordering::" name="content_::ordering::" rows="14" cols="80" onkeypress="content_changed ('content_::ordering::', 'preview_::ordering::')">::content_html_textarea::</textarea>
96 <div class="preview" id="preview_::ordering::"><noscript>(If you had Javascript, you would see a preview of your edits here)</noscript></div>
97 <script type="text/javascript"><!--
98 synch_update ('content_::ordering::', 'preview_::ordering::');
99 init_edit_buttons ('edit_buttons_::ordering::', 'content_::ordering::', 'preview_::ordering::');
100 //--></script>
101 <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"/>
102 <abbr class="css_id" title="Assign a stylesheet class to this block of text to enable further styling">CSS class</abbr>: <input class="css_class" name="divclass_::ordering::" value="::divclass_html_tag::" size="8"/>
103 <abbr class="js_onclick" title="Assign a destination URL on the site where clicks in this whole region go to. (Requires Javascript)">Javascript onclick</abbr>: <input class="js_onclick" name="jsgo_::ordering::" value="::jsgo_html_tag::" size="16"/>
104
105 <p class="insert">
106 <input class="insert" type="submit" name="action_insert_::ordering::" value="Insert new section here"/>
107 </p>
108 ::end::
109
110 </form>
111
112 ::include(footer.html)::
113 </body>
114 </html>