|
|
|
@ -181,6 +181,7 @@ void AutoConnectRadioBasis::empty(const size_t reserve) { |
|
|
|
|
const String AutoConnectRadioBasis::toHTML(void) const { |
|
|
|
|
String html = String(""); |
|
|
|
|
|
|
|
|
|
if (enable) { |
|
|
|
|
if (label.length()) { |
|
|
|
|
html = label; |
|
|
|
|
if (order == AC_Vertical) |
|
|
|
@ -197,6 +198,7 @@ const String AutoConnectRadioBasis::toHTML(void) const { |
|
|
|
|
if (order == AC_Vertical) |
|
|
|
|
html += String(F("<br>")); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return html; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -245,6 +247,7 @@ void AutoConnectSelectBasis::select(const String& value) { |
|
|
|
|
const String AutoConnectSelectBasis::toHTML(void) const { |
|
|
|
|
String html = String(""); |
|
|
|
|
|
|
|
|
|
if (enable) { |
|
|
|
|
if (label.length()) |
|
|
|
|
html = String(F("<label for=\"")) + name + String("\">") + label + String(F("</label>")); |
|
|
|
|
html += String(F("<select name=\"")) + name + String(F("\" id=\"")) + name + String("\">"); |
|
|
|
@ -256,6 +259,7 @@ const String AutoConnectSelectBasis::toHTML(void) const { |
|
|
|
|
html += ">" + option + String(F("</option>")); |
|
|
|
|
} |
|
|
|
|
html += String(F("</select>")); |
|
|
|
|
} |
|
|
|
|
return html; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|