Clean up indentation in the hopes of making this template more
decipherable.
This commit is contained in:
parent
fc4243cd55
commit
afc22676c9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48668
1 changed files with 273 additions and 265 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD Fragment//EN"
|
|
||||||
|
<!DOCTYPE xsl:stylesheet PUBLIC
|
||||||
|
"-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD Fragment//EN"
|
||||||
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [
|
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [
|
||||||
|
|
||||||
<!ENTITY title "FreeBSD Events">
|
<!ENTITY title "FreeBSD Events">
|
||||||
<!ENTITY rsslink "&base;/events/rss.xml">
|
<!ENTITY rsslink "&base;/events/rss.xml">
|
||||||
<!ENTITY rsstitle "Upcoming FreeBSD Events">
|
<!ENTITY rsstitle "Upcoming FreeBSD Events">
|
||||||
|
|
@ -12,29 +15,35 @@
|
||||||
Copyright (c) 2008 Murray M Stokely <murray@FreeBSD.org>
|
Copyright (c) 2008 Murray M Stokely <murray@FreeBSD.org>
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or
|
||||||
modification, are permitted provided that the following conditions
|
without modification, are permitted provided that the following
|
||||||
are met:
|
conditions are met:
|
||||||
1. Redistributions of source code must retain the above copyright
|
|
||||||
notice, this list of conditions and the following disclaimer.
|
1. Redistributions of source code must retain the above
|
||||||
2. Redistributions in binary form must reproduce the above copyright
|
copyright notice, this list of conditions and the following
|
||||||
notice, this list of conditions and the following disclaimer in the
|
disclaimer.
|
||||||
documentation and/or other materials provided with the distribution.
|
2. Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials
|
||||||
|
provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
|
||||||
|
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||||
|
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
||||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
||||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
||||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGE.
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
version="1.0"
|
||||||
xmlns:date="http://exslt.org/dates-and-times"
|
xmlns:date="http://exslt.org/dates-and-times"
|
||||||
xmlns="http://www.w3.org/1999/xhtml"
|
xmlns="http://www.w3.org/1999/xhtml"
|
||||||
extension-element-prefixes="date">
|
extension-element-prefixes="date">
|
||||||
|
|
@ -94,9 +103,7 @@
|
||||||
<div id="feedlinks">
|
<div id="feedlinks">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="&rsslink;" title="&rsstitle;">
|
<a href="&rsslink;" title="&rsstitle;">RSS 2.0 Feed</a>
|
||||||
RSS 2.0 Feed
|
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div> <!-- FEEDLINKS -->
|
</div> <!-- FEEDLINKS -->
|
||||||
|
|
@ -104,10 +111,9 @@
|
||||||
|
|
||||||
<div id="contentwrap">
|
<div id="contentwrap">
|
||||||
<h1>&title;</h1>
|
<h1>&title;</h1>
|
||||||
<!--
|
<!-- Note the current date to have a reference, if the -->
|
||||||
Note the current date to have a reference, if the
|
<!-- upcoming/past events are split incorrectly. -->
|
||||||
upcoming/past events are split incorrectly.
|
|
||||||
-->
|
|
||||||
<xsl:comment>
|
<xsl:comment>
|
||||||
<xsl:text>Generated on: </xsl:text>
|
<xsl:text>Generated on: </xsl:text>
|
||||||
<xsl:value-of select="concat($curdate.year,
|
<xsl:value-of select="concat($curdate.year,
|
||||||
|
|
@ -145,9 +151,11 @@
|
||||||
<xsl:value-of select="concat(startdate/year,
|
<xsl:value-of select="concat(startdate/year,
|
||||||
format-number(startdate/month, '00'))"/>
|
format-number(startdate/month, '00'))"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
<xsl:call-template name="gen-long-en-month">
|
<xsl:call-template name="gen-long-en-month">
|
||||||
<xsl:with-param name="nummonth" select="startdate/month"/>
|
<xsl:with-param name="nummonth" select="startdate/month"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
|
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<xsl:value-of select="startdate/year"/>
|
<xsl:value-of select="startdate/year"/>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue