Tummi Posted March 5, 2017 Report Share Posted March 5, 2017 19 hours ago, web541 said: In your core/templates/airport_search .tpl/.php file, find this <tr> <td>Select A Departure Airfield</td> <td> <select class="search" name="depicao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> <tr> <td>Select An Arrival Airfield</td> <td> <select class="search" name="arricao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> Replace it with this <tr> <td>Select A Departure Airfield</td> <td> <input type="text" name="depicao" value="" placeholder="Input ICAO Code" /> </td> </tr> <tr> <td>Select An Arrival Airfield</td> <td> <input type="text" name="arricao" value="" placeholder="Input ICAO Code" /> </td> </tr> Or you can try and integrate this yourself http://select2.github.io/examples.html Thank you very much, insertet it also in core/templates/schedulesearchform (or similiar written) and works perfectly Quote Link to comment Share on other sites More sharing options...
Imanol Posted February 14, 2018 Report Share Posted February 14, 2018 Hello! Is there any way to list aircraft names instead of icao? Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.