1.1 --- a/šablona/stránka.xsl Thu Apr 28 00:16:27 2011 +0200
1.2 +++ b/šablona/stránka.xsl Sat Apr 30 12:48:19 2011 +0200
1.3 @@ -27,6 +27,9 @@
1.4 <xsl:variable name="konfigurace" select="document(concat($vstup, 'web.conf'))"/>
1.5 <html>
1.6 <head>
1.7 + <xsl:if test="$podporaZaostalýchProhlížečů">
1.8 + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
1.9 + </xsl:if>
1.10 <title><xsl:value-of select="g:stránka/g:nadpis"/></title>
1.11 <link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/>
1.12 <link title="Novinky (RSS)" href="rss.xml" type="application/rss+xml" rel="alternate"/>
1.13 @@ -97,7 +100,7 @@
1.14 <xsl:choose>
1.15 <xsl:when test="$hodnota >= 0 and $hodnota <= 100">
1.16 <div style="border: 1px solid black; width: {$šířkaGrafu}px; height: 16px; padding: 0px; text-align: center; background-color: #cfc;">
1.17 - <div style="margin: 0px; background-color: #A4E666; width: {@hodnota*$šířkaGrafu div 100}px; height: 16px;"/>
1.18 + <div style="margin: 0px; background-color: #A4E666; width: {@hodnota*$šířkaGrafu div 100}px; height: 16px;"><xsl:call-template name="varováníRetardace"/></div>
1.19 <p style="margin: 0px; font-size: 12px; position: relative; top: -15px;">
1.20 <xsl:value-of select="@hodnota"/>/100
1.21 </p>