From 0ee03b745e2191faed5a5d4d55b5bff6e8623ba2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 22 Apr 2016 16:20:11 +0200 Subject: [PATCH] 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/java/org/mxchange/localization/bundle_de_DE.properties | 2 ++ src/java/org/mxchange/localization/bundle_en_US.properties | 2 ++ web/admin/contact/admin_contact_edit.xhtml | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 3ed960a6..95310d78 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -449,3 +449,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 f1c4b8aa..372eb0bb 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -422,3 +422,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 @@
-- 2.39.5