} break; case "links": include_once 'includes/Page.LinksZZZZ.class.php'; $linkspage = new LinksPage($group_name); $links_allow_rating = $group->moduleOptions_getLinksAllowRating(); $links_allow_comments = $group->moduleOptions_getLinksAllowComments(); $links_allow_digg = $group->moduleOptions_getLinksAllowDigg(); $links_allow_reddit = $group->moduleOptions_getLinksAllowReddit(); $links_allow_delicious = $group->moduleOptions_getLinksAllowDelicious(); if ($allow_photos && ($access_isGroupMember || $open_photos)) { $isok = true; $isok_content[] = array("Links", $linkspage->getLinks()); $extra_head .= $linkspage->getExtraHead(); $ajax_functions .= $linkspage->getAjaxFunctions(); $to_register = $linkspage->getFunctionsToRegister(); foreach ($to_register as $r) { sajax_export($r); } } break; case "wiki": include_once 'includes/Page.WikiZZZZZZZ.class.php'; /** * ATTENTION:::::::::: * Notice that we call this function first, instead of * putting it inside addBlock function * This is because wjhen there exists no page;ÃÂ this function * produces first content... * So if we don't call it first, then getLinks * will return wrong value..