Revision 3178,
1.3 KB
checked in by amuller, 14 years ago
(diff) |
Ticket #1158 - Implementação do leitor de RSS
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
3 | <xsl:template match="rss/channel"> |
---|
4 | <div id="divScrollMain_0" style="overflow-y: scroll; overflow-x: hidden; width: 99.3%;"> |
---|
5 | <table id="table_box" class="table_box" cellspacing="0" cellpadding="0"> |
---|
6 | <tbody id="tbody_box"> |
---|
7 | <xsl:for-each select="item"> |
---|
8 | <xsl:variable name="itens" select='position()' /> |
---|
9 | <tr class="tr_msg_read"> |
---|
10 | <xsl:attribute name="onclick"> |
---|
11 | news_edit.read_item('<xsl:value-of select="$itens"/>'); |
---|
12 | </xsl:attribute> |
---|
13 | <td width="1%" class="td_msg"><input type="checkbox" class="checkbox"/></td> |
---|
14 | <td width="1%" class="td_msg"/> |
---|
15 | <td width="1%" class="td_msg"><img title="Lida" src="templates/default/images/seen.gif"/></td> |
---|
16 | <td width="16%" class="td_msg"><span style="text-decoration: none;"><xsl:value-of select="owner"/></span></td> |
---|
17 | <td width="50%" class="td_msg"><xsl:value-of select="title"/></td> |
---|
18 | <td width="17%" align="center" class="td_msg" title="14/08/2010"><xsl:value-of select="pubDate"/></td> |
---|
19 | <td width="14%" nowrap="true" align="center" class="td_msg"><xsl:value-of select="string-length(description)"/></td> |
---|
20 | </tr> |
---|
21 | </xsl:for-each> |
---|
22 | </tbody> |
---|
23 | </table> |
---|
24 | </div> |
---|
25 | </xsl:template> |
---|
26 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.