]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Use include JSP instead of repeating it (DRY).
authorRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 13:01:59 +0000 (15:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 13:01:59 +0000 (15:01 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/form_handler/admin/do_category.jsp
web/form_handler/admin/do_product.jsp

index 978c8d45cf5e88277c7bc0ed2cdf885744f1f1b7..56e9a31d81f6c1108ced3632dda66a3c50442846 100644 (file)
 
                <jsp:include page="/static/admin/admin_menu.jsp" flush="false" />
 
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Bitte nicht direkt aufrufen:</h2>
-                       </div>
-
-                       <div id="content">
-                               Bitte rufen Sie diese Seite nicht direkt auf.
-                       </div>
-               </div>
+               <jsp:include page="/static/error/direct_call.jsp" flush="false" />
        </body>
 </html>
index 4154712468a1e0f5b9fc0e50dce019e65ba508ac..e9ffa89fcf52beee400f44f7ad10d5b4a61ca63d 100644 (file)
 
                <jsp:include page="/static/admin/admin_menu.jsp" flush="false" />
 
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Bitte nicht direkt aufrufen:</h2>
-                       </div>
-
-                       <div id="content">
-                               Bitte rufen Sie diese Seite nicht direkt auf.
-                       </div>
-               </div>
+               <jsp:include page="/static/error/direct_call.jsp" flush="false" />
        </body>
 </html>