Zakládání podniků + HTTP autentizace.
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"
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"/>
12 <c:if test="${param.jazyk != null}">
13 <fmt:setLocale value="${param.jazyk}"/>
15 <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
16 <!-- </lokalizace> -->
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">
22 <title><fmt:message key="nazev"/></title>
23 <link href="styl.css" type="text/css" rel="StyleSheet"/>
29 <h1><fmt:message key="nazev"/></h1>
33 <li><a href="?">Úvod</a></li>
34 <li><a href="${pageContext.servletContext.contextPath}/sprava">Správa</a></li>
35 <c:if test="${pageContext.request.userPrincipal.name != null}">
36 <li><a href="?akce=pridatPodnik">Přidat podnik</a></li>
37 <li id="prihlasenyUzivatel">Přihlášený uživatel: ${pageContext.request.userPrincipal.name}</li>
45 <c:when test="${param.akce == 'detail'}">
46 <jsp:include page="/WEB-INF/casti/detail.jsp" flush="false"/>
48 <c:when test="${param.akce == 'pridatPodnik'}">
49 <jsp:include page="/WEB-INF/casti/pridatPodnik.jsp" flush="false"/>
52 <jsp:include page="/WEB-INF/casti/uvod.jsp" flush="false"/>
60 © 2010 nekurak.net. Licence: Affero GPL.
61 <a href="${pageContext.servletContext.contextPath}/nekurak.net-src.zip">nekurak.net-src.zip</a>
62 <a href="${pageContext.servletContext.contextPath}/nekurak.net-src.zip.SHA-512">.</a>