Code Duplication    Length = 9-9 lines in 2 locations

web_interface/astpp/application/modules/freeswitch/controllers/freeswitch.php 1 location

@@ 247-255 (lines=9) @@
244
	}
245
246
247
	function fssipdevices() {
248
		$data['page_title'] = 'SIP Devices';
249
		$data['search_flag'] = true;
250
		$this->session->set_userdata('advance_search', 0);
251
		$data['grid_fields'] = $this->freeswitch_form->build_system_list_for_admin();
252
		$data["grid_buttons"] = $this->freeswitch_form->build_grid_buttons();
253
		$data['form_search'] = $this->form->build_serach_form($this->freeswitch_form->get_sipdevice_search_form());
254
		$this->load->view('view_freeswitch_sip_devices_list', $data);
255
	}
256
257
/******
258
ASTPP 3.0

web_interface/astpp/application/modules/taxes/controllers/taxes.php 1 location

@@ 99-107 (lines=9) @@
96
		redirect(base_url() . 'taxes/taxes_list/');
97
	}
98
99
	function taxes_list() {
100
		$data['page_title'] = 'Taxes';
101
		$data['search_flag'] = true;
102
		$this->session->set_userdata('advance_search', 0);
103
		$data['grid_fields'] = $this->taxes_form->build_taxes_list_for_admin();
104
		$data["grid_buttons"] = $this->taxes_form->build_grid_buttons();
105
		$data['form_search'] = $this->form->build_serach_form($this->taxes_form->get_search_taxes_form());
106
		$this->load->view('view_taxes_list', $data);
107
	}
108
109
	function taxes_list_json() {
110
		$json_data = array();