option * @uses $vars['class'] Additional class of the list. Optional. * @uses $vars['align'] 'horizontal' or 'vertical' Default: 'vertical' */ $additional_class = elgg_extract('class', $vars); $align = elgg_extract('align', $vars, 'vertical'); $class = "elgg-input-radio elgg-$align"; if ($additional_class) { $class = " $additional_class"; unset($vars['class']); } if (isset($vars['align'])) { unset($vars['align']); } $options = $vars['options']; unset($vars['options']); $value = $vars['value']; unset($vars['value']); if ($options && count($options) > 0) { echo "