You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.8 KiB
60 lines
1.8 KiB
<?xml version="1.0" encoding="Windows-1251"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
|
|
<xsl:import href="elems\Main.xslt"/>
|
|
<xsl:template name="specificTitle">Ïîëüçîâàòåëè</xsl:template>
|
|
<xsl:template name="isRssEnabled">true</xsl:template>
|
|
<xsl:template name="specific">
|
|
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
|
|
<tr>
|
|
<td>
|
|
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
|
|
<tr class="tdheader">
|
|
<td align="left" width="15%" nowrap="nowrap">
|
|
<a>
|
|
<xsl:text>Ïîëüçîâàòåëü</xsl:text>
|
|
</a>
|
|
</td>
|
|
<td align="left" width="15%" nowrap="nowrap">
|
|
<a>
|
|
<xsl:text>Ïîñëåäíÿÿ àêòèâíîñòü</xsl:text>
|
|
</a>
|
|
</td>
|
|
<td align="left" width="70%" nowrap="nowrap">
|
|
<a>
|
|
<xsl:text>Ïîñëåäíÿÿ ïîñåù¸ííàÿ ñòðàíèöà</xsl:text>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<xsl:apply-templates select="users/user"/>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="users/user">
|
|
<tr>
|
|
<xsl:choose>
|
|
<xsl:when test="position() mod 2 = 0">
|
|
<xsl:attribute name="class">lighttable</xsl:attribute>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:attribute name="class">darktable</xsl:attribute>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
<td>
|
|
<xsl:apply-templates select="current()" mode="userLink"/>
|
|
</td>
|
|
<td>
|
|
<xsl:apply-templates select="lastActivity" mode="dateTime"/>
|
|
</td>
|
|
<td>
|
|
<a>
|
|
<xsl:attribute name="href"><xsl:value-of select="lastUrl/url"/></xsl:attribute>
|
|
<xsl:value-of select="lastUrl/title"/>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet> |