]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/admin/category.xhtml
fixed guest_title setting
[pizzaservice-war.git] / web / admin / category.xhtml
index dbf05089b3e69a78c9de49e4e903d02b8c7f604f..b8730f0e7a0f3dd8cdfc6e8dcfb21d0e43e52428 100644 (file)
@@ -9,18 +9,14 @@
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
                <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_CATEGORIES}</ui:define>
 
-               <ui:define name="menu">
-                       <ui:include id="menu" class="admin_menu" src="/WEB-INF/templates/admin/admin_menu.tpl" />
-               </ui:define>
-
                <ui:define name="content_header">
-                       #{msg.SUB_TITLE_ADMIN_CATEGORIES}
+                       #{msg.CONTENT_TITLE_ADMIN_CATEGORIES}
                </ui:define>
 
                <ui:define name="content">
                        <div class="para">
-                               <h:form acceptcharset="utf-8" id="form">
-                                       <h:dataTable headerClass="table_header_column" rowClasses="table_row" styleClass="table" id="categories" value="#{controller.allCategories}" var="cat">
+                               <h:form id="form">
+                                       <h:dataTable id="categories" var="cat" value="#{controller.allCategories}" styleClass="table" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_CATEGORY}">
                                                <h:column>
                                                        <f:facet name="header">#{msg.SELECT_ENTRY}</f:facet>
                                                        #{cat.categoryId}:
@@ -47,7 +43,7 @@
                        </div>
 
                        <div class="para">
-                               <h:form acceptcharset="utf-8" id="add_category">
+                               <h:form id="add_category">
                                        <div class="table">
                                                <div class="table_header">
                                                        #{msg.ADMIN_ADD_CATEGORY_TITLE}
@@ -63,7 +59,7 @@
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <h:inputText class="input" id="title" value="#{admin_category.categoryTitle}" size="10" maxlength="255" required="true" />
+                                                                       <h:inputText class="input" id="guest_title" value="#{admin_category.categoryTitle}" size="10" maxlength="255" required="true" />
                                                                </div>
 
                                                                <div class="clear"></div>
@@ -90,9 +86,5 @@
                                </h:form>
                        </div>
                </ui:define>
-
-               <ui:define name="footer">
-                       <ui:include id="footer" class="guest_footer" src="/WEB-INF/templates/admin/admin_footer.tpl" />
-               </ui:define>
        </ui:composition>
 </html>