Procházet zdrojové kódy

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4026 a333f486-631f-4898-b8df-5754b55c2be0
romainq před 9 roky
rodič
revize
b0b9ccc85c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      pages/preferences.php

+ 2 - 1
pages/preferences.php

@@ -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();