52f6d56540
- Replace /XML/{doc,www}/ with /XML/ in SysId. - Remove empty stylesheets in share/xsl and point share/xml/empty.xsl via XML catalog instead. - Change the L10N layer in freebsd-*.xsl not to use localized XSLT stylesheets directly. - Move share/xsl/* to share/xml and remove share/xsl. - Remove obsolete share/web2c/pdftex.def.
140 lines
4.8 KiB
XML
140 lines
4.8 KiB
XML
<?xml version="1.0" encoding="koi8-r" ?>
|
||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [
|
||
<!ENTITY title "óÏÏÂÝÅÓÔ×Ï FreeBSD">
|
||
]>
|
||
|
||
<!--
|
||
The FreeBSD Russian Documentation Project
|
||
|
||
$FreeBSD$
|
||
|
||
Original revision: 1.9
|
||
-->
|
||
|
||
<xsl:stylesheet version="1.0"
|
||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||
xmlns:date="http://exslt.org/dates-and-times"
|
||
xmlns="http://www.w3.org/1999/xhtml"
|
||
extension-element-prefixes="date">
|
||
|
||
<xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/>
|
||
<xsl:import href="http://www.FreeBSD.org/XML/share/xml/xhtml.xsl"/>
|
||
|
||
<xsl:key name="last-year-event-by-country" match="event[number(enddate/year) = (number(date:year()) - 1)]"
|
||
use="location/country" />
|
||
|
||
<xsl:key name="event-by-year" match="event" use="enddate/year" />
|
||
|
||
<xsl:variable name="title">&title;</xsl:variable>
|
||
|
||
<xsl:template name="process.sidewrap">
|
||
&nav.community;
|
||
</xsl:template>
|
||
|
||
<xsl:template name="process.contentwrap">
|
||
<p>&os; ÄÏÓÔÁÔÏÞÎÏ ÈÏÒÏÛÏ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ Ó×ÏÉÍ ÁËÔÉ×ÎÙÍ
|
||
ÓÏÏÂÝÅÓÔ×ÏÍ.</p>
|
||
|
||
<p>óÕÝÅÓÔ×ÕÅÔ ÂÏÌØÛÅ ÓÏÔÎÉ <a
|
||
href="&base;/community/mailinglists.html">ÓÐÉÓËÏ×
|
||
ÒÁÓÓÙÌËÉ</a>, ÄÅÓÑÔËÉ web <a
|
||
href="http://forums.FreeBSD.org/">ÆÏÒÕÍÏ×</a> É
|
||
ÎÅÓËÏÌØËÏ <a
|
||
href="&base;/community/newsgroups.html">ÔÅÌÅËÏÎÆÅÒÅÎÃÉÊ</a>.
|
||
âÏÌÅÅ <xsl:value-of
|
||
select="count(document($usergroups.xml)//entry)"
|
||
/><xsl:text> </xsl:text><a
|
||
href="&base;/usergroups.html">ÇÒÕÐÐ ÐÏÌØÚÏ×ÁÔÅÌÅÊ</a> ×
|
||
<xsl:value-of
|
||
select="count(document($usergroups.xml)//country)" />
|
||
ÓÔÒÁÎÁÈ ÐÏ ×ÓÅÍÕ ÍÉÒÕ. ôÁËÖÅ ÅÓÔØ ÁËÔÉ×ÎÏÅ
|
||
<a href="&base;/community/irc.html">IRC</a> ÓÏÏÂÝÅÓÔ×Ï.
|
||
íÎÏÇÉÅ ÒÁÚÒÁÂÏÔÞÉËÉ ÔÁËÖÅ ×ÅÄÕÔ <a
|
||
href="http://planet.freebsdish.org">ÂÌÏÇÉ</a> Ï
|
||
Ó×ÏÅÊ ÒÁÂÏÔÅ ÎÁÄ &os;. ôÁËÖÅ ÒÁÚÒÁÂÏÔÞÉËÉ É ËÌÀÞÅ×ÙÅ
|
||
ËÏÎÔÒÉÂØÀÔÏÒÙ ÉÓÐÏÌØÚÕÀÔ <a
|
||
href="http://wiki.FreeBSD.org/">wiki</a>, × ËÏÔÏÒÏÊ
|
||
ÓÏÄÅÒÖÉÔÓÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÒÁÚÒÁÂÏÔËÅ &os; É ÉÍÅÀÝÉÈ Ë ÎÅÊ
|
||
ÏÔÎÏÛÅÎÉÅ ÐÒÏÅËÔÏ×. ÷Ù ÍÏÖÅÔÅ ÎÁÊÔÉ &os;, ÐÒÅÄÓÔÁ×ÌÅÎÎÕÀ
|
||
× ÃÅÌÏÍ ÒÑÄÅ ÒÁÚÌÉÞÎÙÈ <a
|
||
href="&base;/community/social.html">ÓÏÃÉÁÌØÎÙÈ
|
||
ÓÅÔÅÊ</a>.</p>
|
||
|
||
<p>÷ ÐÒÏÛÌÏÍ ÇÏÄÕ ÂÙÌÏ ÐÒÏ×ÅÄÅÎÏ <xsl:value-of
|
||
select="count(/events/event[number(enddate/year) =
|
||
(number($curdate.year) -1)])" /> ÓÏÂÙÔÉÊ,
|
||
ÐÏÓ×ÑÝÅÎÎÙÈ &os;, × <xsl:value-of
|
||
select="count(/events/event[(number(enddate/year) =
|
||
(number($curdate.year) -1)) and (generate-id() =
|
||
generate-id(key('last-year-event-by-country',
|
||
location/country)[1]))])" /> ÒÁÚÌÉÞÎÙÈ ÓÔÒÁÎÁÈ
|
||
ÐÏ ×ÓÅÍÕ ÍÉÒÕ. <a
|
||
href="&base;/events/events.ics">ëÁÌÅÎÄÁÒØ</a> É
|
||
<a href="&base;/events/rss.xml">ÌÅÎÔÁ RSS</a>
|
||
ÐÒÅÄÓÔÏÑÝÉÈ ÓÏÂÙÔÉÊ, ÉÍÅÀÝÉÈ ÏÔÎÏÛÅÎÉÅ Ë &os;, ÄÏÓÔÕÐÎÙ
|
||
ÎÁ ÎÁÛÅÊ <a href="&base;/events/events.html">ÓÔÒÁÎÉÃÅ
|
||
ÓÏÂÙÔÉÊ</a>. ÷ YouTube ×ÙÌÏÖÅÎÙ ÄÅÓÑÔËÉ ×ÉÄÅÏ Ó
|
||
ÐÒÏÛÌÙÈ ÓÏÂÙÔÉÊ ÎÁ ËÁÎÁÌÅ <a
|
||
href="http://www.youtube.com/bsdconferences">BSD
|
||
Conferences</a>.</p>
|
||
|
||
<!-- The Latest Videos section is placed inside an invisible block, which
|
||
is only made visible if the browser supports Javascript. -->
|
||
|
||
<div id="latest-videos" style="display:none;">
|
||
<h3>ðÏÓÌÅÄÎÉÅ ×ÉÄÅÏ</h3>
|
||
|
||
<!-- See http://www.google.com/uds/solutions/wizards/videobar.html -->
|
||
<div id="videoBar-bar">
|
||
<span style="color:#676767;font-size:11px;margin:10px;padding:4px;">úÁÇÒÕÖÁÅÔÓÑ...</span>
|
||
</div>
|
||
|
||
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw"
|
||
type="text/javascript"></script>
|
||
<style type="text/css">
|
||
@import url("http://www.google.com/uds/css/gsearch.css");
|
||
</style>
|
||
<!-- Video Bar Code and Stylesheet -->
|
||
<script type="text/javascript">
|
||
window._uds_vbw_donotrepair = true;
|
||
</script>
|
||
<script src="http://www.google.com/uds/solutions/videobar/gsvideobar.js?mode=new"
|
||
type="text/javascript"></script>
|
||
<style type="text/css">
|
||
@import url("http://www.google.com/uds/solutions/videobar/gsvideobar.css");
|
||
</style>
|
||
|
||
<style type="text/css">
|
||
.playerInnerBox_gsvb .player_gsvb {
|
||
width : 320px;
|
||
height : 260px;
|
||
}
|
||
</style>
|
||
<script type="text/javascript">
|
||
document.getElementById('latest-videos').style.display = 'block';
|
||
|
||
function LoadVideoBar() {
|
||
|
||
var videoBar;
|
||
var options = {
|
||
largeResultSet : !true,
|
||
horizontal : true,
|
||
autoExecuteList : {
|
||
cycleTime : GSvideoBar.CYCLE_TIME_MEDIUM,
|
||
cycleMode : GSvideoBar.CYCLE_MODE_LINEAR,
|
||
executeList : ["ytchannel:bsdconferences"]
|
||
}
|
||
}
|
||
|
||
videoBar = new GSvideoBar(document.getElementById("videoBar-bar"),
|
||
GSvideoBar.PLAYER_ROOT_FLOATING,
|
||
options);
|
||
}
|
||
// arrange for this function to be called during body.onload
|
||
// event processing
|
||
GSearch.setOnLoadCallback(LoadVideoBar);
|
||
</script>
|
||
</div> <!-- Latest Videos -->
|
||
</xsl:template>
|
||
</xsl:stylesheet>
|