From: Roland Häder Date: Fri, 22 Apr 2016 14:20:11 +0000 (+0200) Subject: Continued with rewriting: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1539baf31e4b2d54f23544e87a50fb35d0aacaca;p=jjobs-war.git Continued with rewriting: - rewrote to ContactUtils.updateFooNumber() - added missing attributes for above functions - added check for contactId against null - fixed converter (must be ContactConverter) + instance from helper - edit_contact title is now a pattern with id number as only parameter - adminUserController was wrong, use adminContactController for contact-relevant stuff - added missing i18n strings Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 35f542a1..ad9c2680 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -484,3 +484,5 @@ BUTTON_ADMIN_EDIT_USER=Benutzerdaten \u00e4ndern ADMIN_EDIT_USER_TITLE=Benutzerdaten editieren ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE=Wenn Sie das Passwort \u00e4ndern wollen, m\u00fcssen Sie es zweimal eingeben, anderfalls beide leer lassen. ERROR_PARAMETER_MODE_NOT_SET=Fehler: Parameter 'modus' nicht gesetzt. +ADMIN_EDIT_CONTACT_TITLE=Kontaktdaten editieren (Id-Nummer: {0}) +BUTTON_ADMIN_EDIT_CONTACT=Kontaktdaten \u00e4ndern diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 1b90fabb..368a21ef 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -458,3 +458,5 @@ BUTTON_ADMIN_EDIT_USER=Change user data ADMIN_EDIT_USER_TITLE=Edit user data ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE=If you want to change the password, enter it twice, otherwise leave both empty. ERROR_PARAMETER_MODE_NOT_SET=Error: Parameter 'modus' is not set. +ADMIN_EDIT_CONTACT_TITLE=Edit contact data (id number: {0}) +BUTTON_ADMIN_EDIT_CONTACT=Change contact data diff --git a/web/admin/contact/admin_contact_edit.xhtml b/web/admin/contact/admin_contact_edit.xhtml index 386f9ea2..d2e7ea01 100644 --- a/web/admin/contact/admin_contact_edit.xhtml +++ b/web/admin/contact/admin_contact_edit.xhtml @@ -26,7 +26,9 @@
- #{msg.ADMIN_EDIT_CONTACT_TITLE} + + +
@@ -39,7 +41,7 @@