mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
23 lines
802 B
PHP
23 lines
802 B
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
# This is the controller for the operator dialog which can be enabled for special callsign activities
|
|
# Check out the config "special_callsign" in your config.php for more information
|
|
|
|
class Operator extends CI_Controller {
|
|
|
|
public function displayOperatorDialog() {
|
|
|
|
$this->load->view('operator/index');
|
|
|
|
}
|
|
|
|
public function saveOperator() {
|
|
|
|
$operator = ['operator_callsign' => $this->security->xss_clean(strtoupper($this->input->post('operator_callsign')))];
|
|
$op_firstname = ['operator_firstname' => $this->security->xss_clean($this->input->post('operator_firstname'))];
|
|
|
|
$this->session->set_userdata($operator);
|
|
$this->session->set_userdata($op_firstname);
|
|
}
|
|
}
|