java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
changeset 145 0efefbf5f8b6
parent 73 34c7eb5f2fae
child 175 a121def64733
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp	Thu Mar 18 14:22:16 2010 +0100
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp	Sun Jun 20 14:46:47 2010 +0200
     1.3 @@ -1,38 +1,38 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     1.6 -	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     1.7 -	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     1.8 -	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     1.9 -	  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
    1.10 -	  version="2.0">
    1.11 +		  xmlns:c="http://java.sun.com/jsp/jstl/core"
    1.12 +		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
    1.13 +		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
    1.14 +		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
    1.15 +		  version="2.0">
    1.16  
    1.17 -    <c:choose>
    1.18 -	<c:when test="${param.odhlasit == 'ano'}">
    1.19 -	    <fmt:message key="prihlaseni.nadpis.odhlaseni" var="titulekStranky"/>
    1.20 -	    <nk:stranka titulek="${titulekStranky}">
    1.21 -		<p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
    1.22 -	    </nk:stranka>
    1.23 -	</c:when>
    1.24 -	<c:otherwise>
    1.25 -	    <fmt:message key="prihlaseni.nadpis" var="titulekStranky"/>
    1.26 -	    <nk:stranka titulek="${titulekStranky}">
    1.27 -		<h1><c:out value="${titulekStranky}"/></h1>
    1.28 -		<p><fmt:message key="prihlaseni.zadejte"/></p>
    1.29 +	<c:choose>
    1.30 +		<c:when test="${param.odhlasit == 'ano'}">
    1.31 +			<fmt:message key="prihlaseni.nadpis.odhlaseni" var="titulekStranky"/>
    1.32 +			<nk:stranka titulek="${titulekStranky}">
    1.33 +				<p><fmt:message key="prihlaseni.odhlaseniUspesne"/></p>
    1.34 +			</nk:stranka>
    1.35 +		</c:when>
    1.36 +		<c:otherwise>
    1.37 +			<fmt:message key="prihlaseni.nadpis" var="titulekStranky"/>
    1.38 +			<nk:stranka titulek="${titulekStranky}">
    1.39 +				<h1><c:out value="${titulekStranky}"/></h1>
    1.40 +				<p><fmt:message key="prihlaseni.zadejte"/></p>
    1.41  
    1.42 -		<c:if test="${param.chyba == 'ano'}">
    1.43 -		    <p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
    1.44 -		</c:if>
    1.45 +				<c:if test="${param.chyba == 'ano'}">
    1.46 +					<p class="chybovaHlaska"><fmt:message key="prihlaseni.chyba"/></p>
    1.47 +				</c:if>
    1.48  
    1.49 -		<form method="post" action="j_security_check">
    1.50 -		    <fieldset>
    1.51 -			<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
    1.52 -			<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
    1.53 -			<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
    1.54 -		    </fieldset>
    1.55 -		</form>
    1.56 -	    </nk:stranka>
    1.57 -	</c:otherwise>
    1.58 -    </c:choose>
    1.59 +				<form method="post" action="j_security_check">
    1.60 +					<fieldset>
    1.61 +						<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
    1.62 +						<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
    1.63 +						<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
    1.64 +					</fieldset>
    1.65 +				</form>
    1.66 +			</nk:stranka>
    1.67 +		</c:otherwise>
    1.68 +	</c:choose>
    1.69  
    1.70  
    1.71  </jsp:root>