5 <title><!--~~title show {~~-->~plural cap~<!--~~}~~--></title>
6 <link rel="stylesheet" href="style.css" type="text/css"><!--~html_editor_headers {~--><!--~~extra_headers {~~-->
7 <script type="text/javascript" src="code/ckeditor/ckeditor.js"></script>
8 <script language="javascript" type="text/javascript">
9 function make_wysiwyg(name) {
10 CKEDITOR.replace(name, {
12 'removePlugins': 'forms,templates,smiley,pagebreak,save,newpage,preview,print',
16 </script><!--~~}~~--><!--~}~-->
20 <!--~~main_body show {~~-->
22 <!--~~wfpl_messages {~~-->
24 <div style="border: 2px solid red; background: #fbb; padding: 5px; margin: 20px 0px">
26 <p style="font-size: 120%; padding: 5px; margin: 0px">~~data html~~</p>
33 <!--~~}~~--><!--~opt_display {~-->
36 <h2>~singular cap~ details</h2><!--~opt_listing {~-->
38 <p><a href="~file_name~?~file_name~_new=1">Add another ~singular attr~</a></p>
40 <p><a href="~file_name~">Back to ~plural attr~</a></p><!--~}~-->
42 <p><a href="~file_name~?~file_name~_edit_id=~~id attr~~">Edit</a></p>
44 <table border="0" cellpadding="3" cellspacing="0" summary="">
45 <!--~display_fields {~--><!--~image {~-->
46 <tr><td class="caption">~caption html~:</td><td><img src="~~~name~ image_src~~" width="~~~name~ image_width~~" height="~~~name~ image_height~~" alt=""></td></tr>
47 <!--~}~--><!--~checkbox {~-->
48 <tr><td class="caption">~caption html~:</td><td>~~~name~ yesno~~</td></tr>
49 <!--~}~--><!--~date {~-->
50 <tr><td class="caption">~caption html~:</td><td>~~~name~ mmddyyyy~~</td></tr>
51 <!--~}~--><!--~short {~-->
52 <tr><td class="caption">~caption html~:</td><td>~~~name~ html~~</td></tr>
53 <!--~}~--><!--~html {~-->
54 <tr><td class="caption">~caption html~:</span></td><td></td></tr>
55 <tr><td colspan="2"><div style="padding: 15px; border: 1px solid black">~~~name~~~</div></td></tr>
56 <!--~}~--><!--~textarea {~-->
57 <tr><td class="caption">~caption html~:</td><td>~~~name~ htmlbrtab~~</td></tr>
59 </table><!--~opt_listing {~-->
61 <p><a href="~file_name~">Back to ~plural attr~</a></p><!--~}~-->
63 <p><a href="~file_name~?~file_name~_edit_id=~~id attr~~">Edit</a></p>
64 <!--~~}~~--><!--~}~-->
66 <!--~~form {~~--><!--~form {~-->
67 <h2><!--~opt_db {~--><!--~~new_msg {~~-->Add a new ~singular~<!--~~}~~--><!--~~edit_msg {~~-->Edit ~singular~ "~~~always_field~ html~~"<!--~~}~~--><!--~}~--><!--~opt_db unset {~-->Submit a ~singular~<!--~}~--></h2>
69 <form action="~file_name~" method="post~enctype_attr~"><!--~opt_db {~--><!--~~editing {~~--><div style="display: none"><input type="hidden" name="~file_name~_edit_id" value="~~~file_name~_edit_id attr~~"></div><!--~~}~~--><!--~}~--><!--~uploads {~--><input type="hidden" name="MAX_FILE_SIZE" value="~~upload_max_filesize~~"><!--~}~--><!--~hidden_fields {~--><!--~ first {~-->
70 <div style="display: none"><!--~}~--><input type="hidden" name="~name~" value="~~~name~ attr~~"><!--~ last {~--></div><!--~}~--><!--~}~-->
71 <!--~visible_fields {~--><!--~image {~-->
72 <div class="caption">~caption html~</div>
73 <div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~file {~-->
74 <div class="caption">~caption html~</div>
75 <div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~textbox {~-->
76 <div class="caption">~caption html~</div>
77 <div class="field"><input type="text" name="~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~date {~-->
78 <div class="caption">~caption html~</div>
79 <div class="field"><input type="text" name="~name~" value="~~~name~ mmddyyyy attr~~"> mm/dd/yyyy</div><!--~}~--><!--~password {~-->
80 <div class="caption">~caption html~</div>
81 <div class="field"><input type="password" name="~name~" value=""></div><!--~}~--><!--~textarea {~-->
82 <div class="caption">~caption html~</div>
83 <div class="field"><textarea rows="9" cols="22" name="~name~">~~~name~ html~~</textarea></div><!--~}~--><!--~html {~-->
84 <div class="caption">~caption html~</div>
85 <div class="field_notes">
87 <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>
88 <li>If you're pasting from Microsoft Word, please use the "paste from word" button (4 right of the scissors) instead of the normal paste.</li>
91 <div class="field"><textarea class="html_editor" rows="20" cols="50" id="content" name="~name~">~~~name~ html~~</textarea><script type="text/javascript">make_wysiwyg('~name~');</script></div><!--~}~--><!--~pulldown {~-->
92 <div class="caption">~caption html~</div>
93 <div class="field"><select name="~name~"><option value="">Choose One:</option><!--~~~name~ options~~--></select></div><!--~}~--><!--~states {~-->
94 <div class="caption">~caption html~</div>
95 <div class="field"><select name="~name~"><option value="">Choose One:</option><!--~~~name~ states~~--></select></div><!--~}~--><!--~radio {~-->
96 <div class="caption">~caption html~</div>
97 <div class="field"><input type="radio" name="~name~~~~name~ checked~~"></div><!--~}~--><!--~checkbox {~-->
98 <div class="caption"><input type="checkbox" name="~name~~~~name~ checked~~"> ~caption html~</div>
99 <div class="field"></div><!--~}~--><!--~submit {~-->
100 <div class="caption"> </div>
101 <div class="field"><input type="submit" name="~name~" value="~caption attr~"></div><!--~}~-->
104 <!--~}~--><!--~~}~~--><!--~opt_listing {~-->
106 <!--~~listings {~~-->
107 <h2>~plural cap~ Listing</h2>
109 <!--~~populated_listing {~~-->
110 <p><a href="~file_name~?~file_name~_new=1">[Add a new ~singular~]</a></p>
112 <table cellspacing="0" cellpadding="4" border="1" summary="">
113 <!--~listing_headers {~--><th>~caption~</th><!--~}~--><th> </th><!--~~rows {~~-->
114 <tr><!--~listing_fields {~-->
115 <td class="listing"><a href="~file_name~?~file_name~_<!--~opt_display unset {~-->edit_<!--~}~-->id=~~id~~"><!--~enc {~-->~~~name~ ~enc~~~<!--~}~--><!--~thumb {~--><img src="~~~name~ thumb_src~~" width="~~~name~ thumb_width~~" height="~~~name~ thumb_height~~" alt=""><!--~}~--></a></td><!--~}~-->
116 <td><a href="~file_name~?~file_name~_delete_id=~~id~~" onclick="return confirm('Permanently delete?')">[delete this ~singular~]</a></td>
121 <!--~~empty_listing {~~-->
122 <p>No ~plural~ in database.</p>
125 <p><a href="~file_name~?~file_name~_new=1">[Add a new ~singular~]</a></p>
126 <!--~~}~~--><!--~}~-->