]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/admin/admin_base.tpl
Please cherry-pick:
[pizzaservice-war.git] / web / WEB-INF / templates / admin / admin_base.tpl
index bd06406a6824ec8bea77bc4100cc0b4e6d62468b..b0e99e81fb718275f84baeba91776e2f7d9bbbcb 100644 (file)
@@ -1,19 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+TODO: Add something here that should be displayed on all admin 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" class="admin_title" /></ui:define>
-
-       <!--
-       TODO: Add something here that should be displayed on all admin pages
-       //-->
+       <ui:define name="title">
+               <h:outputText value="#{msg.PAGE_TITLE_ADMIN_AREA}" /> -
+               <ui:insert name="admin_title">
+                       <h:outputText value="Default admin title" />
+               </ui:insert>
+       </ui:define>
 
        <ui:define name="menu">
-               <ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
+               <ui:include src="/WEB-INF/templates/admin/admin_menu.tpl" />
        </ui:define>
 
        <ui:define name="footer">
-               <ui:include id="footer" class="admin_footer" src="/WEB-INF/templates/admin/admin_footer.tpl" />
+               <ui:include src="/WEB-INF/templates/admin/admin_footer.tpl" />
        </ui:define>
 </ui:composition>