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

This commit is contained in:
Peter Goodhall 2012-03-29 18:48:26 +01:00
parent 8784ea0919
commit ec0102da0f
2 changed files with 31 additions and 2 deletions

View File

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

View File

@ -147,6 +147,31 @@
<div class="pill-content"> <div class="pill-content">
<div class="active" id="home"> <div class="active" id="home">
<table> <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> <tr>
<td>IOTA</td> <td>IOTA</td>
<td><input type="text" name="iota_ref" value="" /> e.g: EU-005</td> <td><input type="text" name="iota_ref" value="" /> e.g: EU-005</td>