Revision: 493
Updated Code
at July 16, 2006 09:54 by mail_json
Updated Code
function wysiwyg_textarea($name, $value, $config = "NukeUser", $cols = 50, $rows = 10) { global $advanced_editor; # Don't waste bandwidth by loading WYSIWYG editor for crawlers if ($advanced_editor == 0 or !isset($_COOKIE)) { echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value
Revision: 492
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 16, 2006 09:51 by mail_json
Initial Code
function wysiwyg_textarea($name, $value, $config = "NukeUser", $cols = 50, $rows = 10) { global $advanced_editor; # Don't waste bandwidth by loading WYSIWYG editor for crawlers if ($advanced_editor == 0 or !isset($_COOKIE)) { echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value</textarea>"; } else { @include_once(INCLUDE_PATH."includes/FCKeditor/fckeditor.php"); $oFCKeditor = new FCKeditor($name) ; $oFCKheight = $rows * 20; $oFCKeditor->Height = "$oFCKheight"; $oFCKeditor->ToolbarSet = "$config" ; $oFCKeditor->InstanceName = "$name" ; $oFCKeditor->Value = "$value" ; $oFCKeditor->Create() ; } }
Initial URL
Initial Description
Initial Title
create fckeditor
Initial Tags
Initial Language
PHP