Changeset 1180
- Timestamp:
- 12/27/06 10:52:59
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1179 r1180 1021 1021 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 1022 1022 <xsl:value-of select="."/><xsl:choose> 1023 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 1023 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 1024 substring(., string-length(.)-1, 2) = '12' or 1025 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 1024 1026 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 1025 1027 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when> … … 1037 1039 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 1038 1040 <xsl:value-of select="."/><xsl:choose> 1039 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 1041 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 1042 substring(., string-length(.)-1, 2) = '12' or 1043 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 1040 1044 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 1041 1045 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when> … … 1053 1057 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 1054 1058 <xsl:value-of select="."/><xsl:choose> 1055 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 1059 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 1060 substring(., string-length(.)-1, 2) = '12' or 1061 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 1056 1062 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 1057 1063 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when> trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1179 r1180 2208 2208 <td class="fieldval"> 2209 2209 <!-- Output descriptive recurrence information. Probably not 2210 complete yet. Replace all freq strings so can be internationalized. --> 2210 complete yet. Replace all strings so can be 2211 more easily internationalized. --> 2211 2212 <xsl:if test="form/recurrence"> 2212 2213 <div id="recurrenceInfo"> … … 2284 2285 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 2285 2286 <xsl:value-of select="."/><xsl:choose> 2286 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 2287 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 2288 substring(., string-length(.)-1, 2) = '12' or 2289 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 2287 2290 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 2288 2291 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when> … … 2300 2303 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 2301 2304 <xsl:value-of select="."/><xsl:choose> 2302 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 2305 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 2306 substring(., string-length(.)-1, 2) = '12' or 2307 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 2303 2308 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 2304 2309 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when> … … 2316 2321 <xsl:if test="position() != 1 and position() = last()"> and </xsl:if> 2317 2322 <xsl:value-of select="."/><xsl:choose> 2318 <xsl:when test=". = '11' or . = '12' or . = '13'">th</xsl:when> 2323 <xsl:when test="substring(., string-length(.)-1, 2) = '11' or 2324 substring(., string-length(.)-1, 2) = '12' or 2325 substring(., string-length(.)-1, 2) = '13'">th</xsl:when> 2319 2326 <xsl:when test="substring(., string-length(.), 1) = '1'">st</xsl:when> 2320 2327 <xsl:when test="substring(., string-length(.), 1) = '2'">nd</xsl:when>
