do do do ...

foo
Holden Karau 17 years ago
parent 1234082161
commit d99e34687c
  1. 4
      Makefile
  2. 8
      cscweb.xsl
  3. 1
      menu.xml

@ -1,8 +1,8 @@
INPUTS = index.xml
SUBDIRS = about events docs office news users clubs
SUBDIRS = about events docs office news users clubs media
# the following two rules are there so cow gets built first.
cow-first: recurse-cow books.xml members.xml all
cow-first: recurse-cow books.xml members.xml menu.xml all
recurse-cow:
cd cow && $(MAKE) && cd ..

@ -52,6 +52,14 @@
</table>
</xsl:template>
<xsl:template match="mediafile" >
,<a href="/media/files/{@file}"><xsl:value-of select="@type" />(<xsl:value-of select="@size" />)</a>
</xsl:template>
<xsl:template match="mediaitem">
<li><xsl:value-of select="@title" /> - <xsl:apply-templates select="mediafile" /></li>
</xsl:template>
<xsl:template match="menuitem">
<td bgcolor="#eeeeee" class="button">
<a href="{@href}"><img border="0" src="/buttons/{@icon}.png"

@ -9,4 +9,5 @@
<menuitem title="Users" icon="users" href="/users/"/>
<menuitem title="Clubs" icon="clubs" href="/clubs/"/>
<menuitem title="Stats" icon="stats" href="/stats/"/>
<menuitem title="Media" icon="csc" href="/media/"/>
</menudefs>

Loading…
Cancel
Save