diff options
Diffstat (limited to 'views/default/input/checkbox.php')
-rw-r--r-- | views/default/input/checkbox.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/views/default/input/checkbox.php b/views/default/input/checkbox.php new file mode 100644 index 000000000..32bc323fd --- /dev/null +++ b/views/default/input/checkbox.php @@ -0,0 +1,18 @@ +<?php +/** + * Elgg checkbox input + * Displays a checkbox input field + * + * @package Elgg + * @subpackage Core + */ + +$defaults = array( + 'class' => 'input_checkbox', +); + +$vars = array_merge($defaults, $vars); + +?> + +<input type="checkbox" <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file |