summaryrefslogtreecommitdiff
path: root/smarty
diff options
context:
space:
mode:
authorChristian Fowler <cfowler2@wcpss.net>2013-04-19 15:50:13 -0400
committerChristian Fowler <cfowler2@wcpss.net>2013-04-19 15:50:13 -0400
commit8a1763778f0b4fdcd39e6d55729089945108184c (patch)
treeaf7e35116b309decd49a656616f769519d2df0bd /smarty
parent96294ebae5dcb29bf1f50965c00ca518a9443801 (diff)
downloadthemes-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.php6
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
+?>