Added self-registering / user synchronization extensibility

SVN:trunk[1756]
This commit is contained in:
Denis Flaven
2012-01-11 11:17:08 +00:00
parent cf65b58981
commit f29d673ffb
3 changed files with 353 additions and 221 deletions

View File

@@ -49,7 +49,10 @@ function DisplayMainMenu(WebPage $oP)
$oP->AddMenuButton('showongoing', 'Portal:ShowOngoing', './index.php?operation=show_ongoing');
$oP->AddMenuButton('newrequest', 'Portal:CreateNewRequest', './index.php?operation=create_request');
$oP->AddMenuButton('showclosed', 'Portal:ShowClosed', './index.php?operation=show_closed');
$oP->AddMenuButton('change_pwd', 'Portal:ChangeMyPassword', './index.php?loginop=change_pwd');
if (UserRights::CanChangePassword())
{
$oP->AddMenuButton('change_pwd', 'Portal:ChangeMyPassword', './index.php?loginop=change_pwd');
}
}
/**
@@ -756,7 +759,7 @@ try
$oP = new PortalWebPage(Dict::S('Portal:Title'), $sAlternateStylesheet);
$oP->EnableDisconnectButton(true);
$oP->EnableDisconnectButton(utils::CanLogOff());
$oP->SetWelcomeMessage(Dict::Format('Portal:WelcomeUserOrg', UserRights::GetUserFriendlyName(), $oUserOrg->GetName()));
if (is_object($oUserOrg))