The function called by phpfckeditor. Copy the code as follows: ** the showfck () editor calls the function * @ name (required) * @ valvalue default * @ toolbarsetfck toolbar name * @ width * @ height
The code is as follows:
/*
* The showfck () editor calls a function.
* @ Name (required)
* @ Val value default value
* @ Toolbarset fck toolbar name
* @ Width
* @ Height
*/
Function showfck ($ name, $ val = '', $ toolbarset ='', $ width = '000000', $ height = '000000 '){
$ Classname = 'fckname ';
Echo"
";
Require_once WEB_ROOT. './include/fckeditor. php ';
$ Fck = new FCKeditor ($ name );
$ Fck-> BasePath = './include/fckeditor /';
$ Fck-> Config ['customconfigurationspath'] = $ fck-> BasePath. 'custom_config. js ';
$ Fck-> ToolbarSet = $ toolbarset;
$ Fck-> Value = $ val;
$ Fck-> Width = $ width;
$ Fck-> Height = $ height;
$ Fck-> Create ('');
Echo"
";
}
The http://www.bkjia.com/PHPjc/320162.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/320162.htmlTechArticle code is as follows:/** showfck () editor calls the function * @ name (required) * @ val value default * @ toolbarset fck toolbar name * @ width * @ height...