author | František Kučera <franta-hg@frantovo.cz> |
Mon May 24 20:13:30 2010 +0200 (2010-05-24) | |
changeset 120 | 052107272005 |
parent 58 | e019dbc42723 |
child 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
franta-hg@58 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@58 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@58 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@58 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@58 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@68 | 6 |
xmlns:nkfn="/WEB-INF/nekurakFunkce" |
franta-hg@58 | 7 |
version="2.0"> |
franta-hg@58 | 8 |
|
franta-hg@68 | 9 |
<jsp:directive.attribute name="podnik" type="cz.frantovo.nekurak.dto.Podnik" required="true"/> |
franta-hg@58 | 10 |
|
franta-hg@68 | 11 |
<div id="fotkyPodniku${podnik.id}"> |
franta-hg@68 | 12 |
<c:forEach var="fotka" items="${podnik.fotky}"> |
franta-hg@68 | 13 |
<p> |
franta-hg@68 | 14 |
<a href="${nkfn:fotka(fotka.id, false)}"> |
franta-hg@68 | 15 |
<img src="${nkfn:fotka(fotka.id, true)}" alt="fotka" title="${fn:escapeXml(fotka.popis)}"/> |
franta-hg@68 | 16 |
</a> |
franta-hg@68 | 17 |
</p> |
franta-hg@68 | 18 |
</c:forEach> |
franta-hg@58 | 19 |
<p><img src="grafika/fotkaPodnikuZadne.png" alt="žádné další fotografie"/></p> |
franta-hg@58 | 20 |
</div> |
franta-hg@58 | 21 |
|
franta-hg@68 | 22 |
<c:if test="${nkfn:maFotky(podnik)}"> |
franta-hg@68 | 23 |
<script type="text/javascript"> |
franta-hg@68 | 24 |
fotkyPodniku.aktivuj(${podnik.id}); |
franta-hg@68 | 25 |
</script> |
franta-hg@68 | 26 |
</c:if> |
franta-hg@58 | 27 |
</jsp:root> |