PhiBot Manager - Radio Buttons instead of Drop downs
for what it's worth, since I particularly hate clicking for nothing, I added radio buttons to:
include/functions.php:
class formgenClass {
function generateForm {
added code
-----------------------------
elseif ($af[2] == 'radio') {
$rtn .= $af[0] . "\n<br /><br />";
$checked = "checked";
foreach ($af[4] as $as) {
$rtn .= '<input type="radio" name="' . $af[1] . '" value="' . $as[0] . '"' . $checked . '>' . $as[2] . '<br />' ;
$checked = "";
}
$rtn .= '<br />'. $this->doBreaks($af) . "\n";
}
----------------------------
also changed "select" to "radio" in 4 functions:
class eventsClass extends basicFunctions {
function showInitialForm() {...}
function showTypeForm() {...}
function showInitialForm($id, $type) {...}
function showTypeForm($id) {...}