Generate the intro page for the FreeBSD gallery entries, using gallery.xml
to calculate how many entries there are.
This commit is contained in:
parent
1186f529ea
commit
3224ad191b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10200
1 changed files with 87 additions and 0 deletions
87
en/gallery/gallery.xsl
Normal file
87
en/gallery/gallery.xsl
Normal file
|
@ -0,0 +1,87 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
<xsl:variable name="title" select="'The FreeBSD Gallery'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD$'"/>
|
||||
|
||||
<xsl:output type="html" encoding="iso-8859-1"/>
|
||||
|
||||
<xsl:template match="gallery">
|
||||
<html>
|
||||
<xsl:copy-of select="$header1"/>
|
||||
<body xsl:use-attribute-sets="att.body">
|
||||
<xsl:copy-of select="$header2"/>
|
||||
|
||||
<p>FreeBSD is powering innovative Internet applications all over the
|
||||
world. This gallery is a showcase of <xsl:value-of
|
||||
select="count(//entry)"/> organisations and individuals who have
|
||||
put FreeBSD to work for them. Browse and find out more about
|
||||
FreeBSD can do for <b>you</b>.</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="cgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='commercial'])"/> commercial
|
||||
organisations</a></li>
|
||||
<li><a href="npgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='nonprofit'])"/> non-profit
|
||||
organisations</a></li>
|
||||
<li><a href="pgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='personal'])"/> personal
|
||||
sites</a></li>
|
||||
</ul>
|
||||
|
||||
<p>To have your site added to these lists, simply fill out
|
||||
<a href="http://www.FreeBSD.org/cgi/gallery.cgi">this form</a>.</p>
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left"><img src="../gifs/powerlogo.gif" alt=""
|
||||
align="left" border="0"/></td>
|
||||
|
||||
<td align="left"><img src="../gifs/power-button.gif" alt=""
|
||||
align="left" border="0"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right"><img src="../gifs/pbfbsd2.gif" width="171"
|
||||
height="64" border="0"/></td>
|
||||
|
||||
<td align="right"><img src="../gifs/powerani.gif" width="171"
|
||||
height="64"/></td>
|
||||
|
||||
<td align="right"><img src="../gifs/fhp_mini.jpg" width="171"
|
||||
height="64"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align="center"><img src="../gifs/banner1.gif" alt=""
|
||||
width="446" height="63" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner2.gif" alt="" width="310"
|
||||
height="63" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner3.gif" alt="" width="250"
|
||||
height="35" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner4.gif" alt="" width="225"
|
||||
height="46" border="0"/></p>
|
||||
|
||||
<p>The "Powered by FreeBSD" logos above may be
|
||||
<a href="../gifs/powerlogo.gif">downloaded</a> and displayed on
|
||||
personal or commercial home pages served by FreeBSD machines. Use of
|
||||
this logo or the likeliness of the <a
|
||||
href="../copyright/daemon.html">BSD Daemons</a> for profitable gain
|
||||
requires the consent of <a href="mailto:taob@risc.org">Brian Tao</a>
|
||||
(creator of the "power" logo) and <a
|
||||
href="mailto:mckusick@mckusick.com">Marshall Kirk McKusick</a>
|
||||
(trademark holder for the BSD Daemon image).</p>
|
||||
|
||||
<xsl:copy-of select="$footer"/>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Loading…
Reference in a new issue