2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
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.
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
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
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.
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.
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 ********************************************************************************/
38 $listViewDefs ['Contacts'] =
43 'label' => 'LBL_LIST_NAME',
47 'objectType' => 'sugarPerson',
50 'contact_id' => '{$ID}',
51 'module' => 'Contacts',
52 'return_action' => 'ListView',
53 'contact_name' => '{$FULL_NAME}',
54 'parent_id' => '{$ACCOUNT_ID}',
55 'parent_name' => '{$ACCOUNT_NAME}',
56 'return_module' => 'Contacts',
57 'parent_type' => 'Account',
58 'notes_parent_type' => 'Account',
76 'label' => 'LBL_TEST',
83 'label' => 'LBL_TEST2',
89 'label' => 'LBL_LIST_TITLE',
95 'label' => 'LBL_LIST_ACCOUNT_NAME',
96 'module' => 'Accounts',
101 'objectType' => 'sugarAccount',
104 'return_module' => 'Contacts',
105 'return_action' => 'ListView',
106 'module' => 'Accounts',
107 'parent_id' => '{$ACCOUNT_ID}',
108 'parent_name' => '{$ACCOUNT_NAME}',
109 'account_id' => '{$ACCOUNT_ID}',
110 'account_name' => '{$ACCOUNT_NAME}',
115 'ACLTag' => 'ACCOUNT',
124 'label' => 'LBL_LIST_EMAIL_ADDRESS',
127 'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
133 'label' => 'LBL_OFFICE_PHONE',
136 'ASSIGNED_USER_NAME' =>
139 'label' => 'LBL_LIST_ASSIGNED_USER',
145 'label' => 'LBL_DEPARTMENT',
151 'label' => 'LBL_DO_NOT_CALL',
157 'label' => 'LBL_HOME_PHONE',
163 'label' => 'LBL_MOBILE_PHONE',
169 'label' => 'LBL_OTHER_PHONE',
175 'label' => 'LBL_FAX_PHONE',
181 'label' => 'LBL_LIST_EMAIL_ADDRESS',
183 'customCode' => '{$EMAIL2_LINK}{$EMAIL2}</a>',
186 'PRIMARY_ADDRESS_STREET' =>
189 'label' => 'LBL_PRIMARY_ADDRESS_STREET',
192 'PRIMARY_ADDRESS_CITY' =>
195 'label' => 'LBL_PRIMARY_ADDRESS_CITY',
198 'PRIMARY_ADDRESS_STATE' =>
201 'label' => 'LBL_PRIMARY_ADDRESS_STATE',
204 'PRIMARY_ADDRESS_POSTALCODE' =>
207 'label' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
210 'ALT_ADDRESS_COUNTRY' =>
213 'label' => 'LBL_ALT_ADDRESS_COUNTRY',
216 'ALT_ADDRESS_STREET' =>
219 'label' => 'LBL_ALT_ADDRESS_STREET',
222 'ALT_ADDRESS_CITY' =>
225 'label' => 'LBL_ALT_ADDRESS_CITY',
228 'ALT_ADDRESS_STATE' =>
231 'label' => 'LBL_ALT_ADDRESS_STATE',
234 'ALT_ADDRESS_POSTALCODE' =>
237 'label' => 'LBL_ALT_ADDRESS_POSTALCODE',
243 'label' => 'LBL_DATE_ENTERED',
249 'label' => 'LBL_CREATED',
252 'MODIFIED_BY_NAME' =>
255 'label' => 'LBL_MODIFIED',