Guest User

Untitled

a guest
Dec 11th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. <xsl:template name="FieldRef_header._x041a__x0440__x0430__x0442__x04" ddwrt:dvt_mode="header" match="FieldRef[@Name='_x041a__x0440__x0430__x0442__x04']" mode="header" ddwrt:ghost="hide">
  2. <th nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)">
  3. <xsl:attribute name="class">
  4. <xsl:choose>
  5. <xsl:when test="(@Type='User' or @Type='UserMulti') and ($PresenceEnabled='1')">ms-vh</xsl:when>
  6. <xsl:otherwise>ms-vh2</xsl:otherwise>
  7. </xsl:choose>
  8. </xsl:attribute>
  9. <xsl:call-template name="dvt_headerfield._x041a__x0440__x0430__x0442__x04">
  10. <xsl:with-param name="fieldname">
  11. <xsl:value-of select="@Name"/>
  12. </xsl:with-param>
  13. <xsl:with-param name="fieldtitle">
  14. <xsl:value-of select="@DisplayName"/>
  15. </xsl:with-param>
  16. <xsl:with-param name="displayname">
  17. <xsl:value-of select="@DisplayName"/>
  18. </xsl:with-param>
  19. <xsl:with-param name="fieldtype">
  20. <xsl:choose>
  21. <xsl:when test="@Type='Number' or @Type='Currency'">number</xsl:when>
  22. <xsl:otherwise>x:string</xsl:otherwise>
  23. </xsl:choose>
  24. </xsl:with-param>
  25. </xsl:call-template>
  26. </th>
  27. </xsl:template>
  28. <xsl:template name="FieldRef_header._x041a__x0430__x0442__x0435__x04" ddwrt:dvt_mode="header" match="FieldRef[@Name='_x041a__x0430__x0442__x0435__x04']" mode="header" ddwrt:ghost="hide">
  29. <th nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)">
  30. <xsl:attribute name="class">
  31. <xsl:choose>
  32. <xsl:when test="(@Type='User' or @Type='UserMulti') and ($PresenceEnabled='1')">ms-vh</xsl:when>
  33. <xsl:otherwise>ms-vh2</xsl:otherwise>
  34. </xsl:choose>
  35. </xsl:attribute>
  36. <xsl:call-template name="dvt_headerfield._x041a__x0430__x0442__x0435__x04">
  37. <xsl:with-param name="fieldname">
  38. <xsl:value-of select="@Name"/>
  39. </xsl:with-param>
  40. <xsl:with-param name="fieldtitle">
  41. <xsl:value-of select="@DisplayName"/>
  42. </xsl:with-param>
  43. <xsl:with-param name="displayname">
  44. <xsl:value-of select="@DisplayName"/>
  45. </xsl:with-param>
  46. <xsl:with-param name="fieldtype">
  47. <xsl:choose>
  48. <xsl:when test="@Type='Number' or @Type='Currency'">number</xsl:when>
  49. <xsl:otherwise>x:string</xsl:otherwise>
  50. </xsl:choose>
  51. </xsl:with-param>
  52. </xsl:call-template>
  53. </th>
  54. </xsl:template>
  55. <xsl:template name="FieldRef_header.PublishingContactPicture" ddwrt:dvt_mode="header" match="FieldRef[@Name='PublishingContactPicture']" mode="header" ddwrt:ghost="hide">
  56. <th nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)">
  57. <xsl:attribute name="class">
  58. <xsl:choose>
  59. <xsl:when test="(@Type='User' or @Type='UserMulti') and ($PresenceEnabled='1')">ms-vh</xsl:when>
  60. <xsl:otherwise>ms-vh2</xsl:otherwise>
  61. </xsl:choose>
  62. </xsl:attribute>
  63. <xsl:call-template name="dvt_headerfield.PublishingContactPicture">
  64. <xsl:with-param name="fieldname">
  65. <xsl:value-of select="@Name"/>
  66. </xsl:with-param>
  67. <xsl:with-param name="fieldtitle">
  68. <xsl:value-of select="@DisplayName"/>
  69. </xsl:with-param>
  70. <xsl:with-param name="displayname">
  71. <xsl:value-of select="@DisplayName"/>
  72. </xsl:with-param>
  73. <xsl:with-param name="fieldtype">
  74. <xsl:choose>
  75. <xsl:when test="@Type='Number' or @Type='Currency'">number</xsl:when>
  76. <xsl:otherwise>x:string</xsl:otherwise>
  77. </xsl:choose>
  78. </xsl:with-param>
  79. </xsl:call-template>
  80. </th>
  81. </xsl:template>
  82. <xsl:template name="FieldRef_printTableCell_EcbAllowed._x041a__x0440__x0430__x0442__x04" match="FieldRef[@Name='_x041a__x0440__x0430__x0442__x04']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
  83. <xsl:param name="thisNode" select="."/>
  84. <xsl:param name="class" />
  85. <td>
  86. <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
  87. <xsl:attribute name="height">100%</xsl:attribute>
  88. <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
  89. </xsl:if>
  90. <xsl:attribute name="class">
  91. <xsl:call-template name="getTDClassValue">
  92. <xsl:with-param name="class" select="$class" />
  93. <xsl:with-param name="Type" select="@Type"/>
  94. <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
  95. </xsl:call-template>
  96. </xsl:attribute>
  97. <xsl:apply-templates select="." mode="PrintFieldWithECB">
  98. <xsl:with-param name="thisNode" select="$thisNode"/>
  99. </xsl:apply-templates>
  100. </td>
  101. </xsl:template>
  102. <xsl:template name="FieldRef_printTableCell_EcbAllowed._x041a__x0430__x0442__x0435__x04" match="FieldRef[@Name='_x041a__x0430__x0442__x0435__x04']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
  103. <xsl:param name="thisNode" select="."/>
  104. <xsl:param name="class" />
  105. <td>
  106. <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
  107. <xsl:attribute name="height">100%</xsl:attribute>
  108. <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
  109. </xsl:if>
  110. <xsl:attribute name="class">
  111. <xsl:call-template name="getTDClassValue">
  112. <xsl:with-param name="class" select="$class" />
  113. <xsl:with-param name="Type" select="@Type"/>
  114. <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
  115. </xsl:call-template>
  116. </xsl:attribute>
  117. <xsl:apply-templates select="." mode="PrintFieldWithECB">
  118. <xsl:with-param name="thisNode" select="$thisNode"/>
  119. </xsl:apply-templates>
  120. </td>
  121. </xsl:template>
  122. <xsl:template name="FieldRef_printTableCell_EcbAllowed.PublishingContactPicture" match="FieldRef[@Name='PublishingContactPicture']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
  123. <xsl:param name="thisNode" select="."/>
  124. <xsl:param name="class" />
  125. <td>
  126. <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
  127. <xsl:attribute name="height">100%</xsl:attribute>
  128. <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
  129. </xsl:if>
  130. <xsl:attribute name="class">
  131. <xsl:call-template name="getTDClassValue">
  132. <xsl:with-param name="class" select="$class" />
  133. <xsl:with-param name="Type" select="@Type"/>
  134. <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
  135. </xsl:call-template>
  136. </xsl:attribute>
  137. <xsl:apply-templates select="." mode="PrintFieldWithECB">
  138. <xsl:with-param name="thisNode" select="$thisNode"/>
  139. </xsl:apply-templates>
  140. </td>
  141. </xsl:template>
Add Comment
Please, Sign In to add comment