117 lines
		
	
	
	
		
			5.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			117 lines
		
	
	
	
		
			5.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="KOI8-R" ?>
 | |
| 
 | |
| <!--
 | |
|      The FreeBSD Russian Documentation Project
 | |
| 
 | |
|      $FreeBSD: www/ru/includes.xsl,v 1.10 2004/10/22 13:38:59 den Exp $
 | |
|      $FreeBSDru: frdp/www/ru/includes.xsl,v 1.13 2004/10/22 12:33:49 den Exp $
 | |
| 
 | |
|      Original revision: 1.20
 | |
| -->
 | |
| 
 | |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | |
| 
 | |
|   <xsl:import href="../share/sgml/includes.xsl" />
 | |
| 
 | |
|   <xsl:variable name="url.doc.langcode" select="'ru_RU.KOI8-R'" />
 | |
| 
 | |
|   <!-- Language-specific definitions should be put below this line -->
 | |
| 
 | |
|   <xsl:variable name="i.daemon">
 | |
|     <img src="{$base}/../gifs/daemon.gif" alt="" align="left" width="80" height="76"/>
 | |
|   </xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="i.new">
 | |
|     <img src="{$base}/../gifs/new.gif" alt="[New!]" width="28" height="11"/>
 | |
|   </xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="home">
 | |
|     <a href="{$base}/index.html"><img src="{$base}/../gifs/home.gif" alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"/></a>
 | |
|   </xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="header1">
 | |
|     <head>
 | |
|       <title><xsl:value-of select="$title"/></title>
 | |
| 
 | |
|       <meta http-equiv="Content-Type" content="text/html; charset=koi8-r"/>
 | |
|       <meta name="MSSmartTagsPreventParsing" content="TRUE"/>
 | |
|     </head>
 | |
|   </xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="header2">
 | |
|     <img src="{$base}/../gifs/bar.gif" alt="Navigation Bar" width="565" 
 | |
| 	 height="33" border="0" usemap="#bar"/>
 | |
|       
 | |
|     <h1 align="left"><font color="#660000"><xsl:value-of select="$title"/></font></h1>
 | |
| 
 | |
|     <br clear="all"/>
 | |
| 
 | |
|     <map name="bar">
 | |
|       <area shape="rect" coords="1,1,111,31" 
 | |
| 	    href="{$base}/index.html" alt="Top"/>
 | |
|       <area shape="rect" coords="112,11,196,31" 
 | |
| 	    href="{$base}/ports/index.html" alt="Applications"/>
 | |
|       <area shape="rect" coords="196,12,257,33" 
 | |
| 	      href="{$base}/support.html" alt="Support"/>
 | |
|       <area shape="rect" coords="256,12,365,33" 
 | |
| 	    href="{$base}/docs.html" alt="Documentation"/> 
 | |
|       <area shape="rect" coords="366,13,424,32" 
 | |
| 	    href="{$base}/commercial/commercial.html" alt="Vendors"/>
 | |
|       <area shape="rect" coords="425,16,475,32" 
 | |
| 	      href="{$base}/search/search.html" alt="Search"/>
 | |
|       <area shape="rect" coords="477,16,516,33" 
 | |
| 	    href="{$base}/search/index-site.html" alt="Index"/>
 | |
|       <area shape="rect" coords="516,15,562,33" 
 | |
| 	    href="{$base}/index.html" alt="Top"/>
 | |
| 	<area shape="rect" coords="0,0,564,32" 
 | |
| 	      href="{$base}/index.html" alt="Top"/>
 | |
|     </map>
 | |
|   </xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="u.rel.notes">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/relnotes.html</xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="u.rel.announce">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/announce.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.errata">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/errata.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.hardware">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/hardware.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.installation">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/installation.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.readme">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/readme.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.early">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/migration-guide.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel.migration">
 | |
|     <xsl:value-of select="$base"/>/ru/releases/<xsl:value-of select="$rel.current"/>R/migration-guide.html</xsl:variable>
 | |
| 
 | |
|   <xsl:variable name="u.rel2.notes">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/relnotes.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel2.announce">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/announce.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel2.errata">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/errata.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel2.hardware">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/hardware.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel2.installation">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/installation.html</xsl:variable>
 | |
|   <xsl:variable name="u.rel2.readme">
 | |
|     <xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/readme.html</xsl:variable>
 | |
|   <!-- template: "html-index-news-press-items"
 | |
|        pulls in the 5 most recent press items -->
 | |
| 
 | |
|   <xsl:template name="html-index-news-press-items">
 | |
|     <xsl:param name="news.press.xml" select="''" />
 | |
| 
 | |
|     <xsl:for-each select="document($news.press.xml)/descendant::story[position() <= 5]">
 | |
|       <xsl:value-of select="$leadingmark" /><a>
 | |
| 	<xsl:attribute name="href">
 | |
| 	  ../news/press.html#<xsl:call-template name="generate-story-anchor"/>
 | |
| 	</xsl:attribute>
 | |
| 	<xsl:value-of select="name"/>
 | |
|       </a><br/>
 | |
|     </xsl:for-each>
 | |
|   </xsl:template>
 | |
| 
 | |
| </xsl:stylesheet>
 |