diff -r 81c64c582a26 -r 34c7eb5f2fae java/nekurak.net-web/web/index.jsp --- a/java/nekurak.net-web/web/index.jsp Tue Mar 16 14:33:05 2010 +0100 +++ b/java/nekurak.net-web/web/index.jsp Thu Mar 18 14:22:16 2010 +0100 @@ -5,10 +5,7 @@ xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" version="2.0"> <jsp:directive.page contentType="application/xhtml+xml"/> - <jsp:output doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" - doctype-root-element="html" - omit-xml-declaration="false"/> - + <!-- <lokalizace> --> <c:if test="${param.jazyk != null}"> <fmt:setLocale value="${param.jazyk}" scope="session"/> @@ -29,75 +26,24 @@ </c:if> <!-- </autentizace> --> - - <html xmlns="http://www.w3.org/1999/xhtml" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink"> - <head> - <title><fmt:message key="nazev"/></title> - <link href="styl.css" type="text/css" rel="StyleSheet"/> - <script type="text/javascript" src="js/jquery.js"></script> - <script type="text/javascript" src="js/jquery.bxSlider.js"></script> - <link rel="alternate" type="application/atom+xml" title="podniky" href="atom/" /> - </head> - <body> - <div class="body"> - - <div id="horniPruh"> - <h1><fmt:message key="nazev"/></h1> - </div> - - <ul id="nabidka"> - <li><a href="?"><fmt:message key="uvod"/></a></li> - - <c:choose> - <c:when test="${prihlasenyUzivatel == null}"> - <li><a href="?akce=prihlaseni"><fmt:message key="prihlasitSe"/></a></li> - <li><a href="?akce=registrovatUzivatele"><fmt:message key="registrovatSe"/></a></li> - </c:when> - <c:otherwise> - <li><a href="?akce=pridatPodnik"><fmt:message key="pridatPodnik"/></a></li> - <li id="prihlasenyUzivatel"><fmt:message key="prihlasenyUzivatel"/>: ${prihlasenyUzivatel}</li> - <li><a href="?akce=prihlaseni&amp;odhlasit=ano"><fmt:message key="odhlasitSe"/></a></li> - </c:otherwise> - </c:choose> - - </ul> - - <nk:prepinaniJazyku/> - - <div id="obsah"> - - <c:choose> - <c:when test="${param.akce == 'detail'}"> - <jsp:include page="/WEB-INF/casti/detail.jsp" flush="false"/> - </c:when> - <c:when test="${param.akce == 'pridatPodnik'}"> - <jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/> - </c:when> - <c:when test="${param.akce == 'registrovatUzivatele'}"> - <jsp:include page="/WEB-INF/casti/registrovatUzivatele.jsp" flush="false"/> - </c:when> - <c:when test="${param.akce == 'prihlaseni'}"> - <jsp:include page="/WEB-INF/casti/prihlaseni.jsp" flush="false"/> - </c:when> - <c:otherwise> - <jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/> - </c:otherwise> - </c:choose> - - </div> - - <div id="paticka"> - <p> - <fmt:message key="licence"/>&#160; - <a href="nekurak.net-src.zip">nekurak.net-src.zip</a> - <a href="nekurak.net-src.zip.SHA-512">.</a> - </p> - </div> - - </div> - </body> - </html> + <!-- <výběrStránky> --> + <c:choose> + <c:when test="${param.akce == 'detail'}"> + <jsp:include page="/WEB-INF/casti/detail.jsp" flush="false"/> + </c:when> + <c:when test="${param.akce == 'pridatPodnik'}"> + <jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/> + </c:when> + <c:when test="${param.akce == 'registrovatUzivatele'}"> + <jsp:include page="/WEB-INF/casti/registrovatUzivatele.jsp" flush="false"/> + </c:when> + <c:when test="${param.akce == 'prihlaseni'}"> + <jsp:include page="/WEB-INF/casti/prihlaseni.jsp" flush="false"/> + </c:when> + <c:otherwise> + <jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/> + </c:otherwise> + </c:choose> + <!-- </výběrStránky> --> </jsp:root>