66229ed32d
- www/<lang>/share/sgml/templates.usergroups.xsl: customization layer for each language. - www/<lang>/share/sgml/usergroups.xml: translation of www/share/sgml/usergroups.xml. The translation teams can simply copy it from the language-independent directory and keep the translated items only; items which are not in the translated file are automatically inserted from the original file on the fly (so old items in the translated file are harmful).
44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- $FreeBSD: www/share/sgml/templates.usergroups.xsl,v 1.1 2005/07/16 09:58:17 hrs Exp $ -->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
|
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
|
|
exclude-result-prefixes="cvs">
|
|
|
|
<xsl:import href="includes.xsl" />
|
|
|
|
<xsl:output method="xml"
|
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
|
|
|
|
<xsl:variable name="base" select="'../..'"/>
|
|
<xsl:variable name="date">
|
|
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
|
|
</xsl:variable>
|
|
<xsl:variable name="email" select="'freebsd-www'"/>
|
|
<xsl:variable name="title" select="'User Groups'"/>
|
|
|
|
<xsl:template match="/">
|
|
<html>
|
|
<xsl:copy-of select="$header1"/>
|
|
|
|
<body xsl:use-attribute-sets="att.body">
|
|
<xsl:copy-of select="$header2"/>
|
|
|
|
<xsl:call-template name="html-usergroups-list-header" />
|
|
|
|
<xsl:call-template name="html-usergroups-list-regions">
|
|
<xsl:with-param name="usergroups.xml" select="$usergroups.xml" />
|
|
<xsl:with-param name="usergroups-local.xml" select="$usergroups-local.xml" />
|
|
</xsl:call-template>
|
|
|
|
<xsl:call-template name="html-usergroups-list-entries">
|
|
<xsl:with-param name="usergroups.xml" select="$usergroups.xml" />
|
|
<xsl:with-param name="usergroups-local.xml" select="$usergroups-local.xml" />
|
|
</xsl:call-template>
|
|
<xsl:copy-of select="$footer"/>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|