Revision 650
Added by thorn almost 18 years ago
| 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 | 16 |
+ Added multi-group to upgrade-script |
| 16 | 17 |
30-Jan-2008 Christian Sommer |
| 17 | 18 |
# fixed bug with text Captcha (input was restricted to 10 chars.) and a small layout issue |
| trunk/wb/admin/pages/index.php | ||
|---|---|---|
| 490 | 490 |
$query = "SELECT * FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' AND visibility!='deleted' ORDER BY position ASC"; |
| 491 | 491 |
$get_pages = $database->query($query); |
| 492 | 492 |
while($page = $get_pages->fetchRow()) {
|
| 493 |
if($admin->page_is_visible($page)==false) |
|
| 494 |
continue; |
|
| 493 | 495 |
// Stop users from adding pages with a level of more than the set page level limit |
| 494 | 496 |
if($page['level']+1 < PAGE_LEVEL_LIMIT) {
|
| 495 | 497 |
// Get user perms |
Also available in: Unified diff
admin/pages: the parent dropdown-list showed foreign private pages, too. Fixed.