Project

General

Profile

« Previous | Next » 

Revision 651

Added by thorn almost 17 years ago

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

View differences:

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