JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
admin_pages.html: fix whitespace, encoding, doctype
authorJason Woofenden <jason@jasonwoof.com>
Sat, 6 Nov 2010 05:56:31 +0000 (01:56 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Sat, 6 Nov 2010 05:56:31 +0000 (01:56 -0400)
admin_pages.html

index 3d2d1cf..c63a38b 100644 (file)
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html>
 
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html lang="en">
 <head>
-  <title><!--~main_title show {~-->~this_host~ Admin: <!--~listings {~-->Pages Listing<!--~}~--><!--~form {~--><!--~new_msg {~-->Add a new page<!--~}~--><!--~edit_msg {~-->Edit page "~title html~"<!--~}~--><!--~}~--><!--~}~--></title>
-  <!--~extra_headers {~-->
-    <script type="text/javascript" src="code/ckeditor/ckeditor.js"></script>
-    <script type="text/javascript">
-      function make_wysiwyg(name) {
-        CKEDITOR.replace(name, {
-               'contentsCss': 'style.css',
-               'uiColor': '#ccccff',
-               'removePlugins': 'forms,templates,smiley,pagebreak,save,newpage,preview,print',
-               'height': '300px',
-                       'toolbar': [
-                               ['Source'],
-                               ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'SpellChecker', 'Scayt'],
-                               ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
-                               '/',
-                               ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'],
-                               ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],
-                               ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
-                               ['Link', 'Unlink', 'Anchor'],
-                               ['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'],
-                               '/',
-                               ['Styles', 'Format', 'Font', 'FontSize'],
-                               ['TextColor', 'BGColor'],
-                               ['Maximize', 'ShowBlocks']
-                       ]
-        });
-      }
-    </script>
-  <!--~}~-->
+       <title><!--~main_title show {~-->~this_host~ Admin: <!--~listings {~-->Pages Listing<!--~}~--><!--~form {~--><!--~new_msg {~-->Add a new page<!--~}~--><!--~edit_msg {~-->Edit page "~title html~"<!--~}~--><!--~}~--><!--~}~--></title>
+       <meta charset="utf-8" />
+       <!--~extra_headers {~-->
+       <script type="text/javascript" src="code/ckeditor/ckeditor.js"></script>
+       <script type="text/javascript">
+               function make_wysiwyg(name) {
+                       CKEDITOR.replace(name, {
+                               'contentsCss': 'style.css',
+                               'uiColor': '#ccccff',
+                               'removePlugins': 'forms,templates,smiley,pagebreak,save,newpage,preview,print',
+                               'height': '300px',
+                               'toolbar': [
+                                       ['Source'],
+                                       ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'SpellChecker', 'Scayt'],
+                                       ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
+                                       '/',
+                                       ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'],
+                                       ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],
+                                       ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
+                                       ['Link', 'Unlink', 'Anchor'],
+                                       ['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'],
+                                       '/',
+                                       ['Styles', 'Format', 'Font', 'FontSize'],
+                                       ['TextColor', 'BGColor'],
+                                       ['Maximize', 'ShowBlocks']
+                                       ]
+                       });
+               }
+       </script>
+       <!--~}~-->
 
 </head>
 
 <body>
-  <!--~main_body show {~-->
-
-<!--~form {~-->
-  <form action="admin_pages" method="post"><!--~editing {~--><div style="display: none"><input type="hidden" name="and_then" value="~and_then attr~" /><input type="hidden" name="admin_pages_edit_id" value="~admin_pages_edit_id attr~" /></div><!--~}~-->
-
-
-    <div class="caption">Title</div>
-    <div class="field_notes">(This appears at the top of the page, in the window title-bar (by the close button) and as the headline/link of search engine results.)</div>
-    <div class="field"><input type="text" name="title" value="~title attr~" /></div>
-
-    <div class="caption">Filename</div>
-    <div class="field_notes">(<!--~editing {~-->Careful: if you change this, be sure to update all links to this page<!--~}~--><!--~editing unset {~-->Please use only a-z, 0-9 and _ (underscore) in your filename. Please, no capitals, punctuation or spaces.<!--~}~-->)</div>
-    <div class="field"><input type="text" name="filename" value="~filename attr~" /></div>
-
-    <div class="caption">Show in navigation links</div>
-    <div class="field_notes">(On the left of every page.)</div>
-    <div class="field"><select name="navbar"><!--~navbar options~--></select></div>
-
-    <div class="caption">Navigation Link Text</div>
-    <div class="field_notes">(If you'd like this page to appear in the navigation with a shorter title.)</div>
-    <div class="field"><input type="text" name="nav_title" value="~nav_title attr~" /></div>
-
-    <div class="caption">Content</div>
-    <div class="field_notes">
-      <ul>
-        <li>If you don't see an editor below (with buttons in it) then please try this page in <a href="http://getfirefox.com">Mozilla FireFox</a> or <a href="http://www.google.com/chrome/">Google Chrome</a>.</li>
-        <li>If you're pasting from Microsoft Word, please use the "paste from word" button (4 right of the scissors).</li>
-        <li>In the link dialog, you can make a link to another page on this site by entering that page's "filename" in the URL field.</li>
-      </ul></div>
-    <div class="field"><textarea class="html_editor" rows="20" cols="50" id="content" name="content">~content html~</textarea><script type="text/javascript">make_wysiwyg('content');</script></div>
-
-    <div class="caption">Description</div>
-    <div class="field_notes">(Hidden description of this page, primarily for search engines.)</div>
-    <div class="field"><textarea rows="9" cols="22" name="description">~description html~</textarea></div>
-
-    <div class="caption">Keywords</div>
-    <div class="field_notes">(Hidden words (up to 30) with commas between them for search engines)</div>
-    <div class="field"><textarea rows="9" cols="22" name="keywords">~keywords html~</textarea></div>
-
-    <div class="field"><input type="submit" name="save" value="Save" /></div>
-
-  </form>
-<!--~}~-->
-<!--~listings {~-->
-  <!--~populated_listing {~-->
-  <p><a href="admin_pages?admin_pages_new=1">[Add a new page]</a></p>
-
-  <table cellspacing="0" cellpadding="4" border="1" summary="">
-    <th>Title</th><th>Filename</th><th>&nbsp;</th><!--~rows {~-->
-    <tr>
-      <td class="listing"><a href="admin_pages?admin_pages_edit_id=~id~">~title html~</a></td>
-      <td class="listing"><a href="admin_pages?admin_pages_edit_id=~id~">~filename html~</a></td>
-      <td><a href="admin_pages?admin_pages_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this page]</a></td>
-    </tr><!--~}~-->
-
-  </table>
-  <!--~}~-->
-  <!--~empty_listing {~-->
-    <p>No pages in database.</p>
-  <!--~}~-->
-
-  <p><a href="admin_pages?admin_pages_new=1">[Add a new page]</a></p>
-<!--~}~-->
-
+<!--~main_body show {~-->
+
+       <!--~form {~-->
+               <form action="admin_pages" method="post"><!--~editing {~--><div style="display: none"><input type="hidden" name="and_then" value="~and_then attr~" /><input type="hidden" name="admin_pages_edit_id" value="~admin_pages_edit_id attr~" /></div><!--~}~-->
+
+
+               <div class="caption">Title</div>
+               <div class="field_notes">(This appears at the top of the page, in the window title-bar (by the close button) and as the headline/link of search engine results.)</div>
+               <div class="field"><input type="text" name="title" value="~title attr~" /></div>
+
+               <div class="caption">Filename</div>
+               <div class="field_notes">(<!--~editing {~-->Careful: if you change this, be sure to update all links to this page<!--~}~--><!--~editing unset {~-->Please use only a-z, 0-9 and _ (underscore) in your filename. Please, no capitals, punctuation or spaces.<!--~}~-->)</div>
+               <div class="field"><input type="text" name="filename" value="~filename attr~" /></div>
+
+               <div class="caption">Show in navigation links</div>
+               <div class="field_notes">(On the left of every page.)</div>
+               <div class="field"><select name="navbar"><!--~navbar options~--></select></div>
+
+               <div class="caption">Navigation Link Text</div>
+               <div class="field_notes">(If you'd like this page to appear in the navigation with a shorter title.)</div>
+               <div class="field"><input type="text" name="nav_title" value="~nav_title attr~" /></div>
+
+               <div class="caption">Content</div>
+               <div class="field_notes">
+               <ul>
+               <li>If you don't see an editor below (with buttons in it) then please try this page in <a href="http://getfirefox.com">Mozilla FireFox</a> or <a href="http://www.google.com/chrome/">Google Chrome</a>.</li>
+               <li>If you're pasting from Microsoft Word, please use the "paste from word" button (4 right of the scissors).</li>
+               <li>In the link dialog, you can make a link to another page on this site by entering that page's "filename" in the URL field.</li>
+               </ul></div>
+               <div class="field"><textarea class="html_editor" rows="20" cols="50" id="content" name="content">~content html~</textarea><script type="text/javascript">make_wysiwyg('content');</script></div>
+
+               <div class="caption">Description</div>
+               <div class="field_notes">(Hidden description of this page, primarily for search engines.)</div>
+               <div class="field"><textarea rows="9" cols="22" name="description">~description html~</textarea></div>
+
+               <div class="caption">Keywords</div>
+               <div class="field_notes">(Hidden words (up to 30) with commas between them for search engines)</div>
+               <div class="field"><textarea rows="9" cols="22" name="keywords">~keywords html~</textarea></div>
+
+               <div class="field"><input type="submit" name="save" value="Save" /></div>
+
+               </form>
+       <!--~}~-->
+       <!--~listings {~-->
+               <!--~populated_listing {~-->
+                       <p><a href="admin_pages?admin_pages_new=1">[Add a new page]</a></p>
+
+                       <table cellspacing="0" cellpadding="4" border="1" summary="">
+                               <th>Title</th><th>Filename</th><th>&nbsp;</th><!--~rows {~-->
+                               <tr>
+                               <td class="listing"><a href="admin_pages?admin_pages_edit_id=~id~">~title html~</a></td>
+                               <td class="listing"><a href="admin_pages?admin_pages_edit_id=~id~">~filename html~</a></td>
+                               <td><a href="admin_pages?admin_pages_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this page]</a></td>
+                               </tr><!--~}~-->
+
+                       </table>
+               <!--~}~-->
+               <!--~empty_listing {~-->
+                       <p>No pages in database.</p>
+               <!--~}~-->
+
+               <p><a href="admin_pages?admin_pages_new=1">[Add a new page]</a></p>
+       <!--~}~-->
 <!--~}~-->
 </body>
 </html>