当前提交
48f9e86097
共有 3 个文件被更改,包括 9 次插入 和 4 次删除
|
|
@ -52,7 +52,7 @@ class User extends CI_Controller {
|
||||||
$data['user_callsign'] = $this->input->post('user_callsign');
|
$data['user_callsign'] = $this->input->post('user_callsign');
|
||||||
$data['user_locator'] = $this->input->post('user_locator');
|
$data['user_locator'] = $this->input->post('user_locator');
|
||||||
$data['user_timezone'] = $this->input->post('user_timezone');
|
$data['user_timezone'] = $this->input->post('user_timezone');
|
||||||
$this->load->view('user/add');
|
$this->load->view('user/add', $data);
|
||||||
} else {
|
} else {
|
||||||
$this->load->view('user/add', $data);
|
$this->load->view('user/add', $data);
|
||||||
}
|
}
|
||||||
|
|
@ -88,7 +88,7 @@ class User extends CI_Controller {
|
||||||
$data['user_lastname'] = $this->input->post('user_lastname');
|
$data['user_lastname'] = $this->input->post('user_lastname');
|
||||||
$data['user_callsign'] = $this->input->post('user_callsign');
|
$data['user_callsign'] = $this->input->post('user_callsign');
|
||||||
$data['user_locator'] = $this->input->post('user_locator');
|
$data['user_locator'] = $this->input->post('user_locator');
|
||||||
$this->load->view('user/add');
|
$this->load->view('user/add', $data);
|
||||||
$this->load->view('interface_assets/footer');
|
$this->load->view('interface_assets/footer');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,3 +17,5 @@ class Logbooks extends CI_Controller {
|
||||||
{
|
{
|
||||||
echo 'Functions to come';
|
echo 'Functions to come';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,10 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Timezone</label>
|
<label>Timezone</label>
|
||||||
<?php echo form_dropdown('user_timezone', $timezones, 0); ?>
|
<?php
|
||||||
|
if(!isset($user_timezone)) { $user_timezone = 0; }
|
||||||
|
echo form_dropdown('user_timezone', $timezones, $user_timezone);
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用