Project

General

Profile

« Previous | Next » 

Revision 651

Added by thorn over 16 years ago

Fixed parent dropdown in admin/pages/settings.php, too.

View differences:

trunk/CHANGELOG
12 12

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

Also available in: Unified diff