]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Leads/Popup_picker.html
Release 6.2.0
[Github/sugarcrm.git] / modules / Leads / 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" name="first_name"  value="{FIRST_NAME}" /></td>
53 <td scope="row" nowrap="nowrap">{MOD.LBL_LAST_NAME}</td>
54 <td ><input type="text" size="10" name="last_name"  value="{LAST_NAME}" /></td>
55 <td rowspan="2" valign="top">
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 <input type="hidden" name="mode" value="{MULTI_SELECT}" />
68 </td>
69 </tr>
70 <tr>
71 <td width="20%" scope="row">{MOD.LBL_LEAD_SOURCE}</td>
72 <td width="30%" ><select name="lead_source">{LEAD_SOURCE_OPTIONS}</select></td>
73 <td width="20%" scope="row">{MOD.LBL_STATUS}</td>
74 <td width="30%" ><select name="status">{STATUS_OPTIONS}</select></td>
75 <td scope="row">&nbsp;</td>
76 </tr>
77 </table>
78 </form>
79 </td>
80 </tr>
81 </table>
82
83 <script type="text/javascript">
84 <!--
85 /* initialize the popup request from the parent */
86
87 if(window.document.forms['popup_query_form'].request_data.value == "")
88 {
89         window.document.forms['popup_query_form'].request_data.value
90                 = JSON.stringify(window.opener.get_popup_request_data());
91 }
92 -->
93 </script>
94
95 <!-- END: SearchHeader -->
96
97 <table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
98 <!-- BEGIN: list_nav_row -->
99 {PAGINATION}
100 <!-- END: list_nav_row -->
101 <tr height="20">
102 <td scope="col"  NOWRAP>{CHECKALL}</td>
103 <td scope="col" width="50%"  nowrap="nowrap">&nbsp;<a href="{ORDER_BY}last_name" class="listViewThLinkS1">{MOD.LBL_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}</a></td>
104 <td scope="col" width="50%"  nowrap="nowrap">&nbsp;{MOD.LBL_ACCOUNT_NAME}</td>
105 </tr>
106 <!-- BEGIN: row -->
107 <tr height="20"  class="{ROW_COLOR}S1">
108 <td valign="top">{PREROW}</td>
109 <td scope="row" valign="top" ><{TAG_TYPE} href="#"  onclick="send_back('Leads','{LEAD.ID}');">{LEAD.FULL_NAME}</{TAG_TYPE}></td>
110 <td valign="top">{LEAD.ACCOUNT_NAME}</td>
111 </tr>
112
113 <!-- END: row -->
114 </table>
115 {ASSOCIATED_JAVASCRIPT_DATA}
116 <!-- END: main -->