Posted By

mail_json on 07/16/06


Tagged

fckedtor


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

xaviaracil
vali29
skywalker


create fckeditor


 / Published in: PHP
 

  1. function wysiwyg_textarea($name, $value, $config = "NukeUser", $cols = 50, $rows = 10) {
  2. global $advanced_editor;
  3. # Don't waste bandwidth by loading WYSIWYG editor for crawlers
  4. if ($advanced_editor == 0 or !isset($_COOKIE)) {
  5. echo "<textarea name=\"$name\" cols=\"$cols\" rows=\"$rows\">$value

Report this snippet  

You need to login to post a comment.