Added option to add propagation mode to a qso entry (issue #91)

pull/106/merge
Peter Goodhall 2012-03-29 18:48:26 +01:00
rodzic 8784ea0919
commit ec0102da0f
2 zmienionych plików z 31 dodań i 2 usunięć

Wyświetl plik

@ -13,10 +13,14 @@ class Logbook_model extends CI_Model {
// Join date+time
$datetime = date('Y-m-d') ." ". $this->input->post('start_time');
if ($this->input->post('prop_mode') != null) {
$prop_mode = $this->input->post('prop_mode');
} else {
$prop_mode = "";
}
if($this->input->post('sat_name')) {
$prop_mode = "SAT";
} else {
$prop_mode = "";
}
if($this->session->userdata('user_locator')){

Wyświetl plik

@ -147,6 +147,31 @@
<div class="pill-content">
<div class="active" id="home">
<table>
<tr>
<td>Propagation Mode</td>
<td>
<select name="prop_mode">
<option value="" selected="selected"></option>
<option value="AUR">Aurora</option>
<option value="AUE">Aurora-E</option>
<option value="BS">Back scatter</option>
<option value="ECH">EchoLink</option>
<option value="EME">Earth-Moon-Earth</option>
<option value="ES">Sporadic E</option>
<option value="FAI">Field Aligned Irregularities</option>
<option value="F2">F2 Reflection</option>
<option value="INTERNET">Internet-assisted</option>
<option value="ION">Ionoscatter</option>
<option value="IRL">IRLP</option>
<option value="MS">Meteor scatter</option>
<option value="RPT">Terrestrial or atmospheric repeater or transponder</option>
<option value="RS">Rain scatter</option>
<option value="SAT">Satellite</option>
<option value="TEP">Trans-equatorial</option>
<option value="TR">Tropospheric ducting</option>
</select>
</td>
</tr>
<tr>
<td>IOTA</td>
<td><input type="text" name="iota_ref" value="" /> e.g: EU-005</td>