* adjust the kindeditor.

This commit is contained in:
wangchunsheng
2010-09-13 08:11:44 +00:00
parent 0f21c65493
commit f3edef3a90
24 changed files with 82 additions and 60 deletions

View File

@@ -37,7 +37,7 @@ var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(function() {
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
$("#searchStories").colorbox({width:680, height:400, iframe:true, transition:'none'});
KE.show({ id:'desc', items:simpleTools }); // 富文本编辑器。
KE.show({ id:'desc', items:simpleTools, filterMode:true, imageUploadJson: createLink('file', 'ajaxUpload')});
})
</script>
@@ -56,7 +56,7 @@ $(function() {
<tr class='bd-none'><td class='bd-none'>
<fieldset>
<legend><?php echo $lang->task->desc;?></legend>
<?php echo html::textarea('desc', $task->desc, "rows='8' class='area-1'");?>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='8' class='area-1'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->comment;?></legend>