Ignore:
Timestamp:
07/08/11 14:24:41 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #2083 - Melhorias no leitor de RSS do expressoMail

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/stylesheet/makeWindow.xsl

    r3178 r4684  
    11<?xml version="1.0" encoding="ISO-8859-1"?> 
    22<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    3 <xsl:template match="rss/channel"> 
    4         <span><xsl:value-of select = "title" /></span><span> - <xsl:value-of select="count(item)"/> news</span> 
    5         <img src='../phpgwapi/templates/default/images/foldertree_trash.png'> 
    6                 <xsl:attribute name="onclick"> 
    7                         news_edit.unsubscribe('<xsl:value-of select="link"/>',this); 
    8                 </xsl:attribute> 
    9         </img> 
    10 </xsl:template> 
     3    <xsl:output method="html" omit-xml-declaration="yes"/>     
     4     
     5    <xsl:param name="lang_label1" /> 
     6    <xsl:param name="lang_label2" /> 
     7    <xsl:param name="lang_subscribe" /> 
     8     
     9    <xsl:template match="make_window"> 
     10         
     11        <div style="border:1px solid #000; margin: 2px; width: 333px;"> 
     12             
     13            <div style="margin: 2px;"> 
     14                <div style="margin-top:5px;"> 
     15                    <label><xsl:value-of select="$lang_label1"/></label> 
     16                </div> 
     17                <div style="margin-top:5px;"> 
     18                    <input type="text" id="rssEnter" size="40"/> 
     19                </div> 
     20                <div style="margin-top:5px;"> 
     21                    <input value="{$lang_subscribe}" onclick="news_edit.subscribe();" type="button" /> 
     22                </div> 
     23            </div> 
     24             
     25            <div style="margin:5px 2px 2px 2px;border-bottom: 1px solid #000;"> 
     26                <label><xsl:value-of select="$lang_label2"/></label> 
     27            </div> 
     28             
     29            <div id="listRSS" style="overflow-y: auto; height: 160px; margin: 2px;"></div> 
     30             
     31        </div> 
     32 
     33    </xsl:template> 
     34     
    1135</xsl:stylesheet> 
Note: See TracChangeset for help on using the changeset viewer.