Project

General

Profile

« Previous | Next » 

Revision 819

Added by doc over 16 years ago

Fixed WB-Link Plugin to work with WB versions below 2.7 (so we can use the same module for WB 2.6.x and WB 2.7)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14
07-Apr-2008 Christian Sommer
14
10-Apr-2008 Christian Sommer
15
!	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
16
09-Apr-2008 Christian Sommer
15 17
!	modified FCKEditor WB-Link Plugin to work also with WB versions below 2.7
16 18
07-Apr-2008 Matthias Gallas
17 19
#	fixed error in german laguage file
trunk/wb/modules/fckeditor/info.php
26 26
  Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
27 27
	Started to track applied changes in info.php from 27.03.2007 onwards (cs)
28 28
 -----------------------------------------------------------------------------------------------------------
29
	
29
	v2.85 (doc.. Christian Sommer; Apr 10, 2008)
30
		+	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
31

  
30 32
	v2.84 (doc.. Christian Sommer; Apr 7, 2008)
31 33
		+ update to FCKEditor release v2.6
32 34
	
......
106 108
$module_directory		= 'fckeditor';
107 109
$module_name				= 'FCKeditor';
108 110
$module_function		= 'WYSIWYG';
109
$module_version			= '2.84';
111
$module_version			= '2.85';
110 112
$module_platform		= '2.6.x';
111 113
$module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper';
112 114
$module_license 		= 'GNU General Public License';
trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php
40 40
	global $template, $database, $admin;
41 41
	$get_pages = $database->query("SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent'");
42 42
	while($page = $get_pages->fetchRow()) {
43
		if(!$admin->page_is_visible($page))
43
		// method page_is_visible was introduced with WB 2.7
44
		if(method_exists($admin, 'page_is_visible') && !$admin->page_is_visible($page))
44 45
			continue;
45 46
		$title = stripslashes($page['menu_title']);
46 47
		// Add leading -'s so we can tell what level a page is at

Also available in: Unified diff