From ca68d31b7db1f790c52fe45614bc4b6a0eabfe27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 25 Apr 2017 13:21:53 +0200 Subject: [PATCH] Please cherry-pick: - WARNING: You have to update project name, maybe one day this will be moved out to properties file? - updated templates as they are long out-dated - added missing templates, a lot new has been added MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../AddressbookMobileNumberConverter.java} | 10 +- web/WEB-INF/templates/admin/admin_base.tpl | 8 +- web/WEB-INF/templates/admin/admin_footer.tpl | 1 + web/WEB-INF/templates/admin/admin_menu.tpl | 28 ++- .../cellphone/admin_cellphone_add_show.tpl | 15 +- .../admin/cellphone/admin_cellphone_data.tpl | 14 +- .../admin/cellphone/admin_cellphone_links.tpl | 17 +- .../contact/admin_contact_data_columns.tpl | 118 ++++++++++++ .../admin_contact_data_columns_mini.tpl | 41 +++++ .../admin/contact/admin_contact_data_mini.tpl | 33 ++++ .../admin/contact/admin_contact_links.tpl | 47 ++--- .../admin/contact/admin_form_contact_data.tpl | 107 +++++++---- .../admin/contact/admin_show_contact_data.tpl | 17 ++ .../admin/country/admin_form_country_data.tpl | 38 +++- .../admin/fax/admin_fax_add_show.tpl | 22 +++ .../templates/admin/fax/admin_fax_data.tpl | 62 +++++++ .../templates/admin/fax/admin_fax_links.tpl | 51 ++++++ .../admin/fax/admin_form_add_contact_fax.tpl | 76 ++++++++ .../admin/fax/admin_form_fax_data.tpl | 56 ++++++ .../admin_form_add_contact_landline.tpl | 76 ++++++++ .../landline/admin_form_landline_data.tpl | 56 ++++++ .../landline/admin_landline_add_show.tpl | 22 +++ .../admin/landline/admin_landline_data.tpl | 62 +++++++ .../admin/landline/admin_landline_links.tpl | 51 ++++++ .../mobile/admin_form_add_contact_mobile.tpl | 64 +++++++ .../admin/mobile/admin_form_mobile_data.tpl | 15 +- .../admin/mobile/admin_mobile_data.tpl | 71 ++++++++ .../admin_form_mobile_provider.tpl | 10 +- .../admin/user/admin_form_user_data.tpl | 17 +- .../user/admin_form_user_personal_data.tpl | 4 - .../admin/user/admin_show_user_data.tpl | 74 ++++++++ .../admin/user/admin_show_user_data_mini.tpl | 50 ++++++ .../templates/admin/user/admin_user_links.tpl | 103 ++++++----- web/WEB-INF/templates/base.tpl | 24 +-- .../templates/contact/form_contact_data.tpl | 168 ++++++++++-------- web/WEB-INF/templates/generic/message_box.tpl | 6 +- web/WEB-INF/templates/guest/guest_footer.tpl | 2 +- web/WEB-INF/templates/guest/guest_menu.tpl | 8 +- .../templates/guest/guest_privacy_terms.tpl | 6 +- .../input_fields/fax_input_fields.tpl | 30 ++++ .../input_fields/landline_input_fields.tpl | 30 ++++ .../input_fields/mobile_input_fields.tpl | 26 +++ .../templates/login/user/user_base.tpl | 1 - ...ser_change_email_address_repeat_fields.tpl | 14 +- .../user/user_enter_current_password.tpl | 40 ++--- .../templates/login/user/user_footer.tpl | 3 +- .../templates/login/user/user_menu.tpl | 38 ++-- .../templates/user/user_not_logged_in.tpl | 6 +- .../templates/user/user_profile_link.tpl | 7 +- web/WEB-INF/templates/user/userid_error.tpl | 6 +- .../mobile/admin_contact_mobile_unlink.xhtml | 2 +- 51 files changed, 1548 insertions(+), 305 deletions(-) rename src/java/org/mxchange/addressbook/converter/{cellphone/AddressbookCellphoneConverter.java => mobile/AddressbookMobileNumberConverter.java} (93%) create mode 100644 web/WEB-INF/templates/admin/contact/admin_contact_data_columns.tpl create mode 100644 web/WEB-INF/templates/admin/contact/admin_contact_data_columns_mini.tpl create mode 100644 web/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl create mode 100644 web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl create mode 100644 web/WEB-INF/templates/admin/fax/admin_fax_add_show.tpl create mode 100644 web/WEB-INF/templates/admin/fax/admin_fax_data.tpl create mode 100644 web/WEB-INF/templates/admin/fax/admin_fax_links.tpl create mode 100644 web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl create mode 100644 web/WEB-INF/templates/admin/fax/admin_form_fax_data.tpl create mode 100644 web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl create mode 100644 web/WEB-INF/templates/admin/landline/admin_form_landline_data.tpl create mode 100644 web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl create mode 100644 web/WEB-INF/templates/admin/landline/admin_landline_data.tpl create mode 100644 web/WEB-INF/templates/admin/landline/admin_landline_links.tpl create mode 100644 web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl create mode 100644 web/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl create mode 100644 web/WEB-INF/templates/admin/user/admin_show_user_data.tpl create mode 100644 web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl create mode 100644 web/WEB-INF/templates/input_fields/fax_input_fields.tpl create mode 100644 web/WEB-INF/templates/input_fields/landline_input_fields.tpl create mode 100644 web/WEB-INF/templates/input_fields/mobile_input_fields.tpl diff --git a/src/java/org/mxchange/addressbook/converter/cellphone/AddressbookCellphoneConverter.java b/src/java/org/mxchange/addressbook/converter/mobile/AddressbookMobileNumberConverter.java similarity index 93% rename from src/java/org/mxchange/addressbook/converter/cellphone/AddressbookCellphoneConverter.java rename to src/java/org/mxchange/addressbook/converter/mobile/AddressbookMobileNumberConverter.java index f9576c05..32119bff 100644 --- a/src/java/org/mxchange/addressbook/converter/cellphone/AddressbookCellphoneConverter.java +++ b/src/java/org/mxchange/addressbook/converter/mobile/AddressbookMobileNumberConverter.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.converter.cellphone; +package org.mxchange.addressbook.converter.mobile; import java.text.MessageFormat; import javax.faces.component.UIComponent; @@ -31,12 +31,12 @@ import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jphone.phonenumbers.phone.PhoneSessionBeanRemote; /** - * Converter for cellphone id <-> valid cellphone instance + * Converter for mobile id <-> valid mobile instance *

* @author Roland Häder */ -@FacesConverter (value = "CellphoneConverter") -public class AddressbookCellphoneConverter implements Converter { +@FacesConverter (value = "MobileNumbnerConverter") +public class AddressbookMobileNumberConverter implements Converter { /** * Phone EJB @@ -46,7 +46,7 @@ public class AddressbookCellphoneConverter implements Converter { /** * Initialization of this converter */ - public AddressbookCellphoneConverter () { + public AddressbookMobileNumberConverter () { // Try to get it try { // Get initial context diff --git a/web/WEB-INF/templates/admin/admin_base.tpl b/web/WEB-INF/templates/admin/admin_base.tpl index 029bfc66..92dc3d0a 100644 --- a/web/WEB-INF/templates/admin/admin_base.tpl +++ b/web/WEB-INF/templates/admin/admin_base.tpl @@ -1,3 +1,7 @@ + + Administration - Default admin title - - diff --git a/web/WEB-INF/templates/admin/admin_footer.tpl b/web/WEB-INF/templates/admin/admin_footer.tpl index 6aa4abef..e8c6756d 100644 --- a/web/WEB-INF/templates/admin/admin_footer.tpl +++ b/web/WEB-INF/templates/admin/admin_footer.tpl @@ -3,6 +3,7 @@ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> +

diff --git a/web/WEB-INF/templates/guest/guest_menu.tpl b/web/WEB-INF/templates/guest/guest_menu.tpl index 13cd78a3..a2ab5b59 100644 --- a/web/WEB-INF/templates/guest/guest_menu.tpl +++ b/web/WEB-INF/templates/guest/guest_menu.tpl @@ -15,9 +15,15 @@
  • + + + +
    • - +
    diff --git a/web/WEB-INF/templates/guest/guest_privacy_terms.tpl b/web/WEB-INF/templates/guest/guest_privacy_terms.tpl index fe656323..a3807770 100644 --- a/web/WEB-INF/templates/guest/guest_privacy_terms.tpl +++ b/web/WEB-INF/templates/guest/guest_privacy_terms.tpl @@ -23,8 +23,7 @@ - - + #{msg.GUEST_AGREE_READ_PRIVACY_STATEMENT_2}
    @@ -46,8 +45,7 @@ - - + #{msg.GUEST_AGREE_READ_TERMS_CONDITIONS_2}
    diff --git a/web/WEB-INF/templates/input_fields/fax_input_fields.tpl b/web/WEB-INF/templates/input_fields/fax_input_fields.tpl new file mode 100644 index 00000000..12552ce7 --- /dev/null +++ b/web/WEB-INF/templates/input_fields/fax_input_fields.tpl @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/input_fields/landline_input_fields.tpl b/web/WEB-INF/templates/input_fields/landline_input_fields.tpl new file mode 100644 index 00000000..536bfecc --- /dev/null +++ b/web/WEB-INF/templates/input_fields/landline_input_fields.tpl @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/input_fields/mobile_input_fields.tpl b/web/WEB-INF/templates/input_fields/mobile_input_fields.tpl new file mode 100644 index 00000000..4ed66357 --- /dev/null +++ b/web/WEB-INF/templates/input_fields/mobile_input_fields.tpl @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/login/user/user_base.tpl b/web/WEB-INF/templates/login/user/user_base.tpl index 12ea9db4..f31190a0 100644 --- a/web/WEB-INF/templates/login/user/user_base.tpl +++ b/web/WEB-INF/templates/login/user/user_base.tpl @@ -13,7 +13,6 @@ - diff --git a/web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl b/web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl index 72a423da..f138ece7 100644 --- a/web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl +++ b/web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl @@ -18,6 +18,10 @@
    + + + +
    @@ -30,13 +34,9 @@
    - - -
    - -
    -
    - + + +
    diff --git a/web/WEB-INF/templates/login/user/user_enter_current_password.tpl b/web/WEB-INF/templates/login/user/user_enter_current_password.tpl index 06ce59b3..15dda796 100644 --- a/web/WEB-INF/templates/login/user/user_enter_current_password.tpl +++ b/web/WEB-INF/templates/login/user/user_enter_current_password.tpl @@ -5,29 +5,29 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> -
    -
    - - - +
    +
    + + + -
    -
    - -
    +
    +
    + +
    -
    - - - -
    +
    + + + +
    -
    +
    -
    - + + +
    -
    -
    -
    +
    +
    diff --git a/web/WEB-INF/templates/login/user/user_footer.tpl b/web/WEB-INF/templates/login/user/user_footer.tpl index 73d6d5e7..f5299b62 100644 --- a/web/WEB-INF/templates/login/user/user_footer.tpl +++ b/web/WEB-INF/templates/login/user/user_footer.tpl @@ -4,6 +4,7 @@ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + diff --git a/web/WEB-INF/templates/login/user/user_menu.tpl b/web/WEB-INF/templates/login/user/user_menu.tpl index c07943f6..e37eafa7 100644 --- a/web/WEB-INF/templates/login/user/user_menu.tpl +++ b/web/WEB-INF/templates/login/user/user_menu.tpl @@ -8,7 +8,7 @@