]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Accounts/Popup_picker.html
Release 6.4.0
[Github/sugarcrm.git] / modules / Accounts / 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/javascript/popup_helper.js?v={VERSION_MARK}"></script>
42
43
44 <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
45 <tr>
46 <td>
47 <form action="index.php" method="post" name="popup_query_form" id="popup_query_form">
48 <table width="100%" border="0" cellspacing="0" cellpadding="0">
49 <tr>
50 <td scope="row" nowrap="nowrap">{MOD.LBL_ACCOUNT_NAME}</td>
51 <td  nowrap="nowrap"><input type="text" size="20" name="name"  value="{NAME}" /></td>
52 <td scope="row" nowrap="nowrap">{MOD.LBL_CITY}</td>
53 <td  nowrap="nowrap"><input type="text" size="20" name="billing_address_city"  value="{BILLING_ADDRESS_CITY}" /></td>
54 </tr>
55 <tr>
56 <td scope="row" nowrap="nowrap">{MOD.LBL_PHONE_OFFICE}</td>
57 <td  nowrap="nowrap"><input type="text" size="20" name="phone_office"  value="{PHONE_OFFICE}" /></td>
58 <td>
59 </td>
60 <td width="20%" 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="hide_clear_button" value="true" />
68 <input type="hidden" name="record_id" value="" />
69 <input type="submit" name="button" class="button"
70     id="search_form_submit"
71         title="{APP.LBL_SEARCH_BUTTON_TITLE}"
72         accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
73         value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
74 <input type="hidden" name="mode" value="{MULTI_SELECT}" />
75 <input type="hidden" name="create" value="{CREATE}">
76 </td>
77 </tr>
78 </table>
79 </form>
80 </td>
81 </tr>
82 </table>
83
84 <p>
85 <div id='addformlink'>{CREATEBUTTON}</div>
86 <div id='addform' style='display:none;position:relative;z-index:2;left:0px;top:0px;'>
87 <form name="AccountSave" onsubmit="return check_form('AccountSave');" method="post" action="index.php">
88 {ADDFORMHEADER}
89 <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
90 <tr>
91 <td>
92 <table width="100%" border="0" cellspacing="0" cellpadding="0">
93 <tr><td>
94 <input type="hidden" name="module" value="{MODULE_NAME}" />
95 <input type="hidden" name="action" value="Popup" />
96 <input type="hidden" name="doAction" value="save" />
97 <input type="hidden" name="query" value="true" />
98 {ADDFORM}
99 </td></tr>
100 </table></td></tr></table>
101 </form>
102 </div>
103 </p>
104
105 <!-- END: SearchHeader -->
106 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list view">
107 <!-- BEGIN: list_nav_row -->
108 {PAGINATION}
109 <!-- END: list_nav_row -->
110 <tr height="20">
111 <th scope="col" nowrap="nowrap">{CHECKALL}</th>
112 <th scope="col" width="45%"><a href="{ORDER_BY}name">{MOD.LBL_LIST_ACCOUNT_NAME}{arrow_start}{name_arrow}{arrow_end}</a></th>
113 <th scope="col" width="35%"><a href="{ORDER_BY}BILLING_ADDRESS_CITY">{MOD.LBL_LIST_CITY}{arrow_start}{BILLING_ADDRESS_CITY_arrow}{arrow_end}</a></th>
114 <th scope="col" width="30%"><a href="{ORDER_BY}PHONE_OFFICE">{MOD.LBL_PHONE_OFFICE}{arrow_start}{PHONE_OFFICE_arrow}{arrow_end}</a></th>
115 </tr>
116 <!-- BEGIN: row -->
117 <tr height="20" class="{ROW_COLOR}S1">
118 <td valign='top'>{PREROW}</td>
119 <td scope='row' valign="top"><{TAG_TYPE} href="javascript:void(0)" onclick="send_back('Accounts','{ACCOUNT.ID}');" >{ACCOUNT.NAME}</{TAG_TYPE}></td>
120 <td valign="top">{ACCOUNT.CITY}</td>
121 <td valign="top">{ACCOUNT.PHONE_OFFICE}</td>
122 </tr>
123
124 <!-- END: row -->
125 {PAGINATION}
126 </table>
127 {ASSOCIATED_JAVASCRIPT_DATA}
128 <!-- END: main -->