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,24 +139,24 @@
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
</script> </script>
</p> </p>
<!-- google ads --> <xsl:if test="$ads">
<!-- <!-- google ads -->
<p> <p>
<script type="text/javascript"> <script type="text/javascript">
google_ad_client = "pub-5235744946475097"; google_ad_client = "pub-5235744946475097";
google_ad_width = 728; google_ad_width = 728;
google_ad_height = 90; google_ad_height = 90;
google_ad_format = "728x90_as"; google_ad_format = "728x90_as";
google_ad_type = "text_image"; google_ad_type = "text_image";
//2007-03-21: mcc //2007-03-21: mcc
google_ad_channel = "1106187834"; google_ad_channel = "1106187834";
</script> </script>
<script type="text/javascript" <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<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>