function display() { $action = $this->input->get('action'); if ($action == 'select') { $this->input->set('tmpl', 'component'); $this->input->set('action', $action); } parent::display(); }
public function edit() { $cids = $this->input->get('cid', null, 'array'); $cid = (int) $cids[0]; $this->input->set('id', $cid); $this->input->set('view', 'jt_location'); $this->input->set('layout', 'form'); parent::display(); }
public function edit_css() { $cids = $this->input->get('cid', array(), 'array'); $cid = (int) $cids[0]; $this->input->set('id', $cid); $this->input->set('view', 'jt_theme'); $this->input->set('layout', 'editcss'); parent::display(); }