h2o is back up
[mspang/www.git] / cscweb.xsl
index 29b4020..dc0b69b 100755 (executable)
@@ -14,6 +14,7 @@
 <html>
 <head>
  <title><xsl:value-of select="@title"/></title>
+  <link rel="stylesheet" href="/default.css" type="text/css" />
   <style type="text/css">
    <![CDATA[<!-- @import url('/default.css'); -->]]>
   </style>
   <xsl:value-of select="$time"/>.
  </p>
  <p>
-   We recently switched to our new website. The <a href="/old/">old
-   website (as of 2002-08-10)</a> is still available.
- </p>
- <p>
-   Copyright 2002 the Computer Science Club of the University of
-   Waterloo. Please direct website comments to the <a
-   href="mailto:www@csclub.uwaterloo.ca">Webmaster</a>. 
+   Copyright
+   <xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text>
+   2002<xsl:text disable-output-escaping="yes">&amp;ndash;</xsl:text>2004
+   Computer Science Club of the University of Waterloo.<br />
+   KDE Crystal theme icons are copyright
+   <xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text>
+   2002 and following years KDE Artists.<br />
+   Please direct website comments to the <a
+   href="mailto:www@csclub.uwaterloo.ca">Webmaster</a>.
  </p>
 </xsl:template>
 
 <xsl:template match="newsitem">
    <tr>
     <td class="newsdate" bgcolor="#eeeeff"><xsl:value-of select="@date"/></td>
-    <td rowspan="2" valign="top" class="newsitem"><xsl:apply-templates/></td>
+    <td rowspan="2" valign="top" class="newsitem" bgcolor="white"><xsl:apply-templates/></td>
    </tr>
    <tr>
     <td class="newsauthor" bgcolor="#eeeeff"><xsl:value-of select="@author"/></td>
 
 <xsl:template match="news" name="news">
  <tr>
-  <th colspan="2" class="news">
+  <th colspan="2" class="news" bgcolor="#aaaaff">
    News
   </th>
  </tr>
 
 <xsl:template match="events" name="events">
    <tr>
-    <th colspan="2" class="news">
+    <th colspan="2" class="news" bgcolor="#aaaaff">
      Upcoming Events
     </th>
    </tr>
     </xsl:if>
    </xsl:for-each>
    <tr>
-    <td class="eventitem" colspan="2"><a href="events/">Past
+    <td class="eventitem" bgcolor="white" colspan="2"><a href="events/">Past
     events</a> are available.</td>
    </tr>
 </xsl:template>
  <li><xsl:value-of select="@name"/> is this term's <b><xsl:value-of
  select="@position"/></b>. You can <a
  href="mailto:{@userid}@csclub.uwaterloo.ca">e-mail the <xsl:value-of select="@position"/></a><xsl:if
- test="not(@href='')"> or <a href="{@href}">visit his or her
+ test="not(@href='')"> or <a href="{@href}">visit 
+ <xsl:choose>
+  <xsl:when test="@sex='male'"> his </xsl:when>
+  <xsl:when test="@sex='female'"> her </xsl:when>
+  <xsl:otherwise> his or her </xsl:otherwise>
+ </xsl:choose>
  homepage</a></xsl:if>.
  </li>
 </xsl:template>