Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 818)
+++ trunk/CHANGELOG	(revision 819)
@@ -11,7 +11,9 @@
 ! = Update/Change
 
 ------------------------------------- 2.7.0 -------------------------------------
-07-Apr-2008 Christian Sommer
+10-Apr-2008 Christian Sommer
+!	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
+09-Apr-2008 Christian Sommer
 !	modified FCKEditor WB-Link Plugin to work also with WB versions below 2.7
 07-Apr-2008 Matthias Gallas
 #	fixed error in german laguage file
Index: trunk/wb/modules/fckeditor/info.php
===================================================================
--- trunk/wb/modules/fckeditor/info.php	(revision 818)
+++ trunk/wb/modules/fckeditor/info.php	(revision 819)
@@ -26,7 +26,9 @@
   Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
 	Started to track applied changes in info.php from 27.03.2007 onwards (cs)
  -----------------------------------------------------------------------------------------------------------
-	
+	v2.85 (doc.. Christian Sommer; Apr 10, 2008)
+		+	fixed WB-Link Plugin to work with WB versions below 2.7 ($admin->page_is_visible() only available in WB 2.7)
+
 	v2.84 (doc.. Christian Sommer; Apr 7, 2008)
 		+ update to FCKEditor release v2.6
 	
@@ -106,7 +108,7 @@
 $module_directory		= 'fckeditor';
 $module_name				= 'FCKeditor';
 $module_function		= 'WYSIWYG';
-$module_version			= '2.84';
+$module_version			= '2.85';
 $module_platform		= '2.6.x';
 $module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper';
 $module_license 		= 'GNU General Public License';
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php	(revision 818)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php	(revision 819)
@@ -40,7 +40,8 @@
 	global $template, $database, $admin;
 	$get_pages = $database->query("SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent'");
 	while($page = $get_pages->fetchRow()) {
-		if(!$admin->page_is_visible($page))
+		// method page_is_visible was introduced with WB 2.7
+		if(method_exists($admin, 'page_is_visible') && !$admin->page_is_visible($page))
 			continue;
 		$title = stripslashes($page['menu_title']);
 		// Add leading -'s so we can tell what level a page is at
