option for the each checkbox field
* @uses string $vars['internalid'] The id for each input field. Optional (Only use this with a single value.)
* @uses string $vars['default'] The default value to send if nothing is checked. Optional, defaults to 0.
* @uses bool $vars['disabled'] Make all input elements disabled. Optional.
* @uses string $vars['value'] The current value. Optional.
* @uses string $vars['class'] The class of each input element. Optional.
* @uses string $vars['js'] Any Javascript to enter into the input tag. Optional.
*
*/
$defaults = array(
'class' => 'input-checkboxes',
'disabled' => FALSE,
);
$vars = array_merge($defaults, $vars);
$value = $vars['value'];
unset($vars['value']);
$value_array = (is_array($value)) ? array_map('strtolower', $value) : array(strtolower($value));
$options = $vars['options'];
unset($vars['options']);
if ($options) {
foreach($options as $value => $label) {
echo " ";
}
}