java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
author František Kučera <franta-hg@frantovo.cz>
Sat, 15 Jan 2011 01:12:36 +0100
changeset 171 e619057bad66
parent 145 0efefbf5f8b6
child 175 a121def64733
permissions -rw-r--r--
Filtrování podniků podle kuřáckosti.
franta-hg@41
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@41
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@145
     3
		  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@145
     4
		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@145
     5
		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
franta-hg@145
     6
		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
franta-hg@145
     7
		  version="2.0">
franta-hg@41
     8
franta-hg@145
     9
	<c:choose>
franta-hg@145
    10
		<c:when test="${param.odhlasit == 'ano'}">
franta-hg@145
    11
			<fmt:message key="prihlaseni.nadpis.odhlaseni" var="titulekStranky"/>
franta-hg@145
    12
			<nk:stranka titulek="${titulekStranky}">
franta-hg@145
    13
				<p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
franta-hg@145
    14
			</nk:stranka>
franta-hg@145
    15
		</c:when>
franta-hg@145
    16
		<c:otherwise>
franta-hg@145
    17
			<fmt:message key="prihlaseni.nadpis" var="titulekStranky"/>
franta-hg@145
    18
			<nk:stranka titulek="${titulekStranky}">
franta-hg@145
    19
				<h1><c:out value="${titulekStranky}"/></h1>
franta-hg@145
    20
				<p><fmt:message key="prihlaseni.zadejte"/></p>
franta-hg@41
    21
franta-hg@145
    22
				<c:if test="${param.chyba == 'ano'}">
franta-hg@145
    23
					<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
franta-hg@145
    24
				</c:if>
franta-hg@41
    25
franta-hg@145
    26
				<form method="post" action="j_security_check">
franta-hg@145
    27
					<fieldset>
franta-hg@145
    28
						<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
franta-hg@145
    29
						<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
franta-hg@145
    30
						<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
franta-hg@145
    31
					</fieldset>
franta-hg@145
    32
				</form>
franta-hg@145
    33
			</nk:stranka>
franta-hg@145
    34
		</c:otherwise>
franta-hg@145
    35
	</c:choose>
franta-hg@41
    36
franta-hg@41
    37
franta-hg@41
    38
</jsp:root>