kopia lustrzana https://github.com/magicbug/Cloudlog
Storing Logged in callsign against COL_OPERATOR, when adding a QSO
rodzic
39e3895294
commit
22cc36f674
|
@ -144,6 +144,7 @@ class Contests extends CI_Model {
|
|||
'COL_QSLRDATE' => date('Y-m-d'),
|
||||
'COL_QSL_SENT' => 'N',
|
||||
'COL_QSL_RCVD' => 'N',
|
||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||
);
|
||||
|
||||
// Add QSO to database
|
||||
|
|
|
@ -36,6 +36,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_QSL_RCVD' => $this->input->post('qsl_recv'),
|
||||
'COL_QSL_SENT_VIA' => $this->input->post('qsl_sent_method'),
|
||||
'COL_QSL_RCVD_VIA' => $this->input->post('qsl_recv_method'),
|
||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||
);
|
||||
|
||||
// Add QSO to database
|
||||
|
|
|
@ -197,6 +197,7 @@ class User_Model extends CI_Model {
|
|||
'user_id' => $u->row()->user_id,
|
||||
'user_name' => $u->row()->user_name,
|
||||
'user_type' => $u->row()->user_type,
|
||||
'user_callsign' => $u->row()->user_callsign,
|
||||
'user_hash' => $this->_hash($u->row()->user_id."-".$u->row()->user_type)
|
||||
);
|
||||
|
||||
|
|
|
@ -193,4 +193,4 @@ border-radius: 10px;
|
|||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div id="clear" class="clear"></div>
|
||||
<div id="clear" class="clear"></div>
|
Ładowanie…
Reference in New Issue