]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Contacts/Email_picker.html
Release 6.2.0
[Github/sugarcrm.git] / modules / Contacts / Email_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}&amp;c={JS_CUSTOM_VERSION}"></script> <script type="text/javascript" src="modules/Emails/javascript/email_popup_helper.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script> 
42 <form action="index.php" method="post" name="popup_query_form" id="popup_query_form">
43         <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
44                 <tr>
45                         <td>
46                                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
47                                         <tr>
48                                                 <td scope="row" nowrap="nowrap">
49                                                         {MOD.LBL_FIRST_NAME} 
50                                                 </td>
51                                                 <td  nowrap="nowrap">
52                                                         <input type="text" size="20" name="first_name"  value="{LAST_SEARCH.FIRST_NAME}" />
53                                                 </td>
54                                                 <td scope="row" nowrap="nowrap">
55                                                         {MOD.LBL_LAST_NAME} 
56                                                 </td>
57                                                 <td  nowrap="nowrap">
58                                                         <input type="text" size="20" name="last_name"  value="{LAST_SEARCH.LAST_NAME}" />
59                                                 </td>
60                                                 <td valign="top" align="right">
61                                                         <input type="hidden" name="module" value="{MODULE_NAME}" />
62                                                         <input type="hidden" name="action" value="Popup" />
63                                                         <input type="hidden" name="query" value="true" />
64                                                         <input type="hidden" name="func_name" value="" />
65                                                         <input type="hidden" name="request_data" value="{request_data}" />
66                                                         <input type="hidden" name="populate_parent" value="false" />
67                                                         <input type="hidden" name="record_id" value="" />
68                                                         <input type="hidden" name="html" value="Email_picker" />
69                                                         <input type="submit" name="button" class="button" title="{APP.LBL_SEARCH_BUTTON_TITLE}" accesskey="{APP.LBL_SEARCH_BUTTON_KEY}" value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
70                                                 </td>
71                                         </tr>
72                                         <tr>
73                                                 <td scope="row" nowrap="nowrap">
74                                                         {MOD.LBL_ACCOUNT_NAME} 
75                                                 </td>
76                                                 <td >
77                                                         <input type="text" size="20" name="account_name"  value="{LAST_SEARCH.ACCOUNT_NAME}{ACCOUNT_NAME}" />
78                                                 </td>
79                                                 <td>
80                                                         &nbsp; 
81                                                 </td>
82                                                 <td>
83                                                         &nbsp; 
84                                                 </td>
85                                         </tr>
86                                 </table>
87                         </td>
88                 </tr>
89         </table>
90 </form>
91 <script type="text/javascript">
92 <!--
93 /* initialize the popup request from the parent */
94 window.document.forms['popup_query_form'].request_data.value = JSON.stringify(window.opener.get_popup_request_data());
95 -->
96 </script>
97 <p>
98 <div id='addformlink'>
99         {CREATECONTACT} 
100 </div>
101 <div id='addform' style='display:none;position:relative;z-index:2;left:0px;top:0px;'>
102 <form name="ContactSave" onsubmit="return check_form('ContactSave');" method="post" action="index.php">
103         {ADDFORMHEADER} 
104         <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
105                 <tr>
106                         <td>
107                                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
108                                         <tr>
109                                                 <td>
110                                                         <input type="hidden" name="module" value="{MODULE_NAME}" />
111                                                         <input type="hidden" name="action" value="Popup" />
112                                                         <input type="hidden" name="doAction" value="save" />
113                                                         <input type="hidden" name="query" value="true" />
114                                                         <input type="hidden" name="html" value="Email_picker" />
115                                                         {ADDFORM} 
116                                                 </td>
117                                         </tr>
118                                 </table>
119                         </td>
120                 </tr>
121         </table>
122 </form>
123 </div>
124 </p>
125 <!-- END: SearchHeader -->
126 <!-- BEGIN: list_nav_row -->
127 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list view">
128         {PAGINATION} 
129 <!-- END: list_nav_row -->
130         <tr height="20">
131                 <td scope="col"  nowrap>
132                         {CHECKALL} 
133                 </td>
134                 <td scope="col" width="40%"  nowrap="nowrap">
135                         <a href="{ORDER_BY}last_name" class="listViewThLinkS1">
136                                 {MOD.LBL_LIST_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}
137                         </a>
138                 </td>
139                 <td scope="col" width="20%"  nowrap="nowrap">
140                         <a href="{ORDER_BY}email1" class="listViewThLinkS1">
141                                 {MOD.LBL_LIST_EMAIL_ADDRESS}{arrow_start}{email1_arrow}{arrow_end}
142                         </a>
143                 </td>
144                 <td scope="col" width="40%"  nowrap="nowrap">
145                         {MOD.LBL_LIST_ACCOUNT_NAME} 
146                 </td>
147         </tr>
148 <!-- BEGIN: row -->
149         <tr height="20" class="{ROW_COLOR}S1">
150                 <td valign="top">
151                         {PREROW} 
152                 </td>
153                 <td scope='row' valign="top">
154                         <a href="#"  onclick="send_back('Contacts','{CONTACT.ID}');">
155                                 {CONTACT.FULL_NAME}
156                         </a>
157                 </td>
158                 <td valign="top">
159                         <a href="#"  onclick="send_back('Contacts','{CONTACT.ID}');">
160                                 {CONTACT.EMAIL1}
161                         </a>
162                         <br />
163                         <a href="#"  onclick="send_back('Contacts','{CONTACT.ID}');">
164                                 {CONTACT.EMAIL2}
165                         </a>
166                 </td>
167                 <td valign="top">
168                         {CONTACT.ACCOUNT_NAME} 
169                 </td>
170         </tr>
171         <tr>
172                 <td colspan="20" class="listViewHRS1">
173                 </td>
174         </tr>
175 <!-- END: row -->
176         {ASSOCIATED_JAVASCRIPT_DATA} 
177 </table>
178 <!-- END: main -->