Project

General

Profile

« Previous | Next » 

Revision 1032

Added by Matthias almost 15 years ago

Fixed two bugs in droplets-plugin for FCKEditor (thanks to Aldus)

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
04-July-2009 Matthias Gallas
15
#	Fixed two bugs in droplets-plugin for FCKEditor (thanks to Aldus)
15 16
!	Changed Template from FCKEditor plugin WBModules to .htt
16 17
+	Added Droplets plugin to FCKEditor (ticket #737) (Big Thanks to vizmotion)
17 18
03-July-2009 Matthias Gallas
trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBDroplets/fck_wbdroplets.php
41 41
$get_droplet = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_droplets where active=1 ORDER BY name");
42 42
if($get_droplet->numRows() > 0) {
43 43
	// Loop through pages
44
	$list = "";
44 45
	while($droplet = $get_droplet->fetchRow()) {
45 46
		// method page_is_visible was introduced with WB 2.7
46 47
		$title = stripslashes($droplet['name']);
......
56 57
	$template->parse('page_list', 'page_list_block', false);
57 58
}
58 59
$template->set_var('LIST', $list);
60
$template->set_var("CHARSET", defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8' );
59 61

  
60 62
// Parse the template object
61 63
$template->parse('main', 'main_block', false);

Also available in: Unified diff