Browse Source

Update inc_fun_funAdmin.php

tags/6.2.7
叙述、别离 1 year ago
parent
commit
7555b95700
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/inc/inc_fun_funAdmin.php

+ 2
- 2
src/system/inc/inc_fun_funAdmin.php View File

@@ -123,7 +123,7 @@ function jsScript($js)
return $out;
}
/**
* 获取修改器
* 获取富文本
*
* @access public
* @param string $fname 表单名称
@@ -157,7 +157,7 @@ function SpGetEditor($fname, $fvalue, $nheight = "350", $etype = "Basic", $gtype
}
$code = <<<EOT
<script src="{$GLOBALS['cfg_static_dir']}/ckeditor/ckeditor.js"></script>
<textarea id="{$fname}" name="{$fname}" rows="8" cols="60">{$fvalue}</textarea>
<textarea id="{$fname}" name="{$fname}">{$fvalue}</textarea>
<script>var editor = CKEDITOR.replace('{$fname}'{$addConfig});</script>
EOT;
if ($gtype == "print") {


Loading…
Cancel
Save