FSN#27789 Toevoeging Security

svn path=/Website/branches/v5.3.2/; revision=19693
This commit is contained in:
Peter Koerhuis
2013-11-01 15:44:26 +00:00
parent 10c48f2ad1
commit 017e26e3cb

View File

@@ -386,4 +386,57 @@ function startAutoRefreshTim() {
</xsl:if>
</xsl:template>
<xsl:template match="melding" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'MLDKTO'">
<xsl:apply-templates select="." mode="kto"/>
</xsl:when>
<xsl:when test="stdmelding/key = '1241'">
<p>Dienstrapport van <xsl:value-of select="melder/naam_full"/></p>
<table cellspacing="2">
<tr><td>Aanmaak rapport: </td><td><xsl:value-of select="begindatum/datum"/>&#160;<xsl:value-of select="begindatum/tijd"/></td></tr>
<xsl:for-each select="tracking/track">
<xsl:if test="code='MLDAFM'">
<tr><td>Afsluiten rapport: </td><td><xsl:value-of select="datum/datum"/>&#160;<xsl:value-of select="datum/tijd"/></td></tr>
</xsl:if>
</xsl:for-each>
</table>
<hr/>
<table cellspacing="10">
<xsl:for-each select="notes/note">
<xsl:sort select="aanmaak"/>
<tr>
<td><xsl:value-of select="aanmaak/tijd"/></td>
<td>
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="include"/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>