]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/templates.dist/login_page.xhtml
need to add language stuff in every page. :-( Maybe one day there is a better solutio...
[jjobs-war.git] / web / WEB-INF / templates.dist / login_page.xhtml
index b021f0a5f6eaf4e6af81f7ecc7aaa98e11e6b0b5..0e593b63583e340f347b302ac73fcfd820e91dd7 100644 (file)
@@ -1,6 +1,8 @@
 <?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 xmlns="http://www.w3.org/1999/xhtml"
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://xmlns.jcp.org/jsf/html"
          xmlns:f="http://xmlns.jcp.org/jsf/core"
@@ -19,7 +21,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>