array()); SimpleSAML_Module::callHooks('frontpage', $links); # echo('
'); print_r($links); exit;
$portalConfig = SimpleSAML_Configuration::getOptionalConfig('module_portal.php');
$allLinks = array();
foreach($links AS $ls) {
$allLinks = array_merge($allLinks, $ls);
}
$pagesets = $portalConfig->getValue('pagesets', array(
array('frontpage_welcome', 'frontpage_config', 'frontpage_auth', 'frontpage_federation'),
));
SimpleSAML_Module::callHooks('portalextras', $pagesets);
$portal = new sspmod_portal_Portal($allLinks, $pagesets);
if (!$portal->isPortalized($hookinfo['page'])) return;
#print_r($portal->getMenu($hookinfo['page'])); exit;
// Include jquery UI CSS files in header.
$hookinfo['jquery']['css'] = TRUE;
$hookinfo['jquery']['version'] = '1.6';
// Header
$hookinfo['pre'][] = '';
}