Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!-- begin template match for event boxes snippet -->
<xsl:template match="table[@class='snippet-event-boxes']" mode="copy">
<div class="row uthsc-events">
<xsl:when test="$ou:action = 'pub'">
<xsl:value-of select="concat('&lt;?php readfile(&quot;',replace(tbody/tr[2]/td[2]/node(),' ',''),'&amp;return_limit=',tbody/tr[3]/td[2]/node(),'&quot;); ?&gt;')" disable-output-escaping="yes"/>
<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>
<!-- 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