do do do ...
This commit is contained in:
parent
1234082161
commit
d99e34687c
4
Makefile
4
Makefile
|
@ -1,8 +1,8 @@
|
||||||
INPUTS = index.xml
|
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.
|
# 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:
|
recurse-cow:
|
||||||
cd cow && $(MAKE) && cd ..
|
cd cow && $(MAKE) && cd ..
|
||||||
|
|
|
@ -52,6 +52,14 @@
|
||||||
</table>
|
</table>
|
||||||
</xsl:template>
|
</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">
|
<xsl:template match="menuitem">
|
||||||
<td bgcolor="#eeeeee" class="button">
|
<td bgcolor="#eeeeee" class="button">
|
||||||
<a href="{@href}"><img border="0" src="/buttons/{@icon}.png"
|
<a href="{@href}"><img border="0" src="/buttons/{@icon}.png"
|
||||||
|
|
1
menu.xml
1
menu.xml
|
@ -9,4 +9,5 @@
|
||||||
<menuitem title="Users" icon="users" href="/users/"/>
|
<menuitem title="Users" icon="users" href="/users/"/>
|
||||||
<menuitem title="Clubs" icon="clubs" href="/clubs/"/>
|
<menuitem title="Clubs" icon="clubs" href="/clubs/"/>
|
||||||
<menuitem title="Stats" icon="stats" href="/stats/"/>
|
<menuitem title="Stats" icon="stats" href="/stats/"/>
|
||||||
|
<menuitem title="Media" icon="csc" href="/media/"/>
|
||||||
</menudefs>
|
</menudefs>
|
||||||
|
|
Loading…
Reference in New Issue