]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Employees/Popup_picker.html
Release 6.2.0
[Github/sugarcrm.git] / modules / Employees / 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
45 <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
46 <tr>
47 <td>
48 <form action="index.php" method="post" name="popup_query_form" id="popup_query_form">
49 <table width="100%" border="0" cellspacing="0" cellpadding="0">
50 <tr>
51 <td scope="row" nowrap="nowrap">{MOD.LBL_FIRST_NAME}</td>
52 <td ><input type="text" size="10" tabindex='1' name="first_name"  value="{FIRST_NAME}" /></td>
53 <td scope="row" valign=top nowrap="nowrap">{MOD.LBL_USER_NAME}</td>
54 <td ><input type="text" size="10" tabindex='2' name="user_name"  value="{USER_NAME}" /></td>
55 <td rowspan='2' valign="top" align="right">
56 <input type="hidden" name="module" value="{MODULE_NAME}" />
57 <input type="hidden" name="action" value="Popup" />
58 <input type="hidden" name="query" value="true" />
59 <input type="hidden" name="func_name" value="" />
60 <input type="hidden" name="request_data" value="{request_data}" />
61 <input type="hidden" name="populate_parent" value="false" />
62 <input type="hidden" name="record_id" value="" />
63 <input type="submit" name="button" class="button"
64         title="{APP.LBL_SEARCH_BUTTON_TITLE}"
65         accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
66         value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
67 </td>
68 </tr>
69 <tr>
70 <td scope="row" nowrap="nowrap">{MOD.LBL_LAST_NAME}</td>
71 <td ><input type="text" size="10" tabindex='1' name="last_name"  value="{LAST_NAME}" /></td>
72 <td scope="row" nowrap="nowrap">&nbsp;</td>
73 <td >&nbsp;</td>
74 <td >&nbsp;</td>
75 </tr>
76 </table>
77 </form>
78 </td>
79 </tr>
80 </table>
81
82 <script type="text/javascript">
83 <!--
84 /* initialize the popup request from the parent */
85
86 if(window.document.forms['popup_query_form'].request_data.value == "")
87 {
88         window.document.forms['popup_query_form'].request_data.value
89                 = JSON.stringify(window.opener.get_popup_request_data());
90 }
91 -->
92 </script>
93
94 <!-- END: SearchHeader -->
95 <table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
96 <!-- BEGIN: list_nav_row -->
97 {PAGINATION}
98 <!-- END: list_nav_row -->
99 <tr height="20" >
100 <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>
101 <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>
102 </tr>
103 <!-- BEGIN: row -->
104 <tr height="20" class="{ROW_COLOR}S1">
105 <td scope='row' valign="top" ><a href="#" onclick="send_back('Employees','{EMPLOYEE.ID}');" >{EMPLOYEE.FIRST_NAME} {EMPLOYEE.LAST_NAME}</a></td>
106 <td valign="top">{EMPLOYEE.USER_NAME}</td>
107 </tr>
108
109 <!-- END: row -->
110 {PAGINATION}
111 </table>
112 {ASSOCIATED_JAVASCRIPT_DATA}
113 <!-- END: main -->