From: Roland Häder Date: Tue, 3 May 2016 11:45:08 +0000 (+0200) Subject: renamed controller as there are now 2 logins X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f901491aecb1b048e2dac17cf5393b80bee0a754;p=jjobs-war.git renamed controller as there are now 2 logins Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java index 1a441914..2077651e 100644 --- a/src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java @@ -100,7 +100,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC * Login controller */ @Inject - private JobsUserLoginWebSessionController loginController; + private JobsUserLoginWebSessionController userLoginController; /** * A list of all user's address books @@ -127,7 +127,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC @Override public String addAddressbook () { // Is this name already used? - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged in throw new FaceletException("This method can only be called as logged-in user."); //NOI18N } else if (this.getAddressbookName() == null) { @@ -142,7 +142,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC } // Create address book instance with name - Addressbook book = new UserAddressbook(this.getAddressbookName(), this.loginController.getLoggedInUser()); + Addressbook book = new UserAddressbook(this.getAddressbookName(), this.userLoginController.getLoggedInUser()); try { // Register this address book @@ -204,10 +204,10 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC } else if (event.getLoggedInUser()== null) { // user is null throw new NullPointerException("event.user is null"); //NOI18N - } else if (!event.getLoggedInUser().equals(this.loginController.getLoggedInUser())) { + } else if (!event.getLoggedInUser().equals(this.userLoginController.getLoggedInUser())) { // Not matching - throw new IllegalStateException("event.user and loginController.loggedInUser don't match."); //NOI18N - } else if (!this.loginController.isUserLoggedIn()) { + throw new IllegalStateException("event.user and userLoginController.loggedInUser don't match."); //NOI18N + } else if (!this.userLoginController.isUserLoggedIn()) { // Not logged in throw new FaceletException("This method can only be called as logged-in user."); //NOI18N } @@ -219,7 +219,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC @Override public List allAddressbooks () { // Is the user logged in? - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged in throw new FaceletException("This method can only be called as logged-in user."); //NOI18N } @@ -230,7 +230,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC @Override public List allEntries (final Addressbook addressbook) { // Is the user logged in? - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged in throw new FaceletException("This method can only be called as logged-in user."); //NOI18N } @@ -256,11 +256,13 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC } @Override + @SuppressWarnings ("ReturnOfDateField") public Calendar getAddressbookCreated () { return this.addressbookCreated; } @Override + @SuppressWarnings ("AssignmentToDateFieldFromParameter") public void setAddressbookCreated (final Calendar addressbookCreated) { this.addressbookCreated = addressbookCreated; } @@ -298,7 +300,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC @Override public boolean hasCreatedAddressbooks () { // Is the user logged in? - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged in throw new FaceletException("This method can only be called as logged-in user."); //NOI18N } @@ -316,7 +318,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC this.usersAddressbooks = new LinkedList<>(); // Is the user logged-in? - if (this.loginController.isUserLoggedIn()) { + if (this.userLoginController.isUserLoggedIn()) { // Initialize list this.initAddressbookList(); } @@ -370,13 +372,13 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC @Override public boolean isOwnAddressbook () { // Is the user logged in? - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // No, then no own address book throw new IllegalStateException("isOwnAddressbook() has been invoked for a guest account"); //NOI18N } // Is same user? - return Objects.equals(this.getAddressbookUser(), this.loginController.getLoggedInUser()); + return Objects.equals(this.getAddressbookUser(), this.userLoginController.getLoggedInUser()); } @Override @@ -416,7 +418,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC */ private void initAddressbookList () { // Get user instance - User user = this.loginController.getLoggedInUser(); + User user = this.userLoginController.getLoggedInUser(); // Fill list with entries this.usersAddressbooks = this.addressbookBean.getUsersAddressbookList(user); diff --git a/src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java index be0be4d9..d6227306 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java @@ -169,12 +169,6 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle */ private boolean isLandLineUnlinked; - /** - * Login bean (controller) - */ - @Inject - private JobsUserLoginWebSessionController loginController; - /** * Phone number area code */ @@ -195,6 +189,12 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle */ private String street; + /** + * Login bean (controller) + */ + @Inject + private JobsUserLoginWebSessionController userLoginController; + /** * ZIP code */ @@ -297,7 +297,6 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle // Debug message //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactWebBean:afterRegistration: registeredContact={0}", registeredContact)); //NOI18N - // Copy all data from registered->user this.copyContact(registeredContact); @@ -469,24 +468,24 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle @Override public String doChangePersonalContactData () { // This method shall only be called if the user is logged-in - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged-in throw new IllegalStateException("User is not logged-in"); //NOI18N } else if (!this.isRequiredChangePersonalDataSet()) { // Not all required fields are set throw new FaceletException("Not all required fields are set."); //NOI18N - } else if (!this.loginController.ifCurrentPasswordMatches()) { + } else if (!this.userLoginController.ifCurrentPasswordMatches()) { // Password not matching - throw new FaceletException(new UserPasswordMismatchException(this.loginController.getLoggedInUser())); + throw new FaceletException(new UserPasswordMismatchException(this.userLoginController.getLoggedInUser())); } // Get contact instance - Contact contact = this.loginController.getLoggedInUser().getUserContact(); + Contact contact = this.userLoginController.getLoggedInUser().getUserContact(); // It should be there, so run some tests on it - assert (contact instanceof Contact) : "Instance loginController.loggedInUser.userContact is null"; //NOI18N - assert (contact.getContactId() instanceof Long) : "Instance loginController.userContact.contactId is null"; //NOI18N - assert (contact.getContactId() > 0) : MessageFormat.format("Instance loginController.userContact.contactId={0} is invalid", contact.getContactId()); //NOI18N + assert (contact instanceof Contact) : "Instance userLoginController.loggedInUser.userContact is null"; //NOI18N + assert (contact.getContactId() instanceof Long) : "Instance userLoginController.userContact.contactId is null"; //NOI18N + assert (contact.getContactId() > 0) : MessageFormat.format("Instance userLoginController.userContact.contactId={0} is invalid", contact.getContactId()); //NOI18N // Update all fields contact.setContactGender(this.getGender()); diff --git a/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionBean.java index dcdba2e9..096bf19e 100644 --- a/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionBean.java @@ -27,12 +27,12 @@ import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import org.mxchange.jcontacts.contact.Contact; +import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; import org.mxchange.jusercore.exceptions.UserPasswordMismatchException; import org.mxchange.jusercore.model.email_address.ChangeableEmailAddress; import org.mxchange.jusercore.model.email_address.EmailAddressChange; import org.mxchange.jusercore.model.email_address.EmailChangeSessionBeanRemote; import org.mxchange.jusercore.model.user.User; -import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; /** * A web session bean for changing email addresses @@ -51,12 +51,12 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC /** * Email address 1 (changing) */ - private String emailAddress1; + private String emailAddress; /** * Email address 2 (repeat in changing) */ - private String emailAddress2; + private String emailAddressRepeat; /** * Local list of already queued email addresses @@ -72,7 +72,7 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC * Login bean (controller) */ @Inject - private JobsUserLoginWebSessionController loginController; + private JobsUserLoginWebSessionController userLoginController; /** * Default constructor @@ -97,33 +97,33 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC @Override public String doChangeEmailAddress () { // This method shall only be called if the user is logged-in - if (!this.loginController.isUserLoggedIn()) { + if (!this.userLoginController.isUserLoggedIn()) { // Not logged-in throw new IllegalStateException("User is not logged-in"); //NOI18N } else if (!this.isRequiredChangeEmailAddressSet()) { // Not all required fields are set throw new FaceletException("Not all required fields are set."); //NOI18N - } else if (!Objects.equals(this.getEmailAddress1(), this.getEmailAddress2())) { + } else if (!Objects.equals(this.getEmailAddress(), this.getEmailAddressRepeat())) { // Email address 1+2 mismatch throw new FaceletException("Email address 1/2 are mismatching."); //NOI18N - } else if (!this.loginController.ifCurrentPasswordMatches()) { + } else if (!this.userLoginController.ifCurrentPasswordMatches()) { // Password not matching - throw new FaceletException(new UserPasswordMismatchException(this.loginController.getLoggedInUser())); + throw new FaceletException(new UserPasswordMismatchException(this.userLoginController.getLoggedInUser())); } // Get user instance - User user = this.loginController.getLoggedInUser(); + User user = this.userLoginController.getLoggedInUser(); // It should be there, so run some tests on it - assert (user instanceof User) : "Instance loginController.loggedInUser is null"; //NOI18N - assert (user.getUserId() instanceof Long) : "Instance loginController.loggedInUser.userId is null"; //NOI18N - assert (user.getUserId() > 0) : MessageFormat.format("loginController.loggedInUser.userId={0} is invalid", user.getUserId()); //NOI18N - assert (user.getUserContact() instanceof Contact) : "Instance loginController.loggedInUser.userContact is null"; //NOI18N - assert (user.getUserContact().getContactId() instanceof Long) : "Instance loginController.userContact.contactId is null"; //NOI18N - assert (user.getUserContact().getContactId() > 0) : MessageFormat.format("Instance loginController.userContact.contactId={0} is invalid", user.getUserContact().getContactId()); //NOI18N + assert (user instanceof User) : "Instance userLoginController.loggedInUser is null"; //NOI18N + assert (user.getUserId() instanceof Long) : "Instance userLoginController.loggedInUser.userId is null"; //NOI18N + assert (user.getUserId() > 0) : MessageFormat.format("userLoginController.loggedInUser.userId={0} is invalid", user.getUserId()); //NOI18N + assert (user.getUserContact() instanceof Contact) : "Instance userLoginController.loggedInUser.userContact is null"; //NOI18N + assert (user.getUserContact().getContactId() instanceof Long) : "Instance userLoginController.userContact.contactId is null"; //NOI18N + assert (user.getUserContact().getContactId() > 0) : MessageFormat.format("Instance userLoginController.userContact.contactId={0} is invalid", user.getUserContact().getContactId()); //NOI18N // Get dummy email address - String dummyEmail = this.getEmailAddress1(); + String dummyEmail = this.getEmailAddress(); // Unset all so the user is forced to re-enter it this.clear(); @@ -145,29 +145,29 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC } @Override - public String getEmailAddress1 () { - return this.emailAddress1; + public String getEmailAddress () { + return this.emailAddress; } @Override - public void setEmailAddress1 (final String emailAddress1) { - this.emailAddress1 = emailAddress1; + public void setEmailAddress (final String emailAddress) { + this.emailAddress = emailAddress; } @Override - public String getEmailAddress2 () { - return this.emailAddress2; + public String getEmailAddressRepeat () { + return this.emailAddressRepeat; } @Override - public void setEmailAddress2 (final String emailAddress2) { - this.emailAddress2 = emailAddress2; + public void setEmailAddressRepeat (final String emailAddressRepeat) { + this.emailAddressRepeat = emailAddressRepeat; } @Override public boolean isRequiredChangeEmailAddressSet () { - return ((this.getEmailAddress1() != null) && - (this.getEmailAddress2() != null)); + return ((this.getEmailAddress() != null) && + (this.getEmailAddressRepeat() != null)); } /** @@ -175,8 +175,8 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC */ private void clear () { // Clear fields - this.setEmailAddress1(null); - this.setEmailAddress2(null); + this.setEmailAddress(null); + this.setEmailAddressRepeat(null); } /** @@ -186,7 +186,7 @@ public class JobsEmailChangeWebSessionBean implements JobsEmailChangeWebSessionC *

* @param emailAddress Email address to verify *

- * @return Whether the email address in field emailAddress1 is already queued + * @return Whether the email address in field emailAddress is already queued */ private boolean isEmailAddressQueued (final String emailAddress) { // It should be there diff --git a/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionController.java b/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionController.java index c3eef31d..8f25eb4d 100644 --- a/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/email_address/JobsEmailChangeWebSessionController.java @@ -30,28 +30,28 @@ public interface JobsEmailChangeWebSessionController extends Serializable { *

* @return Email address */ - String getEmailAddress1 (); + String getEmailAddress (); /** * Setter for email address 1 (changing) *

* @param emailAddress1 Email address 1 */ - void setEmailAddress1 (final String emailAddress1); + void setEmailAddress (final String emailAddress1); /** * Getter for email address 2 (repeat changing) *

* @return Email address 2 */ - String getEmailAddress2 (); + String getEmailAddressRepeat (); /** * Setter for email address 2 (repeat changing) *

* @param emailAddress2 Email address 2 */ - void setEmailAddress2 (final String emailAddress2); + void setEmailAddressRepeat (final String emailAddress2); /** * Checks whether all required are set for changing email address diff --git a/src/java/org/mxchange/jjobs/beans/login/JobsUserLoginWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/login/JobsUserLoginWebSessionBean.java index 97dd8ec5..d9281d99 100644 --- a/src/java/org/mxchange/jjobs/beans/login/JobsUserLoginWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/login/JobsUserLoginWebSessionBean.java @@ -26,6 +26,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; +import org.mxchange.jjobs.beans.user.JobsUserWebSessionController; import org.mxchange.jusercore.container.login.LoginContainer; import org.mxchange.jusercore.container.login.UserLoginContainer; import org.mxchange.jusercore.events.login.UserLoggedInEvent; @@ -39,7 +40,6 @@ import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.UserUtils; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; import org.mxchange.jusercore.model.user.status.UserAccountStatus; -import org.mxchange.jjobs.beans.user.JobsUserWebSessionController; /** * A web bean for user registration @@ -141,7 +141,7 @@ public class JobsUserLoginWebSessionBean implements JobsUserLoginWebSessionContr @Override public String getCurrentPassword () { - return currentPassword; + return this.currentPassword; } @Override diff --git a/src/java/org/mxchange/jjobs/beans/profile/JobsUserProfileWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/profile/JobsUserProfileWebRequestBean.java index 0267f931..84c9cf6b 100644 --- a/src/java/org/mxchange/jjobs/beans/profile/JobsUserProfileWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/profile/JobsUserProfileWebRequestBean.java @@ -21,11 +21,11 @@ import javax.enterprise.context.RequestScoped; import javax.faces.view.facelets.FaceletException; import javax.inject.Inject; import javax.inject.Named; +import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; +import org.mxchange.jjobs.beans.user.JobsUserWebSessionController; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; -import org.mxchange.jjobs.beans.user.JobsUserWebSessionController; /** * A web request bean for user profiles @@ -42,16 +42,16 @@ public class JobsUserProfileWebRequestBean implements JobsUserProfileWebRequestC private static final long serialVersionUID = 187_687_145_286_710L; /** - * Login controller + * User controller */ @Inject - private JobsUserLoginWebSessionController loginController; + private JobsUserWebSessionController userController; /** - * User controller + * Login controller */ @Inject - private JobsUserWebSessionController userController; + private JobsUserLoginWebSessionController userLoginController; @Override public boolean isProfileLinkVisibleById (final Long userId) { @@ -111,6 +111,7 @@ public class JobsUserProfileWebRequestBean implements JobsUserProfileWebRequestC // Check all conditions (except for admin) // TODO: Add admin role somehow? return ((profileMode.equals(ProfileMode.PUBLIC)) || - (this.loginController.isUserLoggedIn()) && (profileMode.equals(ProfileMode.MEMBERS))); + (this.userLoginController.isUserLoggedIn()) && (profileMode.equals(ProfileMode.MEMBERS))); } + } diff --git a/src/java/org/mxchange/jjobs/validators/password/JobsUserPasswordValidator.java b/src/java/org/mxchange/jjobs/validators/password/JobsUserPasswordValidator.java index 636136e5..31a435d3 100644 --- a/src/java/org/mxchange/jjobs/validators/password/JobsUserPasswordValidator.java +++ b/src/java/org/mxchange/jjobs/validators/password/JobsUserPasswordValidator.java @@ -56,7 +56,7 @@ public class JobsUserPasswordValidator extends BaseStringValidator implements Va /** * User login controller */ - private JobsUserLoginWebSessionController loginController; + private JobsUserLoginWebSessionController userLoginController; /** * Default constructor @@ -87,10 +87,10 @@ public class JobsUserPasswordValidator extends BaseStringValidator implements Va super.preValidate(context, component, value, requiredFields, false); // value is known to be an entered password, so instance login container - LoginContainer container = new UserLoginContainer(this.loginController.getLoggedInUser(), (String) value); + LoginContainer container = new UserLoginContainer(this.userLoginController.getLoggedInUser(), (String) value); // Test it here - if (!UserUtils.ifPasswordMatches(container, this.loginController.getLoggedInUser())) { + if (!UserUtils.ifPasswordMatches(container, this.userLoginController.getLoggedInUser())) { // Password mismatches throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_ERROR, "Password mismatching.", "The password the user has entered does not match the stored password.")); //NOI18N } @@ -98,4 +98,5 @@ public class JobsUserPasswordValidator extends BaseStringValidator implements Va // Trace message this.loggerBeanLocal.logTrace("validate: EXIT!"); //NOI18N } + } diff --git a/web/WEB-INF/templates.dist/guest_login_page.xhtml b/web/WEB-INF/templates.dist/guest_login_page.xhtml index c7a2b9be..2e7bc380 100644 --- a/web/WEB-INF/templates.dist/guest_login_page.xhtml +++ b/web/WEB-INF/templates.dist/guest_login_page.xhtml @@ -1,22 +1,22 @@ - - - - - - #{msg.PAGE_TITLE_INDEX_FOO} - - - #{msg.CONTENT_TITLE_INDEX_FOO} - - - - Here goes your content. - - - + + + + + + #{msg.PAGE_TITLE_INDEX_FOO} + + + #{msg.CONTENT_TITLE_INDEX_FOO} + + + + Here goes your content. + + + diff --git a/web/WEB-INF/templates/guest/guest_login_form.tpl b/web/WEB-INF/templates/guest/guest_login_form.tpl index f6384692..229dbda5 100644 --- a/web/WEB-INF/templates/guest/guest_login_form.tpl +++ b/web/WEB-INF/templates/guest/guest_login_form.tpl @@ -1,49 +1,49 @@ - - -

- -
-
- #{msg.GUEST_ENTER_LOGIN_DATA_TITLE} -
- -
- #{msg.GUEST_ENTER_LOGIN_DATA_LEGEND} - -
-
- -
- -
- -
-
- -
- -
-
- -
- -
- -
-
- -
-
- - -
-
-
- + + +
+ +
+
+ #{msg.GUEST_ENTER_LOGIN_DATA_TITLE} +
+ +
+ #{msg.GUEST_ENTER_LOGIN_DATA_LEGEND} + +
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ + +
+
+
+
diff --git a/web/WEB-INF/templates/login/login_base.tpl b/web/WEB-INF/templates/login/login_base.tpl index dafc7786..ae982adc 100644 --- a/web/WEB-INF/templates/login/login_base.tpl +++ b/web/WEB-INF/templates/login/login_base.tpl @@ -1,22 +1,22 @@ - - - - #{msg.PAGE_TITLE_LOGIN_AREA} - - - - - - - - - - - - - + + + + #{msg.PAGE_TITLE_LOGIN_AREA} - + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/login/login_enter_current_password.tpl b/web/WEB-INF/templates/login/login_enter_current_password.tpl index df4f36f3..392dcbcb 100644 --- a/web/WEB-INF/templates/login/login_enter_current_password.tpl +++ b/web/WEB-INF/templates/login/login_enter_current_password.tpl @@ -14,9 +14,9 @@
- + - +
diff --git a/web/imprint.xhtml b/web/imprint.xhtml index 115f6ff3..fea80343 100644 --- a/web/imprint.xhtml +++ b/web/imprint.xhtml @@ -1,22 +1,22 @@ - - - - - - #{msg.PAGE_TITLE_INDEX_IMPRINT} - - - #{msg.CONTENT_TITLE_INDEX_IMPRINT} - - - - TODO: Hier kommt das Impressum hin! - - - + + + + + + #{msg.PAGE_TITLE_INDEX_IMPRINT} + + + #{msg.CONTENT_TITLE_INDEX_IMPRINT} + + + + TODO: Hier kommt das Impressum hin! + + + diff --git a/web/login/login_add_addressbook.xhtml b/web/login/login_add_addressbook.xhtml index 7f1c8579..a19db8a9 100644 --- a/web/login/login_add_addressbook.xhtml +++ b/web/login/login_add_addressbook.xhtml @@ -1,51 +1,51 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK} - - - #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK} - - - - - -
-
- #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE} -
- -
-
- -
- -
- - - -
-
- - -
-
-
- - - - -
-
- + + + + + + #{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK} + + + #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK} + + + + + +
+
+ #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE} +
+ +
+
+ +
+ +
+ + + +
+
+ + +
+
+
+ + + + +
+
+ diff --git a/web/login/login_change_email_address.xhtml b/web/login/login_change_email_address.xhtml index 702312d8..2f0541fd 100644 --- a/web/login/login_change_email_address.xhtml +++ b/web/login/login_change_email_address.xhtml @@ -16,7 +16,7 @@ - +
#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE} @@ -41,11 +41,11 @@
- +
- +
@@ -53,11 +53,11 @@
- +
- +
@@ -75,7 +75,7 @@
- + diff --git a/web/login/login_change_password.xhtml b/web/login/login_change_password.xhtml index bfd384d4..efcdce2b 100644 --- a/web/login/login_change_password.xhtml +++ b/web/login/login_change_password.xhtml @@ -1,71 +1,71 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_CHANGE_PASSWORD} - - - #{msg.CONTENT_TITLE_LOGIN_CHANGE_PASSWORD} - - - - -
-
- #{msg.LOGIN_CHANGE_PASSWORD_TITLE} -
- - -
-
- #{msg.LOGIN_CHANGE_PASSWORD_LEGEND} - -
-
- -
- -
- -
- -
-
- -
-
- -
- -
- -
- -
-
-
-
- - - - -
-
-
- - - - -
-
- + + + + + + #{msg.PAGE_TITLE_LOGIN_CHANGE_PASSWORD} + + + #{msg.CONTENT_TITLE_LOGIN_CHANGE_PASSWORD} + + + + +
+
+ #{msg.LOGIN_CHANGE_PASSWORD_TITLE} +
+ + +
+
+ #{msg.LOGIN_CHANGE_PASSWORD_LEGEND} + +
+
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+
+
+
+ + + + +
+
+
+ + + + +
+
+ diff --git a/web/login/login_change_personal_data.xhtml b/web/login/login_change_personal_data.xhtml index e4c482c9..bf66c33f 100644 --- a/web/login/login_change_personal_data.xhtml +++ b/web/login/login_change_personal_data.xhtml @@ -16,7 +16,7 @@ - +
#{msg.LOGIN_CHANGE_PERSONAL_DATA_TITLE} @@ -37,7 +37,7 @@
- + diff --git a/web/login/login_contact_data_saved.xhtml b/web/login/login_contact_data_saved.xhtml index 25b69679..8f52ddfe 100644 --- a/web/login/login_contact_data_saved.xhtml +++ b/web/login/login_contact_data_saved.xhtml @@ -1,30 +1,30 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_CONTACT_DATA_SAVED} - - - #{msg.CONTENT_TITLE_LOGIN_CONTACT_DATA_SAVED} - - - - - - - - - - - - - - - + + + + + + #{msg.PAGE_TITLE_LOGIN_CONTACT_DATA_SAVED} + + + #{msg.CONTENT_TITLE_LOGIN_CONTACT_DATA_SAVED} + + + + + + + + + + + + + + + diff --git a/web/login/login_data_saved.xhtml b/web/login/login_data_saved.xhtml index 0fd6316a..53ca4ea3 100644 --- a/web/login/login_data_saved.xhtml +++ b/web/login/login_data_saved.xhtml @@ -1,30 +1,30 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_DATA_SAVED} - - - #{msg.CONTENT_TITLE_LOGIN_DATA_SAVED} - - - - - - - - - - - - - - - + + + + + + #{msg.PAGE_TITLE_LOGIN_DATA_SAVED} + + + #{msg.CONTENT_TITLE_LOGIN_DATA_SAVED} + + + + + + + + + + + + + + + diff --git a/web/login/login_edit_user_data.xhtml b/web/login/login_edit_user_data.xhtml index 8cd727cb..661befae 100644 --- a/web/login/login_edit_user_data.xhtml +++ b/web/login/login_edit_user_data.xhtml @@ -1,50 +1,50 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA} - - - #{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA} - - - - -
-
- #{msg.LOGIN_EDIT_USER_DATA_TITLE} -
- -
- -
- -
-
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
-
-
- - - - -
-
- + + + + + + #{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA} + + + #{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA} + + + + +
+
+ #{msg.LOGIN_EDIT_USER_DATA_TITLE} +
+ +
+ +
+ +
+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+ + + + +
+
+ diff --git a/web/login/login_index.xhtml b/web/login/login_index.xhtml index ef4281d8..d0c5d23e 100644 --- a/web/login/login_index.xhtml +++ b/web/login/login_index.xhtml @@ -1,28 +1,28 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_HOME} - - - #{msg.CONTENT_TITLE_LOGIN_HOME} - - - - - Here goes your content. - - - - - - - - + + + + + + #{msg.PAGE_TITLE_LOGIN_HOME} + + + #{msg.CONTENT_TITLE_LOGIN_HOME} + + + + + Here goes your content. + + + + + + + + diff --git a/web/login/login_own_addressbooks.xhtml b/web/login/login_own_addressbooks.xhtml index bd8e7360..e8b26389 100644 --- a/web/login/login_own_addressbooks.xhtml +++ b/web/login/login_own_addressbooks.xhtml @@ -1,67 +1,67 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_OWN_ADDRESSBOOKS} - - - #{msg.CONTENT_TITLE_LOGIN_OWN_ADDRESSBOOKS} - - - - -
-
- #{msg.TABLE_HEADER_LIST_OWN_ADDRESSBOOKS} -
- -
- - - #{msg.ADDRESSBOOK_NAME} - - - - - - - - - #{msg.ADDRESSBOOK_TOTAL_ENTRIES} - - - - - - - - - #{msg.ADDRESSBOOK_CREATED} - - - - - - -
- - -
-
- - - - -
-
- + + + + + + #{msg.PAGE_TITLE_LOGIN_OWN_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_OWN_ADDRESSBOOKS} + + + + +
+
+ #{msg.TABLE_HEADER_LIST_OWN_ADDRESSBOOKS} +
+ +
+ + + #{msg.ADDRESSBOOK_NAME} + + + + + + + + + #{msg.ADDRESSBOOK_TOTAL_ENTRIES} + + + + + + + + + #{msg.ADDRESSBOOK_CREATED} + + + + + + +
+ + +
+
+ + + + +
+
+ diff --git a/web/login/login_user_data_saved.xhtml b/web/login/login_user_data_saved.xhtml index e42c555f..da199456 100644 --- a/web/login/login_user_data_saved.xhtml +++ b/web/login/login_user_data_saved.xhtml @@ -1,30 +1,30 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_USER_DATA_SAVED} - - - #{msg.CONTENT_TITLE_LOGIN_USER_DATA_SAVED} - - - - - - - - - - - - - - - + + + + + + #{msg.PAGE_TITLE_LOGIN_USER_DATA_SAVED} + + + #{msg.CONTENT_TITLE_LOGIN_USER_DATA_SAVED} + + + + + + + + + + + + + + + diff --git a/web/privacy.xhtml b/web/privacy.xhtml index aaaafb93..4d211283 100644 --- a/web/privacy.xhtml +++ b/web/privacy.xhtml @@ -1,22 +1,22 @@ - - - - - - #{msg.PAGE_TITLE_INDEX_PRIVACY} - - - #{msg.CONTENT_TITLE_INDEX_PRIVACY} - - - - Hier kommen die Datenschutzbestimmungen hin. - - - + + + + + + #{msg.PAGE_TITLE_INDEX_PRIVACY} + + + #{msg.CONTENT_TITLE_INDEX_PRIVACY} + + + + Hier kommen die Datenschutzbestimmungen hin. + + + diff --git a/web/terms.xhtml b/web/terms.xhtml index 3c66fbbd..a7a2ac9c 100644 --- a/web/terms.xhtml +++ b/web/terms.xhtml @@ -1,22 +1,22 @@ - - - - - - #{msg.PAGE_TITLE_INDEX_TERMS} - - - #{msg.CONTENT_TITLE_INDEX_TERMS} - - - - Hier kommen die allgemeinen Geschäftsbedingungen hin. - - - + + + + + + #{msg.PAGE_TITLE_INDEX_TERMS} + + + #{msg.CONTENT_TITLE_INDEX_TERMS} + + + + Hier kommen die allgemeinen Geschäftsbedingungen hin. + + + diff --git a/web/user/show_addressbook.xhtml b/web/user/show_addressbook.xhtml index 620e5796..fc088fa2 100644 --- a/web/user/show_addressbook.xhtml +++ b/web/user/show_addressbook.xhtml @@ -1,56 +1,56 @@ - - - - - - - - - - - - - #{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK} - #{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK} - - - #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK} - - - - - #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK} - - #{msg.ADDRESSBOOK_NAME} - - - #{msg.ADDRESSBOOK_OWNER} - - - - - #{msg.ADDRESSBOOK_CREATED} - - - - - #{msg.ADDRESSBOOK_STATUS} - - - - - - - - - - - - - - + + + + + + + + + + + + + #{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK} + #{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK} + + + #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK} + + + + + #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK} + + #{msg.ADDRESSBOOK_NAME} + + + #{msg.ADDRESSBOOK_OWNER} + + + + + #{msg.ADDRESSBOOK_CREATED} + + + + + #{msg.ADDRESSBOOK_STATUS} + + + + + + + + + + + + + + diff --git a/web/user/user_list.xhtml b/web/user/user_list.xhtml index 51c91050..ef70326c 100644 --- a/web/user/user_list.xhtml +++ b/web/user/user_list.xhtml @@ -1,39 +1,39 @@ - - - - - - #{msg.PAGE_TITLE_USER_LIST} - - - #{msg.CONTENT_TITLE_USER_LIST} - - - -
-
- #{msg.TABLE_HEADER_USER_LIST} -
- - - - #{msg.USER_NAME} - - - - - - - #{msg.USER_CREATED} - - - -
-
-
- + + + + + + #{msg.PAGE_TITLE_USER_LIST} + + + #{msg.CONTENT_TITLE_USER_LIST} + + + +
+
+ #{msg.TABLE_HEADER_USER_LIST} +
+ + + + #{msg.USER_NAME} + + + + + + + #{msg.USER_CREATED} + + + +
+
+
+ diff --git a/web/user/user_profile.xhtml b/web/user/user_profile.xhtml index 0e58740f..b6936170 100644 --- a/web/user/user_profile.xhtml +++ b/web/user/user_profile.xhtml @@ -1,48 +1,48 @@ - - - - - - - - - - - - - #{msg.PAGE_TITLE_LOGIN_USER_PROFILE} - #{msg.PAGE_TITLE_INDEX_USER_PROFILE} - - - #{msg.CONTENT_TITLE_INDEX_USER_PROFILE} - - - - - - - - - -
- - - #{msg.PUBLIC_USER_PROFILE} - - -
-
- - - #{msg.ERROR_PROFILE_NOT_VISIBLE} - -
-
-
- + + + + + + + + + + + + + #{msg.PAGE_TITLE_LOGIN_USER_PROFILE} + #{msg.PAGE_TITLE_INDEX_USER_PROFILE} + + + #{msg.CONTENT_TITLE_INDEX_USER_PROFILE} + + + + + + + + + +
+ + + #{msg.PUBLIC_USER_PROFILE} + + +
+
+ + + #{msg.ERROR_PROFILE_NOT_VISIBLE} + +
+
+
+