<!-- begin template match for event boxes snippet --> | |
<xsl:template match="table[@class='snippet-event-boxes']" mode="copy"> | |
<div class="row uthsc-events"> | |
<xsl:choose> | |
<xsl:when test="$ou:action = 'pub'"> | |
<xsl:value-of select="concat('<?php readfile("http://events.uthsc.edu/widgets/uthsc-events-feed-emerald.php?category=',replace(tbody/tr[2]/td[2]/node(),' ',''),'&return_limit=',tbody/tr[3]/td[2]/node(),'"); ?>')" disable-output-escaping="yes"/> | |
</xsl:when> | |
<xsl:otherwise> | |
<div class="callout secondary"><p><span class="fa fa-info-circle fa-2x" style="vertical-align: -20%;margin-right: 0.3em;color:#002664;" aria-hidden="true"></span> The Events will only show up once the page has been published.</p></div> | |
</xsl:otherwise> | |
</xsl:choose> | |
</div> | |
</xsl:template> | |
<!-- end template match for event boxes snippet --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment