Revision 646
Added by thorn almost 17 years ago
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.