Nothing to see, move along

This commit is contained in:
David Bartley 2007-09-10 19:58:22 -04:00
parent ce1197266d
commit b987680082
1 changed files with 20 additions and 18 deletions

View File

@ -33,6 +33,7 @@
<xsl:call-template name="makemediaitem"> <xsl:call-template name="makemediaitem">
<xsl:with-param name="mirror" select="$mirror_csc" /> <xsl:with-param name="mirror" select="$mirror_csc" />
<xsl:with-param name="bittorrent">yes</xsl:with-param> <xsl:with-param name="bittorrent">yes</xsl:with-param>
<xsl:with-param name="ads">yes</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:call-template name="makemediaitem"> <xsl:call-template name="makemediaitem">
<xsl:with-param name="suffix">-uw</xsl:with-param> <xsl:with-param name="suffix">-uw</xsl:with-param>
@ -52,6 +53,7 @@
<xsl:param name="infotext" /> <xsl:param name="infotext" />
<xsl:param name="mirror" /> <xsl:param name="mirror" />
<xsl:param name="bittorrent" /> <xsl:param name="bittorrent" />
<xsl:param name="ads" />
<xsl:variable name="realurl" select="concat('http://csclub.uwaterloo.ca/media/', fn:encode-for-uri(@title), '.html')" /> <xsl:variable name="realurl" select="concat('http://csclub.uwaterloo.ca/media/', fn:encode-for-uri(@title), '.html')" />
<xsl:result-document method="xml" encoding="ISO-8859-1" <xsl:result-document method="xml" encoding="ISO-8859-1"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
@ -137,8 +139,8 @@
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
</script> </script>
</p> </p>
<xsl:if test="$ads">
<!-- google ads --> <!-- google ads -->
<!--
<p> <p>
<script type="text/javascript"> <script type="text/javascript">
google_ad_client = "pub-5235744946475097"; google_ad_client = "pub-5235744946475097";
@ -154,7 +156,7 @@
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
</script> </script>
</p> </p>
--> </xsl:if>
<xsl:call-template name="footer" /> <xsl:call-template name="footer" />
</div></body> </div></body>
</html> </html>