#185 Navigation Breadcrumb - Do not generate new entries for "Preferences..." when the user is tuning the language

SVN:trunk[4026]
This commit is contained in:
Romain Quetiez
2016-05-04 07:51:06 +00:00
parent 79f73256d7
commit 0e25c9a7a1

View File

@@ -305,7 +305,7 @@ LoginWebPage::DoLogin(); // Check user rights and prompt if needed
$iStep = utils::ReadParam('step', 1);
$oPage = new iTopWebPage(Dict::S('UI:Preferences'));
$oPage->DisableBreadCrumb();
$sOperation = utils::ReadParam('operation', '');
try
@@ -351,6 +351,7 @@ try
case 'display':
default:
$oPage->SetBreadCrumbEntry('ui-tool-preferences', Dict::S('UI:Preferences'), Dict::S('UI:Preferences'), '', utils::GetAbsoluteUrlAppRoot().'images/wrench.png');
DisplayPreferences($oPage);
}
$oPage->output();