source: branches/2.2/expressoMail1_2/stylesheet/news_read.xsl @ 4958

Revision 4958, 2.3 KB checked in by alexandrecorreia, 13 years ago (diff)

Ticket #2083 - Corrigido para que a add de novos RSS é feito apenas pelo administrador

  • Property svn:executable set to *
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   
4    <xsl:param name="lang_who" />
5    <xsl:param name="lang_subject" />
6    <xsl:param name="lang_date" />
7    <xsl:param name="lang_size" />
8   
9    <xsl:template match="rss/channel">
10       
11        <div id="divScrollMain_0" style="overflow-y: scroll; overflow-x: hidden; width: 99.3%;">
12            <table id="table_box" border="1" class="table_message_header_box" cellspacing="0" cellpadding="0">
13                <tbody id="tbody_box">
14                    <tr class="message_header" style="height:20px">
15                        <td class="td_msg" style="width: 30%" align="left">
16                            <span style="margin-left:10px;"><xsl:value-of select="$lang_who" /></span>
17                        </td>
18                        <td class="td_msg" style="width:40%" align="left"><xsl:value-of select="$lang_subject" /></td>
19                        <td class="td_msg" style="width:20%" align="center"><xsl:value-of select="$lang_date" /></td>
20                        <td class="td_msg" style="width:10%" align="center"><xsl:value-of select="$lang_size" /></td>
21                    </tr>
22                    <xsl:for-each select="item">
23                        <xsl:variable name="itens" select='position()' />
24                        <tr class="tr_msg_read" style="height:20px">
25                            <xsl:attribute name="onclick">
26                                news_edit.read_item('<xsl:value-of select="$itens"/>');
27                            </xsl:attribute>
28                            <td class="td_msg" style="width:30%" align="left"><span style="margin-left:10px;"><xsl:value-of select="../title"/></span></td>
29                            <td class="td_msg" style="width:40%" align="left"><xsl:value-of select="title"/></td>
30                            <td class="td_msg" style="width:20%" align="center" convertDate="{pubDate}"><xsl:value-of select="pubDate"/></td>
31                            <td class="td_msg" style="width:10%" align="center"><xsl:value-of select="string-length(description)"/></td>
32                        </tr>
33                    </xsl:for-each>
34                </tbody>               
35             </table>
36        </div>
37       
38    </xsl:template>
39   
40</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.