";
footer();
exit(0);
}
$feds = $user->getAttributes("user:fedadmin");
foreach ($feds as $onefed) {
$thefed = new Federation(strtoupper($onefed['value']));
?>
identifier)); ?>
identifier)];
?>
getAttributes(), "fed", "FED");
?>
identifier)); ?>
listIdentityProviders(0)); ?>
listIdentityProviders(1)); ?>
identifier, TRUE); ?>
invalidateToken($_POST['invitation_id']);
}
if (isset($_GET['invitation'])) {
echo "
";
if ($_GET['invitation'] == "SUCCESS")
echo UI_remark(_("The invitation email was sent successfully."), _("The invitation email was sent."));
else if ($_GET['invitation'] == "FAILURE")
echo UI_error(_("The invitation email could not be sent!"), _("The invitation email could not be sent!"));
else
echo UI_error(_("Error: unknown result code of invitation!?!"), _("Unknown result!"));
echo "
";
}
if (Config::$CONSORTIUM['name'] == 'eduroam')
$helptext = "
" . sprintf(_("Need help? Refer to the Federation Operator manual"),"https://wiki.geant.org/x/KQB_AQ")."
";
else
$helptext = "";
echo $helptext;
?>
getAttributes("user:fedadmin");
$pending_invites = $mgmt->listPendingInvitations();
if (Config::$DB['enforce-external-sync'])
echo "
";
// external DB sync, if configured as being necessary
if (Config::$DB['enforce-external-sync']) {
if ($idp_instance->getExternalDBSyncState() != EXTERNAL_DB_SYNCSTATE_NOTSUBJECTTOSYNCING) {
echo "
";
echo "";
echo "
";
}
}
// admin management
echo "
";
// end of entry
echo "
";
}
if ($display_pendings) {
echo "
" .
_("Pending invitations in your federation:") . "
";
foreach ($pending_invites as $oneinvite)
if (strtoupper($oneinvite['country']) == strtoupper($thefed->identifier)) {
echo "