FILENAME : includes/form.api LINE No. 1870 ---------------------------------------------------------------------------------------------------- /** * Format a checkbox. * * @param $element * An associative array containing the properties of the element. * Properties used: title, value, return_value, description, required * @return * A themed HTML string representing the checkbox. * * @ingroup themeable */ function theme_checkbox($element) { _form_set_class($element, array('form-checkbox')); $checkbox = ''; if (!is_null($element['#title'])) { $checkbox = ''; /************************* CUSTOM CODE BY PRASHANT SHAH *************************/ } unset($element['#title']); return theme('form_element', $element, $checkbox); } /** * Format a set of checkboxes. * * @param $element * An associative array containing the properties of the element. * @return * A themed HTML string representing the checkbox set. * * @ingroup themeable */ function theme_checkboxes($element) { $class = 'form-checkboxes'; if (isset($element['#attributes']['class'])) { $class .= ' '. $element['#attributes']['class']; } $element['#children'] = '