]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/user/login.xhtml
h:outputText can do the same as ui:fragment and is a better choice as ui:fragment...
[addressbook-war.git] / web / user / login.xhtml
index c044f109c2341ae332697c272e3067b1080522f8..cd12e5a00c7eeca163e5076b3eb08705ad16b9d3 100644 (file)
@@ -7,21 +7,17 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
-       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl" id="customer_login">
-               <ui:define name="title">#{msg.PAGE_TITLE_CUSTOMER_LOGIN}</ui:define>
-
-               <ui:define name="menu">
-                       <ui:include id="menu" class="guest_menu" src="/WEB-INF/templates/guest/guest_menu.tpl" />
-               </ui:define>
+       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl" id="user_login">
+               <ui:define name="title">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
 
                <ui:define name="content_header">
-                       #{msg.SUB_TITLE_CUSTOMER_LOGIN}
+                       #{msg.CONTENT_TITLE_USER_LOGIN}
                </ui:define>
 
                <ui:define name="content">
                        <div class="para">
                                <!-- TODO Internatialize this somehow //-->
-                               Noch kein Kunde? Einfach beim Bestellen anmelden oder <h:link id="customer_register" outcome="customer_register" title="Als Kunde anmelden">hier</h:link> anmelden.
+                               Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
                        </div>
 
                        <div class="para">
                        </div>
 
                        <div class="para">
-                               <h:link id="customer_lost_password" outcome="customer_lost_passwd" title="Passwort wiederherstellen" value="Passwort vergessen?" />
+                               <h:link id="user_lost_password" outcome="user_lost_passwd" title="Passwort wiederherstellen" value="Passwort vergessen?" />
                        </div>
                </ui:define>
-
-               <ui:define name="footer">
-                       <ui:include id="footer" class="guest_footer" src="/WEB-INF/templates/guest/guest_footer.tpl" />
-               </ui:define>
        </ui:composition>
 </html>