source: sandbox/jabberit_messenger/trophy_expresso/xsl/addUser.xsl @ 2411

Revision 2411, 2.0 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Adicionado a funcionalidade de procurar contatos no ldap.

  • 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:param name="lang_group" />
6        <xsl:param name="lang_load" />
7        <xsl:param name="lang_name_contact" />
8        <xsl:param name="lang_result" />
9        <xsl:param name="path" />
10
11        <xsl:template match="userinfo">
12
13                <div style="margin:2px">
14                        <div style="margin:5px 0px 5px 5px;">
15                                <span style="width:150px;"><xsl:value-of select="$lang_name_contact" /> .: </span>
16                                <input id="search_user_jabber" type="text" size="30" onclick="this.select();" onkeypress="loadIM.keyPressSearch(event, this);" />
17                                <br style="clear:both"/>
18                                <button style="margin:-17px 0px 0px 290px;" onclick="loadIM.searchUser()"><img src="{$path}templates/default/images/users.png"/></button>
19                        </div>
20
21                        <div style="margin:7px 0px 5px 5px;">
22                                <span style="width:auto;text-decoration:underline;"><xsl:value-of select="$lang_result"/> .: </span>
23                                <br style="clear:both"/>
24                                <div id="list_users_ldap_im"></div>
25                        </div>
26                </div>
27
28                <span id="im_status_add" style="color:#f00;"></span>
29                <span id="span_searching_im" style="background-color:#cc4444;color:white;display:none;position:absolute;right:5px;top:26px;padding:2px;">
30                        <xsl:value-of select="$lang_load" /> ...
31                </span>
32                <input id="im_jidUser" type="hidden" />
33                <input id="im_jid" type="hidden" />
34                <input id="im_uid" type="hidden" />
35
36        </xsl:template>
37       
38        <xsl:template match="adduser">
39               
40                <div class="add_member_info">
41                        <span><xsl:value-of select="$lang4"/> : </span>
42                        <input id="im_name" type="text" size="39" maxlength="50" onclick="this.select();"/>
43                        <br/><br style="line-height:4px"/>
44                        <span><xsl:value-of select="$lang5"/> : </span>
45                        <input id="im_group" type="text" size="40" maxlength="50" selectboxoptions="" onclick="this.select();"/>
46                </div>
47               
48                <div id="buttons_adduser" style="padding-top:30px; padding-bottom: 30px; margin-left: 83px;"/>
49       
50        </xsl:template>
51       
52</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.