Multiple small updates
This commit is contained in:
@@ -148,11 +148,11 @@ if (isset($_GET['rowID'])) {
|
||||
|
||||
//CREATE CARTEST BRAND DROPDOWN
|
||||
$carbrands_input ='
|
||||
<input list="carbrands" name="carbrand" placeholder="'.$cartest['carbrand'].'" class="datalist">
|
||||
<datalist id="carbrands">';
|
||||
|
||||
<select id="carbrands" name="carbrand">';
|
||||
//CHECK IF BRAND IS PROVIDED
|
||||
if ($cartest['carbrand'] !='' && !empty($cartest['carbrand'])){
|
||||
$carbrands_input .= '<option value="'.$cartest['carbrand'].'" selected>'.$cartest['carbrand'].'</option><option value=" "> </option>';
|
||||
$carbrands_input .= '<option value="'.$cartest['carbrand'].'" selected>'.$cartest['carbrand'].'</option>';
|
||||
} else {
|
||||
$carbrands_input .= '<option></option>';
|
||||
}
|
||||
@@ -160,7 +160,7 @@ if ($cartest['carbrand'] !='' && !empty($cartest['carbrand'])){
|
||||
foreach ($carbrands_array as $brand) {
|
||||
$carbrands_input .= '<option value="'.$brand.'">'.$brand.'</option>';
|
||||
}
|
||||
$carbrands_input .= '</datalist>';
|
||||
$carbrands_input .= '</select>';
|
||||
//END CARBRAND DROPDOWN
|
||||
|
||||
template_header('Cartesttool', 'cartesttool','manage');
|
||||
|
||||
Reference in New Issue
Block a user