/** * Combo Load */ public function combo_load() { parent::combo_load(); if ($this->input->get('include_jquery') == 'y') { $this->output->set_output(file_get_contents(PATH_JQUERY . 'jquery.js') . "\n\n" . $this->output->get_output()); } $this->safecracker->load_channel_standalone(); if ($this->input->get('use_live_url') == 'y') { $this->output->append_output($this->safecracker->channel_standalone->_url_title_js() . "\n\n"); } $this->load->helper('smiley'); $this->output->append_output(($this->config->item('use_compressed_js') != 'n' ? str_replace(array("\n", "\t"), '', smiley_js('', '', FALSE)) : smiley_js('', '', FALSE)) . "\n\n"); $this->output->append_output(file_get_contents($this->js_path . 'saef.js')); $this->output->set_header('Content-Length: ' . strlen($this->output->get_output())); }