java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
author František Kučera <franta-hg@frantovo.cz>
Sun, 14 Mar 2010 01:37:40 +0100
changeset 68 df5aedafb826
parent 53 d76be0124c40
child 73 34c7eb5f2fae
permissions -rw-r--r--
Fotky se zobrazují ty, které jsou v databázi
(jen záznamy – soubory s fotkami jsou na disku).
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@41
     6
	  version="2.0">
franta-hg@41
     7
franta-hg@41
     8
    <jsp:useBean id="podnik" class="cz.frantovo.nekurak.dto.Podnik" scope="request"/>
franta-hg@41
     9
    <jsp:useBean id="pridatPodnik" class="cz.frantovo.nekurak.web.PridatPodnik" scope="request"/>
franta-hg@41
    10
franta-hg@41
    11
franta-hg@41
    12
    <c:choose>
franta-hg@41
    13
	<c:when test="${param.odhlasit == 'ano'}">
franta-hg@42
    14
	    <p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
franta-hg@41
    15
	</c:when>
franta-hg@41
    16
	<c:otherwise>
franta-hg@42
    17
	    <h1><fmt:message key="prihlaseni.nadpis"/></h1>
franta-hg@42
    18
	    <p><fmt:message key="prihlaseni.zadejte"/></p>
franta-hg@41
    19
franta-hg@41
    20
	    <c:if test="${param.chyba == 'ano'}">
franta-hg@53
    21
		<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
franta-hg@41
    22
	    </c:if>
franta-hg@41
    23
franta-hg@41
    24
	    <form method="post" action="j_security_check">
franta-hg@41
    25
		<fieldset>
franta-hg@42
    26
		    <label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
franta-hg@42
    27
		    <label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
franta-hg@42
    28
		    <button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
franta-hg@41
    29
		</fieldset>
franta-hg@41
    30
	    </form>
franta-hg@41
    31
	</c:otherwise>
franta-hg@41
    32
    </c:choose>
franta-hg@41
    33
franta-hg@41
    34
franta-hg@41
    35
franta-hg@41
    36
</jsp:root>