[Award] WAS - removed unused code
这个提交包含在:
父节点
fc742615d7
当前提交
352b933f44
共有 2 个文件被更改,包括 5 次插入 和 46 次删除
|
|
@ -964,35 +964,6 @@ class Awards extends CI_Controller {
|
||||||
$this->load->view('adif/data/exportall', $data);
|
$this->load->view('adif/data/exportall', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
function was_map
|
|
||||||
|
|
||||||
This displays the WAS map and requires the $band_type and $mode_type
|
|
||||||
*/
|
|
||||||
public function was_map2($band_type, $mode_type) {
|
|
||||||
|
|
||||||
$this->load->model('was');
|
|
||||||
|
|
||||||
$data['mode'] = $mode_type;
|
|
||||||
|
|
||||||
$bands[] = $band_type;
|
|
||||||
|
|
||||||
$postdata['qsl'] = 1;
|
|
||||||
$postdata['lotw'] = 1;
|
|
||||||
$postdata['eqsl'] = 0;
|
|
||||||
$postdata['worked'] = 1;
|
|
||||||
$postdata['confirmed'] = 1;
|
|
||||||
$postdata['notworked'] = 1;
|
|
||||||
$postdata['band'] = $band_type;
|
|
||||||
$postdata['mode'] = $mode_type;
|
|
||||||
|
|
||||||
$data['was_array'] = $this->was->get_was_array($bands, $postdata);
|
|
||||||
|
|
||||||
$data['page_title'] = "";
|
|
||||||
|
|
||||||
$this->load->view('awards/was/map', $data);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
function was_map
|
function was_map
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,18 +55,6 @@
|
||||||
$('[data-bs-toggle="tooltip"]').tooltip();
|
$('[data-bs-toggle="tooltip"]').tooltip();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php if ($this->uri->segment(1) == "awards" && ($this->uri->segment(2) == "was") ) { ?>
|
|
||||||
<script>
|
|
||||||
function load_was_map() {
|
|
||||||
BootstrapDialog.show({
|
|
||||||
title: 'Worked All States Map ('+$('#band2').val()+' '+$('#mode').val()+')',
|
|
||||||
cssClass: 'was-map-dialog',
|
|
||||||
message: $('<div></div>').load(site_url + '/awards/was_map/' + $('#band2').val() + '/' + $('#mode').val())
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<!-- Version Dialog START -->
|
<!-- Version Dialog START -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用