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

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

Ticket #986 - Correcao para compatibilizar o carregamento do script para o IE.

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