Added label to unlimited checkboxes.
This commit is contained in:
@@ -57,7 +57,7 @@ function makecheckbox($name, $title, $value, $break = false, $selvalue = NULL, $
|
|||||||
$value = htmlspecialchars($value);
|
$value = htmlspecialchars($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$checkbox = '<input type="checkbox" name="' . $name . '" value="' . $value . '" ' . $checked . ' /> ' . $title;
|
$checkbox = '<label class="nobr"><input type="checkbox" name="' . $name . '" value="' . $value . '" ' . $checked . ' /> ' . $title . '</label>';
|
||||||
|
|
||||||
if($break)
|
if($break)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -731,3 +731,7 @@ select {
|
|||||||
.strikethrough {
|
.strikethrough {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label.nobr {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user