diff options
| author | Christian Fowler <cfowler2@wcpss.net> | 2013-04-19 15:50:13 -0400 |
|---|---|---|
| committer | Christian Fowler <cfowler2@wcpss.net> | 2013-04-19 15:50:13 -0400 |
| commit | 8a1763778f0b4fdcd39e6d55729089945108184c (patch) | |
| tree | af7e35116b309decd49a656616f769519d2df0bd /smarty | |
| parent | 96294ebae5dcb29bf1f50965c00ca518a9443801 (diff) | |
| download | themes-8a1763778f0b4fdcd39e6d55729089945108184c.tar.gz themes-8a1763778f0b4fdcd39e6d55729089945108184c.tar.bz2 themes-8a1763778f0b4fdcd39e6d55729089945108184c.zip | |
add bootstrap styling to checkbox
Diffstat (limited to 'smarty')
| -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 +?> |
