Merge pull request #1287 from Werzi2001/version_2_exclude_deleted
exclud deleted DXCC and IOTA by default
这个提交包含在:
当前提交
b58ed8bcbd
共有 3 个文件被更改,包括 6 次插入 和 6 次删除
|
|
@ -120,7 +120,7 @@ class Awards extends CI_Controller {
|
|||
$postdata['worked'] = 1;
|
||||
$postdata['confirmed'] = 1;
|
||||
$postdata['notworked'] = 1;
|
||||
$postdata['includedeleted'] = 1;
|
||||
$postdata['includedeleted'] = 0;
|
||||
$postdata['Africa'] = 1;
|
||||
$postdata['Asia'] = 1;
|
||||
$postdata['Europe'] = 1;
|
||||
|
|
@ -379,7 +379,7 @@ class Awards extends CI_Controller {
|
|||
$postdata['worked'] = 1;
|
||||
$postdata['confirmed'] = 1;
|
||||
$postdata['notworked'] = 1;
|
||||
$postdata['includedeleted'] = 1;
|
||||
$postdata['includedeleted'] = 0;
|
||||
$postdata['Africa'] = 1;
|
||||
$postdata['Asia'] = 1;
|
||||
$postdata['Europe'] = 1;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="col-md-2 control-label" for="checkboxes">Deleted DXCC</div>
|
||||
<div class="col-md-10">
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
|
||||
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="includedeleted">Include deleted</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -138,7 +138,7 @@
|
|||
<td>#</td>
|
||||
<td>DXCC Name</td>
|
||||
<td>Prefix</td>';
|
||||
if ($this->input->post('includedeleted') || $this->input->method() !== 'post')
|
||||
if ($this->input->post('includedeleted'))
|
||||
echo '
|
||||
<td>Deleted</td>';
|
||||
foreach($bands as $band) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="col-md-2 control-label" for="checkboxes">Deleted IOTA</div>
|
||||
<div class="col-md-10">
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
|
||||
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="includedeleted">Include deleted</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
<td>IOTA</td>
|
||||
<td>Prefix</td>
|
||||
<td>Name</td>';
|
||||
if ($this->input->post('includedeleted') || $this->input->method() !== 'post')
|
||||
if ($this->input->post('includedeleted'))
|
||||
echo ' <td>Deleted</td>';
|
||||
|
||||
foreach($bands as $band) {
|
||||
|
|
|
|||
正在加载…
在新工单中引用