do do do ...

This commit is contained in:
Holden Karau 2006-05-20 02:46:54 +00:00
parent 1234082161
commit d99e34687c
3 changed files with 11 additions and 2 deletions

View File

@ -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 ..

View File

@ -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"

View File

@ -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>