Config: use app_icon_url to change the hyperlink used when clicking on the main icon

SVN:trunk[2289]
This commit is contained in:
Romain Quetiez
2012-10-18 10:17:49 +00:00
parent 7d5e2637c4
commit c9d5743c4a
4 changed files with 16 additions and 4 deletions

View File

@@ -51,7 +51,8 @@ switch($sLoginMode)
}
$oPage = new LoginWebPage();
$sVersionShort = Dict::Format('UI:iTopVersion:Short', ITOP_VERSION);
$oPage->add("<div id=\"login-logo\"><a href=\"http://www.combodo.com/itop\"><img title=\"$sVersionShort\" src=\"../images/itop-logo-external.png\"></a></div>\n");
$sIconUrl = Utils::GetConfig()->Get('app_icon_url');
$oPage->add("<div id=\"login-logo\"><a href=\"".htmlentities($sIconUrl, ENT_QUOTES, 'UTF-8')."\"><img title=\"$sVersionShort\" src=\"../images/itop-logo-external.png\"></a></div>\n");
$oPage->add("<div id=\"login\">\n");
$oPage->add("<h1>".Dict::S('UI:LogOff:ThankYou')."</h1>\n");