'. $mod_strings['LBL_EDIT_ACCOUNT_NAME'] . ' ' . $fields['ACCOUNT_NAME'] . '
'; if(!empty($fields['PRIMARY_ADDRESS_STREET']) || !empty($fields['PRIMARY_ADDRESS_CITY']) || !empty($fields['PRIMARY_ADDRESS_STATE']) || !empty($fields['PRIMARY_ADDRESS_POSTALCODE']) || !empty($fields['PRIMARY_ADDRESS_COUNTRY'])) $overlib_string .= '' . $mod_strings['LBL_PRIMARY_ADDRESS'] . '
'; if(!empty($fields['PRIMARY_ADDRESS_STREET'])) $overlib_string .= $fields['PRIMARY_ADDRESS_STREET'] . '
'; if(!empty($fields['PRIMARY_ADDRESS_STREET_2'])) $overlib_string .= $fields['PRIMARY_ADDRESS_STREET_2'] . '
'; if(!empty($fields['PRIMARY_ADDRESS_STREET_3'])) $overlib_string .= $fields['PRIMARY_ADDRESS_STREET_3'] . '
'; if(!empty($fields['PRIMARY_ADDRESS_CITY'])) $overlib_string .= $fields['PRIMARY_ADDRESS_CITY'] . ', '; if(!empty($fields['PRIMARY_ADDRESS_STATE'])) $overlib_string .= $fields['PRIMARY_ADDRESS_STATE'] . ' '; if(!empty($fields['PRIMARY_ADDRESS_POSTALCODE'])) $overlib_string .= $fields['PRIMARY_ADDRESS_POSTALCODE'] . ' '; if(!empty($fields['PRIMARY_ADDRESS_COUNTRY'])) $overlib_string .= $fields['PRIMARY_ADDRESS_COUNTRY'] . '
'; if(strlen($overlib_string) > 0 && !(strrpos($overlib_string, '
') == strlen($overlib_string) - 4)) $overlib_string .= '
'; if(!empty($fields['PHONE_MOBILE'])) $overlib_string .= ''. $mod_strings['LBL_MOBILE_PHONE'] . ' ' . $fields['PHONE_MOBILE'] . '
'; if(!empty($fields['PHONE_HOME'])) $overlib_string .= ''. $mod_strings['LBL_HOME_PHONE'] . ' ' . $fields['PHONE_HOME'] . '
'; if(!empty($fields['PHONE_OTHER'])) $overlib_string .= ''. $mod_strings['LBL_OTHER_PHONE'] . ' ' . $fields['PHONE_OTHER'] . '
'; if(!empty($fields['EMAIL1'])) $overlib_string .= ''. $mod_strings['LBL_EMAIL_ADDRESS'] . ' ' . "") . "&return_module=Contacts&return_action=ListView'>{$fields['EMAIL1']}
"; if(!empty($fields['EMAIL2'])) $overlib_string .= ''. $mod_strings['LBL_OTHER_EMAIL_ADDRESS'] . ' ' . "") . "&return_module=Contacts&return_action=ListView'>{$fields['EMAIL2']}
"; if(!empty($fields['DESCRIPTION'])) { $overlib_string .= ''. $mod_strings['LBL_DESCRIPTION'] . ' ' . substr($fields['DESCRIPTION'], 0, 300); if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...'; } return array('fieldToAddTo' => 'FULL_NAME', 'string' => $overlib_string, 'editLink' => "index.php?action=EditView&module=Prospects&return_module=Prospects&record={$fields['ID']}", 'viewLink' => "index.php?action=DetailView&module=Prospects&return_module=Prospects&record={$fields['ID']}"); } ?>