mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Update with form-control class
This commit is contained in:
parent
20ef52de57
commit
61c550165d
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@
|
||||||
if(empty($devname)) $devname="";
|
if(empty($devname)) $devname="";
|
||||||
$isStatic = $isStatic || in_array($dev["type"],array("ppp","tun"));
|
$isStatic = $isStatic || in_array($dev["type"],array("ppp","tun"));
|
||||||
$txtdisabled=$isStatic ? "disabled":"";
|
$txtdisabled=$isStatic ? "disabled":"";
|
||||||
echo '<td><select '.$txtdisabled.' class="selectpicker" id="int-new-type-'.$dev["name"].'">';
|
echo '<td><select '.$txtdisabled.' class="selectpicker form-control" id="int-new-type-'.$dev["name"].'">';
|
||||||
foreach($_SESSION["net-device-types"] as $i => $type) {
|
foreach($_SESSION["net-device-types"] as $i => $type) {
|
||||||
$txt=$_SESSION["net-device-types-info"][$i];
|
$txt=$_SESSION["net-device-types-info"][$i];
|
||||||
$txtdisabled = in_array($type,array("ppp","tun")) ? "disabled":"";
|
$txtdisabled = in_array($type,array("ppp","tun")) ? "disabled":"";
|
||||||
|
|
Loading…
Reference in a new issue