setView($view); if ($view == 'EditView' || $view == 'QuickCreate' || $view == 'ConvertLead') { $module = $focus->module_dir; if ($view == 'ConvertLead' && $module == "Contacts") { $module = "Leads"; } return $sea->getEmailAddressWidgetEditView($focus->id, $module, false, '', $tabindex); } return $sea->getEmailAddressWidgetDetailView($focus); }