From: Roland Haeder Date: Fri, 4 Mar 2016 20:32:09 +0000 (+0100) Subject: Introduced new template + renamed language constant + form field: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=837c592fede526ec14fe3866b725307af87cf753;p=addressbook-war.git Introduced new template + renamed language constant + form field: - introduced login_enter_current_password.tpl to reduce redundant template code - changed language string to reflect it's purpose (current password) - renamed form field "password" to "currentPassword" to reflect it's purpose, too --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 33571d36..fa62ad34 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -280,7 +280,7 @@ LINK_LOGIN_CHANGE_PASSWORD=Ihr Passwort aendern LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND=Bitte derzeitiges Passwort zur Bestaetigung eingeben: #TODO: Please fix German umlaut! LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND_TITLE=Bitte geben Sie ihr derzeitiges Passwort zur Bestaetigung der Aenderungen ein. -LOGIN_ENTER_PASSWORD_CONFIRM=Derzeitiges Passwort: +LOGIN_ENTER_CURRENT_PASSWORD_CONFIRM=Derzeitiges Passwort: #TODO: Please fix German umlaut! BUTTON_CHANGE_PERSONAL_DATA=Persoenliche Daten aendern #TODO: Please fix German umlaut! diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 1df34b92..59bc76f0 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -267,6 +267,6 @@ LINK_LOGIN_CHANGE_EMAIL_ADDRESS=Change your email address LINK_LOGIN_CHANGE_PASSWORD=Change your password LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND=Your current password for confirmation: LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND_TITLE=Please enter your current password for confirmation of the change. -LOGIN_ENTER_PASSWORD_CONFIRM=Current password: +LOGIN_ENTER_CURRENT_PASSWORD_CONFIRM=Current password: BUTTON_CHANGE_PERSONAL_DATA=Change personal data LOGIN_CHANGE_PERSONAL_DATA_TITLE=Change personal data: diff --git a/web/WEB-INF/templates/login/login_enter_current_password.tpl b/web/WEB-INF/templates/login/login_enter_current_password.tpl new file mode 100644 index 00000000..b218c729 --- /dev/null +++ b/web/WEB-INF/templates/login/login_enter_current_password.tpl @@ -0,0 +1,24 @@ + + + +
+
+ #{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND} +
+
+ +
+ +
+ +
+ +
+
+
+
+
diff --git a/web/login/login_change_email_address.xhtml b/web/login/login_change_email_address.xhtml index 8c40bab5..2c9a84b3 100644 --- a/web/login/login_change_email_address.xhtml +++ b/web/login/login_change_email_address.xhtml @@ -55,22 +55,7 @@ -
-
- #{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND} -
-
- -
- -
- -
- -
-
-
-
+