<script>
function make_wysiwyg(name) {
CKEDITOR.replace(name, {
- 'contentsCss': 'style.css?m=~style.css mtime~',
+ 'contentsCss': 'css.css?m=~~css.css mtime~~',
'allowedContent': true,
bodyId: '~$basename~' + '_wysiwyg_' + name,
'stylesSet': [
<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 {~-->