Project

General

Profile

« Previous | Next » 

Revision 0c8d552e

Added by Niels Hoffmann over 12 years ago

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/forms/password/PasswordWizardPage.java
69 69
		control.setLayout(CdmFormFactory.LAYOUT(2, false));
70 70
		WizardPageRootElement rootElement = new WizardPageRootElement(formFactory, control, getConversationHolder());
71 71
		
72
		text_oldPassword = formFactory.createTextWithLabelElement(rootElement, "Old Password", null, SWT.PASSWORD);
73
		
72
		if(!CdmStore.getLoginManager().isAdmin()){
73
			text_oldPassword = formFactory.createTextWithLabelElement(rootElement, "Old Password", null, SWT.PASSWORD);
74
		}
74 75
		text_password =  formFactory.createTextWithLabelElement(rootElement, "New Password", null, SWT.PASSWORD);
75 76
		text_passwordRepeat =  formFactory.createTextWithLabelElement(rootElement, "Repeat Password", null, SWT.PASSWORD);
76 77
		

Also available in: Unified diff