mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix saving of LBA-Cols
This commit is contained in:
@@ -558,45 +558,45 @@ class Logbookadvanced extends CI_Controller {
|
||||
public function setUserOptions() {
|
||||
if(!clubaccess_check(9)) return;
|
||||
|
||||
$json_string['datetime']['show'] = $this->input->post('datetime');
|
||||
$json_string['de']['show'] = $this->input->post('de');
|
||||
$json_string['dx']['show'] = $this->input->post('dx');
|
||||
$json_string['mode']['show'] = $this->input->post('mode');
|
||||
$json_string['rstr']['show'] = $this->input->post('rstr');
|
||||
$json_string['rsts']['show'] = $this->input->post('rsts');
|
||||
$json_string['band']['show'] = $this->input->post('band');
|
||||
$json_string['myrefs']['show'] = $this->input->post('myrefs');
|
||||
$json_string['name']['show'] = $this->input->post('name');
|
||||
$json_string['qslvia']['show'] = $this->input->post('qslvia');
|
||||
$json_string['qsl']['show'] = $this->input->post('qsl');
|
||||
$json_string['lotw']['show'] = $this->input->post('lotw');
|
||||
$json_string['eqsl']['show'] = $this->input->post('eqsl');
|
||||
$json_string['clublog']['show'] = $this->input->post('clublog');
|
||||
$json_string['qslmsgs']['show'] = $this->input->post('qslmsgs');
|
||||
$json_string['qslmsgr']['show'] = $this->input->post('qslmsgr');
|
||||
$json_string['dxcc']['show'] = $this->input->post('dxcc');
|
||||
$json_string['state']['show'] = $this->input->post('state');
|
||||
$json_string['cqzone']['show'] = $this->input->post('cqzone');
|
||||
$json_string['ituzone']['show'] = $this->input->post('ituzone');
|
||||
$json_string['iota']['show'] = $this->input->post('iota');
|
||||
$json_string['pota']['show'] = $this->input->post('pota');
|
||||
$json_string['operator']['show'] = $this->input->post('operator');
|
||||
$json_string['comment']['show'] = $this->input->post('comment');
|
||||
$json_string['propagation']['show'] = $this->input->post('propagation');
|
||||
$json_string['contest']['show'] = $this->input->post('contest');
|
||||
$json_string['gridsquare']['show'] = $this->input->post('gridsquare');
|
||||
$json_string['sota']['show'] = $this->input->post('sota');
|
||||
$json_string['dok']['show'] = $this->input->post('dok');
|
||||
$json_string['sig']['show'] = $this->input->post('sig');
|
||||
$json_string['wwff']['show'] = $this->input->post('wwff');
|
||||
$json_string['continent']['show'] = $this->input->post('continent');
|
||||
$json_string['qrz']['show'] = $this->input->post('qrz');
|
||||
$json_string['profilename']['show'] = $this->input->post('profilename');
|
||||
$json_string['stationpower']['show'] = $this->input->post('stationpower');
|
||||
$json_string['distance']['show'] = $this->input->post('distance');
|
||||
$json_string['antennaazimuth']['show'] = $this->input->post('antennaazimuth');
|
||||
$json_string['antennaelevation']['show'] = $this->input->post('antennaelevation');
|
||||
$json_string['region']['show'] = $this->input->post('region');
|
||||
$json_string['datetime']['show'] = $this->def_boolean($this->input->post('datetime'),'true');
|
||||
$json_string['de']['show'] = $this->def_boolean($this->input->post('de'),'true');
|
||||
$json_string['dx']['show'] = $this->def_boolean($this->input->post('dx'),'true');
|
||||
$json_string['mode']['show'] = $this->def_boolean($this->input->post('mode'),'true');
|
||||
$json_string['rstr']['show'] = $this->def_boolean($this->input->post('rstr'));
|
||||
$json_string['rsts']['show'] = $this->def_boolean($this->input->post('rsts'));
|
||||
$json_string['band']['show'] = $this->def_boolean($this->input->post('band'));
|
||||
$json_string['myrefs']['show'] = $this->def_boolean($this->input->post('myrefs'));
|
||||
$json_string['name']['show'] = $this->def_boolean($this->input->post('name'));
|
||||
$json_string['qslvia']['show'] = $this->def_boolean($this->input->post('qslvia'));
|
||||
$json_string['qsl']['show'] = $this->def_boolean($this->input->post('qsl'));
|
||||
$json_string['lotw']['show'] = $this->def_boolean($this->input->post('lotw'));
|
||||
$json_string['eqsl']['show'] = $this->def_boolean($this->input->post('eqsl'));
|
||||
$json_string['clublog']['show'] = $this->def_boolean($this->input->post('clublog'));
|
||||
$json_string['qslmsgs']['show'] = $this->def_boolean($this->input->post('qslmsgs'));
|
||||
$json_string['qslmsgr']['show'] = $this->def_boolean($this->input->post('qslmsgr'));
|
||||
$json_string['dxcc']['show'] = $this->def_boolean($this->input->post('dxcc'));
|
||||
$json_string['state']['show'] = $this->def_boolean($this->input->post('state'));
|
||||
$json_string['cqzone']['show'] = $this->def_boolean($this->input->post('cqzone'));
|
||||
$json_string['ituzone']['show'] = $this->def_boolean($this->input->post('ituzone'));
|
||||
$json_string['iota']['show'] = $this->def_boolean($this->input->post('iota'));
|
||||
$json_string['pota']['show'] = $this->def_boolean($this->input->post('pota'));
|
||||
$json_string['operator']['show'] = $this->def_boolean($this->input->post('operator'));
|
||||
$json_string['comment']['show'] = $this->def_boolean($this->input->post('comment'));
|
||||
$json_string['propagation']['show'] = $this->def_boolean($this->input->post('propagation'));
|
||||
$json_string['contest']['show'] = $this->def_boolean($this->input->post('contest'));
|
||||
$json_string['gridsquare']['show'] = $this->def_boolean($this->input->post('gridsquare'));
|
||||
$json_string['sota']['show'] = $this->def_boolean($this->input->post('sota'));
|
||||
$json_string['dok']['show'] = $this->def_boolean($this->input->post('dok'));
|
||||
$json_string['sig']['show'] = $this->def_boolean($this->input->post('sig'));
|
||||
$json_string['wwff']['show'] = $this->def_boolean($this->input->post('wwff'));
|
||||
$json_string['continent']['show'] = $this->def_boolean($this->input->post('continent'));
|
||||
$json_string['qrz']['show'] = $this->def_boolean($this->input->post('qrz'));
|
||||
$json_string['profilename']['show'] = $this->def_boolean($this->input->post('profilename'));
|
||||
$json_string['stationpower']['show'] = $this->def_boolean($this->input->post('stationpower'));
|
||||
$json_string['distance']['show'] = $this->def_boolean($this->input->post('distance'));
|
||||
$json_string['antennaazimuth']['show'] = $this->def_boolean($this->input->post('antennaazimuth'));
|
||||
$json_string['antennaelevation']['show'] = $this->def_boolean($this->input->post('antennaelevation'));
|
||||
$json_string['region']['show'] = $this->def_boolean($this->input->post('region'));
|
||||
|
||||
$obj['column_settings']= json_encode($json_string);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user