diff options
| -rw-r--r-- | smarty/libs/plugins/function.html_checkboxes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smarty/libs/plugins/function.html_checkboxes.php b/smarty/libs/plugins/function.html_checkboxes.php index 1866bc2..1ef1f2a 100644 --- a/smarty/libs/plugins/function.html_checkboxes.php +++ b/smarty/libs/plugins/function.html_checkboxes.php @@ -195,9 +195,9 @@ function smarty_function_html_checkboxes_output($name, $value, $output, $selecte if ($labels) { if ($label_ids) { $_id = smarty_function_escape_special_chars(preg_replace('![^\w\-\.]!' . Smarty::$_UTF8_MODIFIER, '_', $name . '_' . $value)); - $_output .= '<label for="' . $_id . '">'; + $_output .= '<label class="checkbox" for="' . $_id . '">'; } else { - $_output .= '<label>'; + $_output .= '<label class="checkbox" >'; } } @@ -230,4 +230,4 @@ function smarty_function_html_checkboxes_output($name, $value, $output, $selecte return $_output; } -?>
\ No newline at end of file +?> |
