Skip to content
Snippets Groups Projects
Commit 2bfac22d authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Adding link to front page for LDAP status module.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1159 44740490-163a-0410-bde0-09ae8108e29a
parent 7335287b
No related branches found
No related tags found
No related merge requests found
<?php
/**
* Hook to add the modinfo module to the frontpage.
*
* @param array &$links The links on the frontpage, split into sections.
*/
function ldapstatus_hook_frontpage(&$links) {
assert('is_array($links)');
assert('array_key_exists("links", $links)');
$links['links'][] = array(
'href' => SimpleSAML_Module::getModuleURL('ldapstatus/'),
'text' => array('en' => 'LDAP Status page', 'no' => 'LDAP statusoversikt'),
);
}
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment