Changeset 3088
- Timestamp:
- 12/10/10 14:11:41
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.7/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/featuredEvents.xsl
r3086 r3088 60 60 <xsl:template match="image"> 61 61 <xsl:param name="singleMode">false</xsl:param> 62 <xsl:variable name="imgPrefix"><xsl:choose><xsl:when test="not(starts-with(name,'http') or starts-with(name,'/'))"><xsl:value-of select="$resourcesRoot"/>/featured/</xsl:when></xsl:choose></xsl:variable> 62 63 <xsl:choose> 63 64 <xsl:when test="link = ''"> 64 65 <img width="241" height="189"> 65 <xsl:attribute name="src"><xsl:value-of select="$ resourcesRoot"/>/featured/<xsl:value-of select="name"/></xsl:attribute>66 <xsl:attribute name="src"><xsl:value-of select="$imgPrefix"/><xsl:value-of select="name"/></xsl:attribute> 66 67 <xsl:attribute name="alt"><xsl:value-of select="toolTip"/></xsl:attribute> 67 68 <xsl:if test="$singleMode = 'true'"> … … 74 75 <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute> 75 76 <img width="241" height="189"> 76 <xsl:attribute name="src"><xsl:value-of select="$ resourcesRoot"/>/featured/<xsl:value-of select="name"/></xsl:attribute>77 <xsl:attribute name="src"><xsl:value-of select="$imgPrefix"/><xsl:value-of select="name"/></xsl:attribute> 77 78 <xsl:attribute name="alt"><xsl:value-of select="toolTip"/></xsl:attribute> 78 79 <xsl:if test="$singleMode = 'true'">
