1.1 --- a/java/nekurak.net-web/web/WEB-INF/tags/nekurak/hlasovani.tag Tue Apr 27 22:41:04 2010 +0200
1.2 +++ b/java/nekurak.net-web/web/WEB-INF/tags/nekurak/hlasovani.tag Wed Apr 28 00:04:13 2010 +0200
1.3 @@ -3,6 +3,8 @@
1.4 xmlns:c="http://java.sun.com/jsp/jstl/core"
1.5 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
1.6 xmlns:fn="http://java.sun.com/jsp/jstl/functions"
1.7 + xmlns:svg="http://www.w3.org/2000/svg"
1.8 + xmlns:xlink="http://www.w3.org/1999/xlink"
1.9 version="2.0">
1.10
1.11 <jsp:directive.attribute name="podnik" type="java.lang.Integer" required="true" description="ID podniku"/>
1.12 @@ -25,9 +27,11 @@
1.13
1.14 <c:choose>
1.15 <c:when test="${svgUvnitrXhtml}">
1.16 - <svg width="200" height="200"
1.17 + <svg version="1.1"
1.18 + baseProfile="full"
1.19 xmlns="http://www.w3.org/2000/svg"
1.20 - xmlns:xlink="http://www.w3.org/1999/xlink">
1.21 + xmlns:xlink="http://www.w3.org/1999/xlink"
1.22 + width="200" height="200">
1.23
1.24
1.25 <style type="text/css">
1.26 @@ -118,7 +122,7 @@
1.27 <fmt:param value="${hlasuNe}"/>
1.28 </fmt:message>
1.29 <a xlink:href="javascript:hlasovani.hlasuj(${podnik}, false);" xlink:title="${hlasuNeLokalizace}">
1.30 - <text x="30" y="195" class="ne">nekouřit</text>
1.31 + <text x="30" y="195" class="ne"><fmt:message key="hlasovani.graf.nekourit"/></text>
1.32 <rect x="30" y="${180 - hlasuNeVyska}" width="50" height="${hlasuNeVyska}" class="ne"/>
1.33 </a>
1.34
1.35 @@ -127,7 +131,7 @@
1.36 <fmt:param value="${hlasuAno}"/>
1.37 </fmt:message>
1.38 <a xlink:href="javascript:hlasovani.hlasuj(${podnik}, true);" xlink:title="${hlasuAnoLokalizace}">
1.39 - <text x="130" y="195" class="ano">kouřit</text>
1.40 + <text x="130" y="195" class="ano"><fmt:message key="hlasovani.graf.kourit"/></text>
1.41 <rect x="120" y="${180 - hlasuAnoVyska}" width="50" height="${hlasuAnoVyska}" class="ano"/>
1.42 </a>
1.43 </svg>