You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.8 KiB
PHP
32 lines
1.8 KiB
PHP
<SCRIPT LANGUAGE="JavaScript">
|
|
var editor;
|
|
KindEditor.ready(function(K) {
|
|
editor = K.create('#isd_html', {
|
|
width: '100%',
|
|
height: '800px',
|
|
allowImageUpload: false,
|
|
filterMode: false,
|
|
items: [
|
|
'source', '|', 'undo', 'redo', '|', 'preview', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|',
|
|
'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|',
|
|
'clearhtml', 'quickformat', 'removeformat', 'selectall', '/', 'fullscreen', '|',
|
|
'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
|
|
'italic', 'underline', 'strikethrough', 'lineheight', '|', 'table', 'hr', 'emoticons', 'image', 'map', 'pagebreak',
|
|
'link', 'unlink', '|', 'about'
|
|
]
|
|
});
|
|
});
|
|
</script>
|
|
<div class="row-fluid">
|
|
<div class="span1"></div>
|
|
<div class="span10">
|
|
<form id="form_edit_title_box" name="form_edit_title_box" method="post" action="<?php echo site_url('infoshare/update') ?>">
|
|
<input type="text" class="span6" name="isd_title" id="isd_title" value="<?php echo $infoshare->isd_title; ?>" />
|
|
<textarea id="isd_html" name="isd_html" class="infoCon"><?php echo $infoshare->isd_html; ?></textarea>
|
|
<textarea name="isd_memo" class="span12" id="isd_memo" rows="8"><?php echo $infoshare->isd_memo; ?></textarea>
|
|
<input type="hidden" name="isd_id" id="isd_id" value="<?php echo $infoshare->isd_id; ?>" />
|
|
</form>
|
|
<a class="btn btn-primary btn-large pull-right" href="javascript:void(0);" onclick="editor.sync();submitForm('form_edit_title_box')" >提交保存</a>
|
|
</div>
|
|
<div class="span1"></div>
|
|
</div>
|