-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23d25a5
commit d09f5b8
Showing
5 changed files
with
471 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<?php | ||
|
||
/** | ||
* Hook to add the modinfo module to the frontpage. | ||
* | ||
* @param array &$links The links on the frontpage, split into sections. | ||
* @param array &$links The links on the frontpage, split into sections. | ||
*/ | ||
function aa_hook_frontpage(&$links) { | ||
assert('is_array($links)'); | ||
assert('array_key_exists("links", $links)'); | ||
function aa_hook_frontpage(&$links) | ||
{ | ||
assert('is_array($links)'); | ||
assert('array_key_exists("links", $links)'); | ||
|
||
$links['federation'][] = array( | ||
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'), | ||
'text' => '{aa:aa:text}', | ||
); | ||
$links['federation'][] = array( | ||
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'), | ||
'text' => '{aa:aa:text}', | ||
); | ||
} | ||
?> |
Oops, something went wrong.