当前提交
						455b28a756
					
				
					共有  3 个文件被更改,包括 5 次插入 和 2 次删除
				
			
		|  | @ -9,6 +9,8 @@ class Oqrs extends CI_Controller { | |||
| 
 | ||||
| 	function __construct() { | ||||
| 		parent::__construct(); | ||||
| 		$this->lang->load('lotw'); | ||||
| 		$this->lang->load('eqsl'); | ||||
| 		// Commented out to get public access
 | ||||
| 		// $this->load->model('user_model');
 | ||||
| 		// if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
 | ||||
|  |  | |||
|  | @ -145,6 +145,7 @@ class Oqrs_model extends CI_Model { | |||
| 				'email' 			=> xss_clean($postdata['email']), | ||||
| 				'qslroute' 			=> '', | ||||
| 				'status' 			=> '1', | ||||
| 				'qsoid' 			=> '0', | ||||
| 			); | ||||
| 
 | ||||
| 			$this->db->insert('oqrs', $data); | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ checked.<br /> | |||
| <form> | ||||
|     <div class="form-group"> | ||||
|         <label for="message">Message</label> | ||||
|         <textarea name="message" class="form-control" id="exampleFormControlTextarea1" rows="3" aria-describedby="messageHelp"></textarea> | ||||
|         <textarea name="message" class="form-control" id="messageInput" rows="3" aria-describedby="messageHelp"></textarea> | ||||
|         <small id="messageHelp" class="form-text text-muted">Any extra information we need to know about?</small> | ||||
|     </div> | ||||
| 
 | ||||
|  |  | |||
		正在加载…
	
		在新工单中引用