Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal" xmlns:o="urn:schemas-microsoft-com:office:office">
- <xsl:include href="/_layouts/xsl/main.xsl" />
- <xsl:include href="/_layouts/xsl/internal.xsl" />
- <xsl:param name="AllRows" select="/dsQueryResponse/Rows/Row[$EntityName = '' or (position() >= $FirstRow and position() <= $LastRow)]" />
- <xsl:param name="dvt_apos">'</xsl:param>
- <xsl:param name="Today">CurrentDate</xsl:param>
- <xsl:template name="FieldRef_printTableCell_EcbAllowed.Due_x0020_Date0" match="FieldRef[@Name='Due_x0020_Date0']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="" xmlns:ddwrt2="urn:frontpage:internal">
- <xsl:param name="thisNode" select="." />
- <xsl:param name="class" />
- <td>
- <xsl:attribute name="style">
- <xsl:if test="ddwrt:DateTimeTick(ddwrt:GenDisplayName(string($thisNode/@Due_x0020_Date0))) > ddwrt:DateTimeTick(ddwrt:GenDisplayName(string($Today)))" ddwrt:cf_explicit="1">
- background-color: #FF0000;
- </xsl:if>
- </xsl:attribute>
- <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
- <xsl:attribute name="height">100%</xsl:attribute>
- <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
- </xsl:if>
- <xsl:attribute name="class">
- <xsl:call-template name="getTDClassValue">
- <xsl:with-param name="class" select="$class" />
- <xsl:with-param name="Type" select="@Type" />
- <xsl:with-param name="ClassInfo" select="@ClassInfo" />
- </xsl:call-template>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="PrintFieldWithECB">
- <xsl:with-param name="thisNode" select="$thisNode" />
- </xsl:apply-templates>
- </td>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement