Created controller for Simple FLE
这个提交包含在:
父节点
4cd25737dd
当前提交
be37112819
共有 1 个文件被更改,包括 24 次插入 和 0 次删除
|
|
@ -0,0 +1,24 @@
|
|||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class SimpleFLE extends CI_Controller {
|
||||
|
||||
public function index() {
|
||||
$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'); }
|
||||
|
||||
$this->load->model('modes');
|
||||
$this->load->model('logbook_model');
|
||||
$this->load->model('stations');
|
||||
$this->load->model('bands');
|
||||
|
||||
$data['station_profile'] = $this->stations->all_of_user(); // Used in the view for station location select
|
||||
|
||||
$data['page_title'] = "Simple Fast Log Entry";
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
$this->load->view('simplefastlogentry/index');
|
||||
$this->load->view('interface_assets/footer');
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用