<title><!--~~$title show {~~-->~plural cap~<!--~~}~~--></title>
<link rel="stylesheet" href="style.css"><!--~html_editor_headers {~-->
<!--~~$head {~~-->
- <script src="inc/ckeditor/ckeditor.js"></script>
+ <script src="inc/ckeditor/ckeditor.js?t=F0RD"></script>
<script>
function make_wysiwyg(name) {
CKEDITOR.replace(name, {
- 'contentsCss': 'style.css',
+ 'contentsCss': 'css.css?m=~~css.css mtime~~',
+ 'allowedContent': true,
+ bodyId: '~$basename~' + '_wysiwyg_' + name,
+ 'stylesSet': [
+ { name: 'Paragraph', element: 'p'},
+ { name: 'Page Headline', element: 'h1'},
+ { name: 'Section Headline', element: 'h2'},
+ { name: 'Subsection Headline', element: 'h3'},
+ { name: 'Tagline (under headline)', element: 'h4', attributes: { class: 'tagline'}},
+ { name: 'Quote', element: 'p', attributes: { class: 'quote'}},
+ { name: 'Quote Author', element: 'p', attributes: { class: 'attrib'}},
+ { name: 'div (generic box)', element: 'div'}
+ ],
'uiColor': '#ccccff',
'removePlugins': 'forms,templates,smiley,pagebreak,save,newpage,preview,print',
'height': '300px',
['Link', 'Unlink', 'Anchor'],
['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'],
'/',
- ['Styles', 'Format', 'Font', 'FontSize'],
+ ['Styles', 'Font', 'FontSize'],
['TextColor', 'BGColor'],
['Maximize', 'ShowBlocks']
]
<fieldset id="~name attr~"><legend>~caption html~</legend><!--~}~--><!--~end_fieldset {~-->
</fieldset><!--~}~--><!--~image {~-->
<div class="caption">~caption html~</div>
+ <!--~~~name~ once_if {~~--><div class="field_notes">You can use this to update/replace the existing image. To keep the existing image, skip this field.</div><!--~~}~~-->
<div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~file {~-->
<div class="caption">~caption html~</div>
+ <!--~~~name~ once_if {~~--><div class="field_notes">You can use this to update/replace the existing file. To keep the existing file, skip this field.</div><!--~~}~~-->
<div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~textbox {~-->
<div class="caption">~caption html~</div>
<div class="field"><input type="text" name="~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~email {~-->
<div class="field"><!--~options {~-->
<input type="radio" name="~name~" value="~~~name~ radio_~i~~~" id="~name~_~i~_radio"><label for="~name~_~i~_radio"> ~option_caption html~</label><br><!--~}~-->
</div><!--~}~--><!--~checkbox {~-->
- <div class="caption"><input type="checkbox" name="~name~~~~name~ checked~~" id="~name~_checkbox"><label for="~name~_checkbox"> ~caption html~</label></div>
- <div class="field"></div><!--~}~--><!--~submit {~-->
- <div class="caption"></div>
- <div class="field"><input type="submit" name="~name~" value="~caption attr~"></div><!--~}~-->
+ <div class="caption field"><input type="checkbox" name="~name~~~~name~ checked~~" id="~name~_checkbox"><label for="~name~_checkbox"> ~caption html~</label></div><!--~}~--><!--~submit {~-->
+ <div class="caption field"><input type="submit" name="~name~" value="~caption attr~"></div><!--~}~-->
<!--~}~-->
</form><!--~opt_listing {~-->