(2003-2009) * @author Froxlor team (2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Functions * @version $Id$ */ /** * Returns HTML Code for two radio buttons with two choices: yes and no * * @param string Name of HTML-Variable * @param string Value which will be returned if user chooses yes * @param string Value which will be returned if user chooses no * @param string Value which is chosen by default * @param bool Whether this element is disabled or not (default: false) * @return string HTML Code * @author Florian Lippert (2003-2009) * @author Froxlor team (2010-) */ function makeyesno($name, $yesvalue, $novalue = '', $yesselected = '', $disabled = false) { global $lng; if($disabled) { $d = ' disabled="disabled"'; } else { $d = ''; } return ''; }