- implement multiserver-client edit

- fix various undefined variables
This commit is contained in:
Michael Kaufmann (d00p)
2010-10-19 16:07:48 +00:00
parent 89bf0aa128
commit fc5aea1c33
7 changed files with 100 additions and 32 deletions

View File

@@ -36,6 +36,8 @@ function makeyesno($name, $yesvalue, $novalue = '', $yesselected = '', $disabled
if($disabled) {
$d = ' disabled="disabled"';
} else {
$d = '';
}
return '<select class="dropdown_noborder" name="' . $name . '"'.$d.'><option value="' . $yesvalue . '"' . ($yesselected ? ' selected="selected"' : '') . '>' . $lng['panel']['yes'] . '</option><option value="' . $novalue . '"' . ($yesselected ? '' : ' selected="selected"') . '>' . $lng['panel']['no'] . '</option></select>';
}