Added mediaitem "buttons" attribute to conditionally display digg/reddit buttons.
Added "buttons" attribute to RMS page. Remoevd "Site Updated" section on main page.
This commit is contained in:
parent
0b7aeb4ea8
commit
bff40bd0e8
15
cscweb.xsl
15
cscweb.xsl
|
@ -139,12 +139,6 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<!-- Slashdot It link -->
|
|
||||||
<!-- <a
|
|
||||||
href="javascript:location.href='http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)"> <img src="http://images.slashdot.org/favicon.gif" alt="Slashdot" border="0" height="16" width="16"></img></a>
|
|
||||||
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
|
|
||||||
<a href="javascript:location.href='http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)">Slashdot It!</a> -->
|
|
||||||
|
|
||||||
<!-- AddThis Bookmark Button -->
|
<!-- AddThis Bookmark Button -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
addthis_url = location.href;
|
addthis_url = location.href;
|
||||||
|
@ -152,9 +146,18 @@ href="javascript:location.href='http://slashdot.org/bookmark.pl?url='+encodeURIC
|
||||||
addthis_pub = 'calumt';
|
addthis_pub = 'calumt';
|
||||||
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
|
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
|
||||||
|
|
||||||
|
<xsl:if test="@buttons">
|
||||||
|
|
||||||
|
<br/><br/>
|
||||||
<!-- digg button -->
|
<!-- digg button -->
|
||||||
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
|
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
|
||||||
|
|
||||||
|
<!-- reddit button -->
|
||||||
<script language="javascript" src="http://reddit.com/button.js?t=3"></script>
|
<script language="javascript" src="http://reddit.com/button.js?t=3"></script>
|
||||||
|
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<!-- google ads -->
|
||||||
<!--
|
<!--
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
google_ad_client = "pub-5235744946475097";
|
google_ad_client = "pub-5235744946475097";
|
||||||
|
|
|
@ -15,14 +15,6 @@
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section title="Site Updated!">
|
|
||||||
<p>
|
|
||||||
The design is now finalized. It is compatible with any browsers, especially
|
|
||||||
ones that recognize HTML 4.1, XML/XHTML 1.1 and CSS 3.0 (Stable
|
|
||||||
Specification).
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section title="News and Upcoming Events">
|
<section title="News and Upcoming Events">
|
||||||
<news-and-events />
|
<news-and-events />
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<flvfile file="pmc-sasms-spring-2007.flv" />
|
<flvfile file="pmc-sasms-spring-2007.flv" />
|
||||||
</mediaitem>
|
</mediaitem>
|
||||||
|
|
||||||
<mediaitem title="Copyright vs Community in the Age of Computer Networks">
|
<mediaitem title="Copyright vs Community in the Age of Computer Networks" buttons="true">
|
||||||
<abstract>
|
<abstract>
|
||||||
Copyright developed in the age of the printing press, and was designed to
|
Copyright developed in the age of the printing press, and was designed to
|
||||||
fit with the system of centralized copying imposed by the printing press.
|
fit with the system of centralized copying imposed by the printing press.
|
||||||
|
|
Loading…
Reference in New Issue