java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
author František Kučera <franta-hg@frantovo.cz>
Sun Aug 15 22:20:10 2010 +0200 (2010-08-15)
changeset 151 d7b5099bf65e
parent 73 34c7eb5f2fae
child 175 a121def64733
permissions -rw-r--r--
chat
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>