]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/templates/admin/admin_base.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / admin / admin_base.tpl
index 029bfc66b2f499efacb2bd3464f0ba6c6a013e4c..ebdd14ecd8816afb1bd9a6ef3e2bb3b3e2e27766 100644 (file)
@@ -1,19 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+@TODO: Add something here that should be displayed on all administrative pages
+//-->
 <ui:composition
        template="/WEB-INF/templates/base.tpl"
        xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html">
 
-       <ui:define name="title">Administration - <ui:insert name="admin_title">Default admin title</ui:insert></ui:define>
+       <ui:define name="document_title">
+               <h:outputText value="#{msg.PAGE_TITLE_ADMIN_AREA} - " />
 
-       <!--
-       TODO: Add something here that should be displayed on all admin pages
-       //-->
+               <ui:insert name="document_admin_title">
+                       <h:outputText value="Default admin title" />
+               </ui:insert>
+       </ui:define>
 
        <ui:define name="menu">
                <ui:include src="/WEB-INF/templates/admin/admin_menu.tpl" />
        </ui:define>
 
        <ui:define name="footer">
-               <ui:include id="footer" src="/WEB-INF/templates/admin/admin_footer.tpl" />
+               <ui:include src="/WEB-INF/templates/admin/admin_footer.tpl" />
        </ui:define>
 </ui:composition>