]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Users/Popup_picker.html
Release 6.2.0
[Github/sugarcrm.git] / modules / Users / Popup_picker.html
1 <!--
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  * 
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
16  * details.
17  * 
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  * 
23  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
25  * 
26  * The interactive user interfaces in modified source and object code versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  * 
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the "Powered by
32  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33  * technical reasons, the Appropriate Legal Notices must display the words
34  * "Powered by SugarCRM".
35  ********************************************************************************/
36
37 -->
38
39 <!-- BEGIN: main -->
40 <!-- BEGIN: SearchHeader -->
41 <script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
42 <script type="text/javascript" src="include/javascript/popup_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
43
44 <table cellpadding="0" cellspacing="0" border="0" width="100%">
45 <tr>
46 <td>
47 <form action="index.php" method="post" name="popup_query_form" id="popup_query_form" class="edit view">
48 <table width="100%" border="0" cellspacing="0" cellpadding="0">
49 <tr>
50 <td scope="row" nowrap="nowrap">{MOD.LBL_FIRST_NAME}</td>
51 <td ><input type="text" size="10" tabindex='1' name="first_name"  value="{FIRST_NAME}" /></td>
52 <td scope="row" nowrap="nowrap">{MOD.LBL_LAST_NAME}</td>
53 <td ><input type="text" size="10" tabindex='1' name="last_name"  value="{LAST_NAME}" /></td>
54 </tr>
55 <tr>
56 <td scope="row" valign="top" nowrap="nowrap">{MOD.LBL_USER_NAME}</td>
57 <td ><input type="text" size="10" tabindex='2' name="user_name"  value="{USER_NAME}" /></td>
58 <td scope="row">
59 <slot>{MOD.LBL_GROUP_USER}</slot>
60 </td>
61 <td>
62 <slot><input name='is_group' class="checkbox" value='1' type="checkbox" tabindex='2' {IS_GROUP}></slot>
63 </td>
64 <td rowspan='2' valign="top" align="right">
65 <input type="hidden" name="module" value="{MODULE_NAME}" />
66 <input type="hidden" name="action" value="Popup" />
67 <input type="hidden" name="query" value="true" />
68 <input type="hidden" name="func_name" value="" />
69 <input type="hidden" name="request_data" value="{request_data}" />
70 <input type="hidden" name="populate_parent" value="false" />
71 <input type="hidden" name="record_id" value="" />
72 <input type="submit" name="button" class="button"
73         title="{APP.LBL_SEARCH_BUTTON_TITLE}"
74         accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
75         value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
76 <input type="hidden" name="mode" value="{MULTI_SELECT}" />
77 </td>
78 </tr>
79 </table>
80 </form>
81 </td>
82 </tr>
83 </table>
84
85 <script type="text/javascript">
86 <!--
87 /* initialize the popup request from the parent */
88
89 if(window.document.forms['popup_query_form'].request_data.value == "")
90 {
91         window.document.forms['popup_query_form'].request_data.value
92                 = JSON.stringify(window.opener.get_popup_request_data());
93 }
94 -->
95 </script>
96
97 <!-- END: SearchHeader -->
98 <table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
99 <!-- BEGIN: list_nav_row -->
100 {PAGINATION}
101 <!-- END: list_nav_row -->
102 <tr height="20" >
103 <td scope="col"  NOWRAP>{CHECKALL}</td>
104 <td scope="col" width="50%"  nowrap="nowrap"><a href="{ORDER_BY}last_name" class="listViewThLinkS1">{MOD.LBL_LIST_NAME}{arrow_start}{first_name_arrow}{arrow_end}</a></td>
105 <td scope="col" width="50%"  nowrap="nowrap"><a href="{ORDER_BY}user_name" class="listViewThLinkS1" >{MOD.LBL_LIST_USER_NAME}{arrow_start}{user_name_arrow}{arrow_end}</a></td>
106 <td scope="col"  NOWRAP><slot><a href="{ORDER_BY}IS_GROUP" class="listViewThLinkS1">{MOD.LBL_LIST_GROUP}{arrow_start}{IS_GROUP_arrow}{arrow_end}</a></slot></td>
107 </tr>
108 <!-- BEGIN: row -->
109 <tr height="20" class="{ROW_COLOR}S1">
110 <td valign="top">{PREROW}&nbsp;</td>
111 <td scope='row' valign="top"><{TAG_TYPE} href="#" onclick="send_back('Users','{USER.ID}');" >{USER.FULL_NAME}</{TAG_TYPE}></td>
112 <td valign="top" >{USER.USER_NAME}</td>
113 <td valign="top" >{USER.IS_GROUP_IMAGE}&nbsp;</td>
114 </tr>
115
116 <!-- END: row -->
117 </table>
118 {ASSOCIATED_JAVASCRIPT_DATA}
119 <!-- END: main -->