<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
- lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- >
+<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:f="http://xmlns.jcp.org/jsf/core">
- <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
- <ui:define name="guest_title">
- <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
- </ui:define>
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
+ </ui:define>
- <ui:define name="content_header">
- <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
- </ui:define>
+ <ui:define name="content_header">
+ <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
+ </ui:define>
- <ui:define name="content">
- <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required') and featureController.isFeatureEnabled('user_password_recovery')}">
- <div class="para" id="user_lost_password_content">
- <h:form id="form_lost_password">
- <h:panelGroup styleClass="table" layout="block">
- <div class="table_header">
- <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
- </div>
-
- <fieldset class="fieldset" id="login_data">
- <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
- <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
- </legend>
-
- <h:panelGroup styleClass="table_row" layout="block">
- <div class="table_left">
- <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
- </div>
+ <ui:define name="content">
+ <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
+ <div id="user_lost_password_content">
+ <h:form id="form_lost_password">
+ <h:panelGroup styleClass="table" layout="block">
+ <div class="table-header">
+ <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
+ </div>
- <div class="table_right">
- <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
- </div>
+ <fieldset class="fieldset" id="login_data">
+ <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
+ <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
+ </legend>
- <div class="clear"></div>
- </h:panelGroup>
-
- <div class="table_header">
- <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
+ <h:panelGroup styleClass="table-row" layout="block">
+ <div class="table-left">
+ <h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
</div>
- <h:panelGroup styleClass="table_row" layout="block">
- <div class="table_left">
- <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
- </div>
+ <div class="table-right">
+ <h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
+ </div>
+ </h:panelGroup>
- <div class="table_right">
- <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
- </div>
+ <div class="table-header">
+ <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
+ </div>
- <div class="clear"></div>
- </h:panelGroup>
+ <h:panelGroup styleClass="table-row" layout="block">
+ <div class="table-left">
+ <h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
+ </div>
- </fieldset>
+ <div class="table-right">
+ <h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
+ </div>
+ </h:panelGroup>
+ </fieldset>
- <div class="table_footer">
- <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
- </div>
- </h:panelGroup>
- </h:form>
- </div>
- </ui:fragment>
+ <div class="table-footer">
+ <h:commandButton styleClass="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
+ </div>
+ </h:panelGroup>
+ </h:form>
+ </div>
+ </ui:fragment>
- <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_name_required') or not featureController.isFeatureEnabled('user_password_recovery')}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
- </ui:define>
- </ui:composition>
-</html>
+ <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
+ </ui:define>
+</ui:composition>