Added Operator (COL_OPERATOR) to possible columns

This commit is contained in:
iddq 2021-11-01 15:22:26 +01:00
parent 1242fde5c1
commit 3d883409a1
4 changed files with 14 additions and 0 deletions

View File

@ -96,6 +96,7 @@ $lang['gen_hamradio_state'] = 'State';
$lang['gen_hamradio_iota'] = 'IOTA';
$lang['gen_hamradio_sota'] = 'SOTA';
$lang['gen_hamradio_gridsquare'] = 'Gridsquare';
$lang['gen_hamradio_operator'] = 'Operator';
$lang['gen_hamradio_sig'] = 'Sig';
$lang['gen_hamradio_sig_info'] = 'Sig Info';

View File

@ -149,6 +149,7 @@
<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -164,6 +165,7 @@
<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -179,6 +181,7 @@
<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -194,6 +197,7 @@
<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -209,6 +213,7 @@
<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
</div>

View File

@ -335,6 +335,7 @@
<option value="SOTA" <?php if ($user_column1 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State" <?php if ($user_column1 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid" <?php if ($user_column1 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -350,6 +351,7 @@
<option value="SOTA" <?php if ($user_column2 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State" <?php if ($user_column2 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid" <?php if ($user_column2 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -365,6 +367,7 @@
<option value="SOTA" <?php if ($user_column3 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State" <?php if ($user_column3 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid" <?php if ($user_column3 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
@ -380,6 +383,7 @@
<option value="SOTA" <?php if ($user_column4 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State" <?php if ($user_column4 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid" <?php if ($user_column4 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
<div class="form-group col-md-3">
@ -394,6 +398,7 @@
<option value="SOTA" <?php if ($user_column5 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
<option value="State" <?php if ($user_column5 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
<option value="Grid" <?php if ($user_column5 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
</select>
</div>
</div>

View File

@ -10,6 +10,8 @@ function echo_table_header_col($ctx, $name) {
case 'State': echo '<td>'.$ctx->lang->line('gen_hamradio_state').'</td>'; break;
case 'Grid': echo '<td>'.$ctx->lang->line('gen_hamradio_gridsquare').'</td>'; break;
case 'Band': echo '<td>'.$ctx->lang->line('gen_hamradio_band').'</td>'; break;
case 'Operator': echo '<td>'.$ctx->lang->line('gen_hamradio_operator').'</td>'; break;
}
}
@ -24,6 +26,7 @@ function echo_table_col($row, $name) {
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE . '</td>'; break;
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break;
case 'State': echo '<td>' . ($row->COL_STATE) . '</td>'; break;
case 'Operator':echo '<td>' . ($row->COL_OPERATOR) . '</td>'; break;
}
}
?>