java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
author František Kučera <franta-hg@frantovo.cz>
Wed Jul 20 18:55:25 2011 +0200 (2011-07-20)
changeset 191 19128e9f7fb1
parent 145 0efefbf5f8b6
permissions -rw-r--r--
širší mapa + souřadnice a odkaz na OSM vedle ní
     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 		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     6 		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
     7 		  version="2.0">
     8 
     9 	<c:choose>
    10 		<c:when test="${param.odhlasit == 'ano'}">
    11 			<fmt:message key="prihlaseni.nadpis.odhlaseni" var="titulekStranky"/>
    12 			<nk:stranka titulek="${titulekStranky}">
    13 				<p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
    14 			</nk:stranka>
    15 		</c:when>
    16 		<c:otherwise>
    17 			<fmt:message key="prihlaseni.nadpis" var="titulekStranky"/>
    18 			<nk:stranka titulek="${titulekStranky}">
    19 				<h1><c:out value="${titulekStranky}"/></h1>
    20 				<p><fmt:message key="prihlaseni.zadejte"/></p>
    21 
    22 				<c:if test="${param.chyba == 'ano'}">
    23 					<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
    24 				</c:if>
    25 
    26 				<form method="post" action="j_security_check">
    27 					<fieldset>
    28 						<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username" maxlength="64"/></label><br/>
    29 						<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
    30 						<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
    31 					</fieldset>
    32 				</form>
    33 			</nk:stranka>
    34 		</c:otherwise>
    35 	</c:choose>
    36 
    37 
    38 </jsp:root>