Project

General

Profile

« Previous | Next » 

Revision 1108

Added by Matthias over 15 years ago

Fixed again some bugs in news modul (ticket #756) (Thanks to Aldus and Luisehahne)

View differences:

modify_post.php
42 42

  
43 43
if (!defined('WYSIWYG_EDITOR') OR WYSIWYG_EDITOR=="none" OR !file_exists(WB_PATH.'/modules/'.WYSIWYG_EDITOR.'/include.php')) {
44 44
	function show_wysiwyg_editor($name,$id,$content,$width,$height) {
45
		echo '<textarea name="'.$name.'" id="'.$id.'" style="width: '.$width.'; height: '.$height.';">'.$content.'</textarea>';
45
		echo '<textarea name="'.$name.'" id="'.$id.'" rows="10" cols="1" style="width: '.$width.'; height: '.$height.';">'.$content.'</textarea>';
46 46
	}
47 47
} else {
48 48
	$id_list=array("short","long");

Also available in: Unified diff