1.1 --- a/java/nekurak.net-web/web/index.jsp Tue Mar 09 20:46:54 2010 +0100
1.2 +++ b/java/nekurak.net-web/web/index.jsp Thu Mar 18 14:22:16 2010 +0100
1.3 @@ -5,10 +5,7 @@
1.4 xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
1.5 version="2.0">
1.6 <jsp:directive.page contentType="application/xhtml+xml"/>
1.7 - <jsp:output doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd"
1.8 - doctype-root-element="html"
1.9 - omit-xml-declaration="false"/>
1.10 -
1.11 +
1.12 <!-- <lokalizace> -->
1.13 <c:if test="${param.jazyk != null}">
1.14 <fmt:setLocale value="${param.jazyk}" scope="session"/>
1.15 @@ -29,75 +26,24 @@
1.16 </c:if>
1.17 <!-- </autentizace> -->
1.18
1.19 -
1.20 - <html xmlns="http://www.w3.org/1999/xhtml"
1.21 - xmlns:svg="http://www.w3.org/2000/svg"
1.22 - xmlns:xlink="http://www.w3.org/1999/xlink">
1.23 - <head>
1.24 - <title><fmt:message key="nazev"/></title>
1.25 - <link href="styl.css" type="text/css" rel="StyleSheet"/>
1.26 - <script type="text/javascript" src="js/jquery.js"></script>
1.27 - <script type="text/javascript" src="js/jquery.bxSlider.js"></script>
1.28 - <link rel="alternate" type="application/atom+xml" title="podniky" href="atom/" />
1.29 - </head>
1.30 - <body>
1.31 - <div class="body">
1.32 -
1.33 - <div id="horniPruh">
1.34 - <h1><fmt:message key="nazev"/></h1>
1.35 - </div>
1.36 -
1.37 - <ul id="nabidka">
1.38 - <li><a href="?"><fmt:message key="uvod"/></a></li>
1.39 -
1.40 - <c:choose>
1.41 - <c:when test="${prihlasenyUzivatel == null}">
1.42 - <li><a href="?akce=prihlaseni"><fmt:message key="prihlasitSe"/></a></li>
1.43 - <li><a href="?akce=registrovatUzivatele"><fmt:message key="registrovatSe"/></a></li>
1.44 - </c:when>
1.45 - <c:otherwise>
1.46 - <li><a href="?akce=pridatPodnik"><fmt:message key="pridatPodnik"/></a></li>
1.47 - <li id="prihlasenyUzivatel"><fmt:message key="prihlasenyUzivatel"/>: ${prihlasenyUzivatel}</li>
1.48 - <li><a href="?akce=prihlaseni&amp;odhlasit=ano"><fmt:message key="odhlasitSe"/></a></li>
1.49 - </c:otherwise>
1.50 - </c:choose>
1.51 -
1.52 - </ul>
1.53 -
1.54 - <nk:prepinaniJazyku/>
1.55 -
1.56 - <div id="obsah">
1.57 -
1.58 - <c:choose>
1.59 - <c:when test="${param.akce == 'detail'}">
1.60 - <jsp:include page="/WEB-INF/casti/detail.jsp" flush="false"/>
1.61 - </c:when>
1.62 - <c:when test="${param.akce == 'pridatPodnik'}">
1.63 - <jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/>
1.64 - </c:when>
1.65 - <c:when test="${param.akce == 'registrovatUzivatele'}">
1.66 - <jsp:include page="/WEB-INF/casti/registrovatUzivatele.jsp" flush="false"/>
1.67 - </c:when>
1.68 - <c:when test="${param.akce == 'prihlaseni'}">
1.69 - <jsp:include page="/WEB-INF/casti/prihlaseni.jsp" flush="false"/>
1.70 - </c:when>
1.71 - <c:otherwise>
1.72 - <jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/>
1.73 - </c:otherwise>
1.74 - </c:choose>
1.75 -
1.76 - </div>
1.77 -
1.78 - <div id="paticka">
1.79 - <p>
1.80 - <fmt:message key="licence"/>&#160;
1.81 - <a href="nekurak.net-src.zip">nekurak.net-src.zip</a>
1.82 - <a href="nekurak.net-src.zip.SHA-512">.</a>
1.83 - </p>
1.84 - </div>
1.85 -
1.86 - </div>
1.87 - </body>
1.88 - </html>
1.89 + <!-- <výběrStránky> -->
1.90 + <c:choose>
1.91 + <c:when test="${param.akce == 'detail'}">
1.92 + <jsp:include page="/WEB-INF/casti/detail.jsp" flush="false"/>
1.93 + </c:when>
1.94 + <c:when test="${param.akce == 'pridatPodnik'}">
1.95 + <jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/>
1.96 + </c:when>
1.97 + <c:when test="${param.akce == 'registrovatUzivatele'}">
1.98 + <jsp:include page="/WEB-INF/casti/registrovatUzivatele.jsp" flush="false"/>
1.99 + </c:when>
1.100 + <c:when test="${param.akce == 'prihlaseni'}">
1.101 + <jsp:include page="/WEB-INF/casti/prihlaseni.jsp" flush="false"/>
1.102 + </c:when>
1.103 + <c:otherwise>
1.104 + <jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/>
1.105 + </c:otherwise>
1.106 + </c:choose>
1.107 + <!-- </výběrStránky> -->
1.108
1.109 </jsp:root>