source: trunk/instant_messenger/xsl/user_not_auth.xsl @ 55

Revision 55, 1.2 KB checked in by niltonneto, 17 years ago (diff)

Nova versão do Instant Messenger.

  • Property svn:eol-style set to native
  • 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<xsl:output method="html" omit-xml-declaration="yes"/>
4
5<xsl:template match="/jids">
6   <html>
7   <head>
8   </head>
9   <body>
10                <div style="margin-left:5px;margin-top:20px">
11                        <b>
12                        O(s) contato(s) abaixo aguarda(m) sua autorização.
13                    Para adicionar este(s) novo(s) contato(s) ou remover
14                    o(s) clique nas opções "Sim / Não". Para ver detalhes
15                    sobre o novo contato clique em "?".
16                        <p />
17                        Contato(s) :
18                        </b>
19                        <p />
20                        <xsl:apply-templates select="item" />
21                </div>                         
22   </body>
23   </html>
24</xsl:template>
25
26<xsl:template match="item">
27         <div id="{@id}">
28        <span alt="Contato">
29                <xsl:value-of select="@jid" />
30        </span>
31            <span style="margin-left:20px" >
32                        <a href="javascript:void(0);" onclick="IM_Preferences.Info_Contact('{@jid}');"> ? </a>
33                </span>
34                <span style="margin-left:10px">
35                        <a href="javascript:void(0);" onclick="IM_Preferences.AcceptRequestUser('{@jid}');"> Sim </a>/<a href="javascript:void(0)" onclick="IM_Preferences.DenyRequestUser('{@jid}');" > Não </a>
36                        <span id="_span_not_{@jid}"></span>
37                </span>
38        </div>
39</xsl:template>
40
41</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.