fixed other doubles of form-select

pull/2738/head
HB9HIL 2023-11-27 13:33:38 +01:00
rodzic 4a5c979514
commit 641c2913b3
9 zmienionych plików z 18 dodań i 18 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="band">Band</label>
<div class="col-md-3">
<select id="band" name="band" class="form-select form-select">
<select id="band" name="band" class="form-select">
<option value="All">All</option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '">' . $band . '</option>'."\n";
@ -17,7 +17,7 @@
<label class="col-md-1 control-label" for="mode">Mode</label>
<div class="col-md-3">
<select id="mode" name="mode" class="form-select form-select">
<select id="mode" name="mode" class="form-select">
<option value="All">All</option>
<?php
foreach($modes->result() as $mode){

Wyświetl plik

@ -6,7 +6,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="band"><?php echo lang('gen_hamradio_band'); ?></label>
<div class="col-md-3">
<select id="band" name="band" class="form-select form-select">
<select id="band" name="band" class="form-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
@ -19,7 +19,7 @@
<div class="mb-3 row" id="leogeo">
<label class="col-md-1 control-label" for="leogeo">LEO/GEO</label>
<div class="col-md-3">
<select id="leogeo" name="leogeo" class="form-select form-select">
<select id="leogeo" name="leogeo" class="form-select">
<option value="both" <?php if ($this->input->post('leogeo') == "both" || $this->input->method() !== 'post') echo ' selected'; ?> >Both</option>
<option value="leo" <?php if ($this->input->post('leogeo') == "leo") echo ' selected'; ?>>LEO</option>
<option value="geo" <?php if ($this->input->post('leogeo') == "geo") echo ' selected'; ?>>GEO</option>
@ -29,7 +29,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="mincount"><?php echo lang('gridsquares_minimum_count'); ?></label>
<div class="col-md-3">
<select id="mincount" name="mincount" class="form-select form-select">
<select id="mincount" name="mincount" class="form-select">
<?php
$i = 1;
do {

Wyświetl plik

@ -40,7 +40,7 @@
</div>
<div class="mb-3 col-md-3">
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-select form-select">
<select id="mode" name="mode" class="form-select">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){

Wyświetl plik

@ -40,7 +40,7 @@
</div>
<div class="mb-3 col-md-3">
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-select form-select">
<select id="mode" name="mode" class="form-select">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){

Wyświetl plik

@ -29,7 +29,7 @@
<div class="mb-3 col-md-3">
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-select form-select">
<select id="mode" name="mode" class="form-select">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){

Wyświetl plik

@ -69,7 +69,7 @@
<div class="row">
<div class="mb-3 col-sm-6" id="us_state">
<label for="stateInput"><?php echo lang("station_location_state"); ?></label>
<select class="form-select form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<select class="form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<option value="" selected></option>
<option value="AK">Alaska</option>
<option value="AL">Alabama</option>
@ -127,7 +127,7 @@
<div class="mb-3 col-sm-6" id="canada_state">
<label for="stateInput"><?php echo lang("station_location_state"); ?></label>
<select class="form-select form-select" name="station_ca_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<select class="form-select" name="station_ca_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<option value="" selected></option>
<option value="AB">Alberta</option>
<option value="BC">British Columbia</option>

Wyświetl plik

@ -96,7 +96,7 @@
<!-- US State -->
<div class="mb-3" id="us_state">
<label for="stateInput"><?php echo lang("station_location_state"); ?></label>
<select class="form-select form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<select class="form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<option value=""></option>
<option value="AK" <?php if($my_station_profile->state == "AK") { echo "selected"; } ?>>Alaska</option>
<option value="AL" <?php if($my_station_profile->state == "AL") { echo "selected"; } ?>>Alabama</option>
@ -156,7 +156,7 @@
<!-- Canada State -->
<div class="mb-3" id="canada_state">
<label for="stateInput"><?php echo lang("station_location_state"); ?></label>
<select class="form-select form-select" name="station_ca_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<select class="form-select" name="station_ca_state" id="StateHelp" aria-describedby="stationCntyInputHelp">
<option value=""></option>
<option value="AB" <?php if($my_station_profile->state == "AB") { echo "selected"; } ?>>Alberta</option>
<option value="BC" <?php if($my_station_profile->state == "BC") { echo "selected"; } ?>>British Columbia</option>

Wyświetl plik

@ -6,7 +6,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="band"><?php echo lang('gen_hamradio_band') ?></label>
<div class="col-md-3">
<select id="band" name="band" class="form-select form-select">
<select id="band" name="band" class="form-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all') ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
@ -18,7 +18,7 @@
<label class="col-md-1 control-label" for="mode"><?php echo lang('gen_hamradio_mode') ?></label>
<div class="col-md-3">
<select id="mode" name="mode" class="form-select form-select">
<select id="mode" name="mode" class="form-select">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all') ?></option>
<?php
foreach($modes->result() as $mode){
@ -40,7 +40,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="award"><?php echo lang('gen_hamradio_award') ?></label>
<div class="col-md-3">
<select id="award" name="award" class="form-select form-select">
<select id="award" name="award" class="form-select">
<option value="dxcc" <?php if ($this->input->post('award') == "dxcc") echo ' selected'; ?> >DX Century Club (DXCC)</option>
<option value="was" <?php if ($this->input->post('award') == "was") echo ' selected'; ?> >Worked All States (WAS)</option>
<option value="iota" <?php if ($this->input->post('award') == "iota") echo ' selected'; ?> >Islands On The Air (IOTA)</option>

Wyświetl plik

@ -6,7 +6,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="band">Band</label>
<div class="col-md-3">
<select id="band" name="band" class="form-select form-select">
<select id="band" name="band" class="form-select">
<option value="All">All</option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '">' . $band . '</option>'."\n";
@ -16,7 +16,7 @@
<label class="col-md-1 control-label" for="dxcc">DXCC</label>
<div class="col-md-3">
<select id="dxcc" name="dxcc" class="form-select form-select">
<select id="dxcc" name="dxcc" class="form-select">
<option value = 'All'>All</option>
<?php
if ($dxcc_list->num_rows() > 0) {
@ -36,7 +36,7 @@
<div class="mb-3 row">
<label class="col-md-1 control-label" for="cqzone">CQ Zone</label>
<div class="col-md-3">
<select id="cqzone" name="cqzone" class="form-select form-select">
<select id="cqzone" name="cqzone" class="form-select">
<option value = 'All'>All</option>
<?php
for ($i = 1; $i<=40; $i++) {