source: trunk/jmessenger/xsl/notificationNewUsers.xsl @ 2969

Revision 2969, 1.2 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #1116 - Melhorar a visualizacao/avisos de novos contatos e pedidos de autorizacao no modulo.

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:output method="html" omit-xml-declaration="yes"/>
4       
5        <xsl:param name="lang_1" />
6        <xsl:param name="lang_2" />
7        <xsl:param name="lang_3" />
8        <xsl:param name="lang_4" />
9               
10        <xsl:template match="notification_new_users">
11               
12                <fieldset style="margin:3px; padding:5px;border:1px solid #cecece;">
13
14                        <legend><xsl:value-of select="$lang_1"/></legend>
15                        <label><xsl:value-of select="$lang_2"/></label>
16                       
17                        <div style="border:1px solid #cecece; margin-top: 10px; height:210px; overflow-y:auto;">
18                                <table style="width: 100%;">
19                                        <xsl:for-each select="user">
20                                                <xsl:sort select="jid"/>
21                                                <tr>
22                                                        <td align="left" style="width: 60%;"><xsl:value-of select="jid" /></td>
23                                                        <td align="center" style="width: 20%;"><a style="cursor:pointer;" onclick="alert('{jid}' + '{index}');"><xsl:value-of select="$lang_3"/></a></td>
24                                                        <td align="center" style="width: 20%;"><a style="cursor:pointer;" onclick="alert('{jid}' + '{index}');"><xsl:value-of select="$lang_4"/></a></td>
25                                                </tr>
26                                        </xsl:for-each>
27                                </table>
28                        </div>
29               
30                </fieldset>
31               
32        </xsl:template>
33       
34</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.