author | František Kučera <franta-hg@frantovo.cz> |
Sun Jun 13 17:20:20 2010 +0200 (2010-06-13) | |
changeset 140 | 0f2df9746a2c |
parent 53 | d76be0124c40 |
child 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
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@41 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@41 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@41 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@73 | 6 |
xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" |
franta-hg@41 | 7 |
version="2.0"> |
franta-hg@41 | 8 |
|
franta-hg@41 | 9 |
<c:choose> |
franta-hg@41 | 10 |
<c:when test="${param.odhlasit == 'ano'}"> |
franta-hg@73 | 11 |
<fmt:message key="prihlaseni.nadpis.odhlaseni" var="titulekStranky"/> |
franta-hg@73 | 12 |
<nk:stranka titulek="${titulekStranky}"> |
franta-hg@73 | 13 |
<p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p> |
franta-hg@73 | 14 |
</nk:stranka> |
franta-hg@41 | 15 |
</c:when> |
franta-hg@41 | 16 |
<c:otherwise> |
franta-hg@73 | 17 |
<fmt:message key="prihlaseni.nadpis" var="titulekStranky"/> |
franta-hg@73 | 18 |
<nk:stranka titulek="${titulekStranky}"> |
franta-hg@73 | 19 |
<h1><c:out value="${titulekStranky}"/></h1> |
franta-hg@73 | 20 |
<p><fmt:message key="prihlaseni.zadejte"/></p> |
franta-hg@41 | 21 |
|
franta-hg@73 | 22 |
<c:if test="${param.chyba == 'ano'}"> |
franta-hg@73 | 23 |
<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p> |
franta-hg@73 | 24 |
</c:if> |
franta-hg@41 | 25 |
|
franta-hg@73 | 26 |
<form method="post" action="j_security_check"> |
franta-hg@73 | 27 |
<fieldset> |
franta-hg@73 | 28 |
<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/> |
franta-hg@73 | 29 |
<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/> |
franta-hg@73 | 30 |
<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button> |
franta-hg@73 | 31 |
</fieldset> |
franta-hg@73 | 32 |
</form> |
franta-hg@73 | 33 |
</nk:stranka> |
franta-hg@41 | 34 |
</c:otherwise> |
franta-hg@41 | 35 |
</c:choose> |
franta-hg@41 | 36 |
|
franta-hg@41 | 37 |
|
franta-hg@41 | 38 |
</jsp:root> |