Storing Logged in callsign against COL_OPERATOR, when adding a QSO

pull/106/merge
Peter Goodhall 2011-08-20 22:24:10 +01:00
rodzic 39e3895294
commit 22cc36f674
4 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -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)
);

Wyświetl plik

@ -193,4 +193,4 @@ border-radius: 10px;
</ul>
</div>
<?php } ?>
<div id="clear" class="clear"></div>
<div id="clear" class="clear"></div>