[Award] WAS - removed unused code

这个提交包含在:
Andreas 2023-12-12 21:41:23 +01:00
父节点 fc742615d7
当前提交 352b933f44
共有 2 个文件被更改,包括 5 次插入46 次删除

查看文件

@ -964,35 +964,6 @@ class Awards extends CI_Controller {
$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

查看文件

@ -55,18 +55,6 @@
$('[data-bs-toggle="tooltip"]').tooltip();
});
</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 -->
<?php