Revision 646
Added by thorn over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
| 14 | 14 |
30-Jan-2008 Thomas Hornik |
| 15 |
# registered pages didn't appear in menu. fixed. |
|
| 15 | 16 |
! Updated upgrade-script. (Some upgrades still missing) |
| 16 | 17 |
29-Jan-2008 Thomas Hornik |
| 17 | 18 |
# strtotime()'s behavior differ in PHP4 and PHP5. |
| trunk/wb/framework/class.frontend.php | ||
|---|---|---|
| 350 | 350 |
if($this->page_is_active($page)==false && $page['link']!=$this->default_link && !INTRO_PAGE) {
|
| 351 | 351 |
continue; // no active sections |
| 352 | 352 |
} |
| 353 |
if($this->page_is_visible($page)==false) |
|
| 354 |
continue; |
|
| 353 |
if($this->page_is_visible($page)==false) {
|
|
| 354 |
if($page['visibility'] != 'registered') // special case: page_to_visible() check wheter to show the page contents, but the menu should be visible allways |
|
| 355 |
continue; |
|
| 356 |
} |
|
| 355 | 357 |
// Create vars |
| 356 | 358 |
$vars = array('[class]','[a]', '[/a]', '[menu_title]', '[page_title]');
|
| 357 | 359 |
// Work-out class |
Also available in: Unified diff
registered pages didn't appear in menu. fixed.