aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/checkboxes.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 19:25:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 19:25:10 +0000
commitc54946dbc8da5f94fe156106d885b736fe942390 (patch)
treed7dceb0b9ec661ea8f14f9370a339a47a75125b7 /views/default/input/checkboxes.php
parent3b6143c0c5861685a8161e7816824a225290185f (diff)
downloadelgg-c54946dbc8da5f94fe156106d885b736fe942390.tar.gz
elgg-c54946dbc8da5f94fe156106d885b736fe942390.tar.bz2
fixed a few minor issues in input views for validation
git-svn-id: http://code.elgg.org/elgg/trunk@7774 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/checkboxes.php')
-rw-r--r--views/default/input/checkboxes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php
index 2222875d8..f0bf0525b 100644
--- a/views/default/input/checkboxes.php
+++ b/views/default/input/checkboxes.php
@@ -43,7 +43,7 @@ $js = (isset($vars['js'])) ? $vars['js'] : '';
if ($options) {
// include a default value so if nothing is checked 0 will be passed.
if ($internalname && $default !== FALSE) {
- echo "<input type=\"hidden\" name=\"$internalname\" value=\"$default\">";
+ echo "<input type=\"hidden\" name=\"$internalname\" value=\"$default\" />";
}
foreach ($options as $label => $option) {
@@ -75,6 +75,6 @@ if ($options) {
$input = elgg_view('input/checkbox', $input_vars);
- echo "<label>{$input}{$label}</label><br />";
+ echo "{$input}<label>{$label}</label><br />";
}
} \ No newline at end of file