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

Revision 2437, 2.2 KB checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Adicao de contatos com resultados da busca do ldap e exclusao de contatos da lista.

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