Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 650)
+++ trunk/CHANGELOG	(revision 651)
@@ -12,7 +12,7 @@
 
 ------------------------------------- 2.7.0 -------------------------------------
 31-Jan-2008 Thomas Hornik
-#	admin/pages: the parent dropdown-list showed foreign private pages, too. Fixed.
+#	admin/pages: the parent dropdown-list in index.php and settings.php showed foreign private pages, too. Fixed.
 +	Added multi-group to upgrade-script
 30-Jan-2008 Christian Sommer
 #	fixed bug with text Captcha (input was restricted to 10 chars.) and a small layout issue
Index: trunk/wb/admin/pages/settings.php
===================================================================
--- trunk/wb/admin/pages/settings.php	(revision 650)
+++ trunk/wb/admin/pages/settings.php	(revision 651)
@@ -254,6 +254,8 @@
 	$query = "SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' ORDER BY position ASC";
 	$get_pages = $database->query($query);
 	while($page = $get_pages->fetchRow()) {
+		if($admin->page_is_visible($page)==false)
+			continue;
 		// If the current page cannot be parent, then its children neither
 		$list_next_level = true;
 		// Stop users from adding pages with a level of more than the set page level limit
