java/nekurak.net-web/web/index.jsp
author František Kučera <franta-hg@frantovo.cz>
Wed Feb 24 21:21:23 2010 +0100 (2010-02-24)
changeset 37 1b481b911614
parent 31 bae2ead150f7
child 38 a2ca6c1804d1
permissions -rw-r--r--
Pročištění a nová struktura.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     3 	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     4 	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     5 	  version="2.0">
     6     <jsp:directive.page contentType="application/xhtml+xml"/>
     7     <jsp:output doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd"
     8 		doctype-root-element="html"
     9 		omit-xml-declaration="false"/>
    10 
    11     <!-- <lokalizace> -->
    12     <c:if test="${param.jazyk != null}">
    13 	<fmt:setLocale value="${param.jazyk}"/>
    14     </c:if>
    15     <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
    16     <!-- </lokalizace> -->
    17 
    18     <html xmlns="http://www.w3.org/1999/xhtml"
    19 	  xmlns:svg="http://www.w3.org/2000/svg"
    20 	  xmlns:xlink="http://www.w3.org/1999/xlink">
    21 	<head>
    22 	    <title><fmt:message key="nazev"/></title>
    23 	    <link href="styl.css" type="text/css" rel="StyleSheet"/>
    24 	</head>
    25 	<body>
    26 	    <div class="body">
    27 
    28 		<div id="horniPruh">
    29 		    <h1><fmt:message key="nazev"/></h1>
    30 		</div>
    31 
    32 		<div id="obsah">
    33 
    34 		    <c:choose>
    35 			<c:when test="${param.akce == 'detail'}">
    36 
    37 			</c:when>
    38 			<c:otherwise>
    39 			    <jsp:include page="WEB-INF/casti/uvod.jsp" flush="false"/>
    40 			</c:otherwise>
    41 		    </c:choose>
    42 
    43 		</div>
    44 
    45 		<div id="paticka">
    46 		    <p>
    47 			© 2010 nekurak.net. Licence: Affero GPL.
    48 			<a href="nekurak.net-src.zip">nekurak.net-src.zip</a>
    49 			<a href="nekurak.net-src.zip.SHA-512">.</a>
    50 		    </p>
    51 		</div>
    52 
    53 	    </div>
    54 	</body>
    55     </html>
    56 
    57 </jsp:root>