mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Forcing elevation to be a number
This commit is contained in:
@@ -252,9 +252,9 @@ class Satellite extends CI_Controller {
|
||||
|
||||
// You can modify some preferences in Predict(), the defaults are below
|
||||
//
|
||||
$predict->minEle = $this->security->xss_clean($this->input->post('minelevation')); // Minimum elevation for a pass
|
||||
$predict->minEle = intval($this->security->xss_clean($this->input->post('minelevation'))); // Minimum elevation for a pass
|
||||
$predict->timeRes = 1; // Pass details: time resolution in seconds
|
||||
$predict->numEntries = 100; // Pass details: number of entries per pass
|
||||
$predict->numEntries = 20; // Pass details: number of entries per pass
|
||||
// $predict->threshold = -6; // Twilight threshold (sun must be at this lat or lower)
|
||||
|
||||
// Get the passes and filter visible only, takes about 4 seconds for 10 days
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<form class="d-flex align-items-center">
|
||||
<div class="mb-3 w-auto">
|
||||
<label class="my-1 me-sm-2 w-auto" id="satslabel" for="satslist">Min Satellite Elevation</label>
|
||||
<input class="my-1 me-sm-2 w-auto form-control form-control-sm" id="minelevation" type="text" name="e" value="0" style="width:30px;" />
|
||||
<input class="my-1 me-sm-2 w-auto form-control form-control-sm" id="minelevation" type="number" name="e" value="0" style="width:30px;" />
|
||||
</div>
|
||||
<div class="mb-3 w-auto">
|
||||
<label class="my-1 me-sm-2 w-auto" for="minazimuth">Min Azimut</label>
|
||||
|
||||
Reference in New Issue
Block a user