From dff32c364b99e57db5ea891ce93f7ab5df9b3258 Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Fri, 18 Mar 2011 21:28:05 -0700 Subject: Removed custom html5 function in favor of core function --- views/default/input/checkboxes.php | 51 -------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 views/default/input/checkboxes.php (limited to 'views/default/input/checkboxes.php') diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php deleted file mode 100644 index 1e13b0687..000000000 --- a/views/default/input/checkboxes.php +++ /dev/null @@ -1,51 +0,0 @@ - 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 "
"; - } -} \ No newline at end of file -- cgit v1.2.3