Merge pull request #416 from AndreasK79/Removednonefromprofileselect

Removed the ability to set none in stationprofile. Fixes #414
这个提交包含在:
Peter Goodhall 2020-02-17 01:18:05 +00:00 提交者 GitHub
当前提交 0628e3bdb3
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 0 次插入2 次删除

查看文件

@ -315,7 +315,6 @@
<div class="form-group">
<label for="inputStationProfile">Change Station Profile</label>
<select id="stationProfile" class="custom-select" name="station_profile">
<option value="0" selected="selected">None</option>
<?php foreach ($my_stations->result() as $stationrow) { ?>
<option value="<?php echo $stationrow->station_id; ?>" <?php if($station_id == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
<?php } ?>

查看文件

@ -162,7 +162,6 @@
<div class="form-group">
<label for="inputStationProfile">Station Profile</label>
<select id="stationProfile" class="custom-select" name="station_profile">
<option value="0" selected="selected">None</option>
<?php foreach ($stations->result() as $stationrow) { ?>
<option value="<?php echo $stationrow->station_id; ?>" <?php if($this->session->userdata('station_profile_id') == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
<?php } ?>