grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026module = $module; $this->template = $template; $this->ss = new Sugar_Smarty(); } /** * @deprecated deprecated since version 7.6, PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code, use __construct instead */ public function EditView($module, $template) { $deprecatedMessage = 'PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code'; if (isset($GLOBALS['log'])) { $GLOBALS['log']->deprecated($deprecatedMessage); } else { trigger_error($deprecatedMessage, E_USER_DEPRECATED); } self::__construct($module, $template); } /** * Processes / setups the template * assigns all things to the template like mod_srings and app_strings * */ public function process() { global $current_language, $app_strings, $sugar_version, $sugar_config, $timedate, $theme; ; $module_strings = return_module_language($current_language, $this->module); $this->ss->assign('SUGAR_VERSION', $sugar_version); $this->ss->assign('JS_CUSTOM_VERSION', $sugar_config['js_custom_version']); $this->ss->assign('VERSION_MARK', getVersionedPath('')); $this->ss->assign('THEME', $theme); $this->ss->assign('APP', $app_strings); $this->ss->assign('MOD', $module_strings); } /** * Displays the template * * @return string HTML of parsed template */ public function display() { return $this->ss->fetch($this->template); } }