grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026options['show_title'] = false; $this->options['show_header'] = false; $this->options['show_footer'] = false; $this->options['show_javascript'] = false; $this->options['show_subpanels'] = false; $this->options['show_search'] = false; $this->type = 'ImportView'; } /** * @see SugarView::preDisplay() */ public function preDisplay() { global $current_user; $metadataFile = $this->getMetaDataFile(); $this->ev = $this->getEditView(); $this->ev->ss =& $this->ss; // Set a distinct view name to avoid cache conflicts with regular edit view $this->ev->formName = 'EditNonImported'; if (!isset($this->bean->mailbox_id) || empty($this->bean->mailbox_id)) { $inboundEmailID = $current_user->getPreference('defaultIEAccount', 'Emails'); $this->ev->ss->assign('INBOUND_ID', $inboundEmailID); } else { $this->ev->ss->assign('INBOUND_ID', $this->bean->mailbox_id); } $this->ev->ss->assign('TEMP_ID', create_guid()); $this->ev->ss->assign('RETURN_MODULE', isset($_REQUEST['return_module']) ? $_REQUEST['return_module'] : ''); $this->ev->ss->assign('RETURN_ACTION', isset($_REQUEST['return_action']) ? $_REQUEST['return_action'] : ''); $this->ev->setup( $this->module, $this->bean, 'modules/Emails/metadata/importviewdefs.php', 'modules/Emails/include/ImportView/ImportView.tpl' ); } }