Maybe the checkbox implementation is not yet complete:
I've changed the following part in markups.php - what do you think?
(lines 395ff):
if ($type == 'radio' || $type == 'checkbox') {
if (isset($args['checked']) && $args['checked'] != 'true') {
// MB 03.08.09: added array handling
if (substr($args['name'],-2) == "[]") {
if (in_array( $args['value'],
explode(",",$args['checked']))) //
strpos ($args['checked'], $args['value']) !== false)
$args['checked'] = 'true';
else unset($args['checked']);
}
// MB: end of change
else if ($args['checked'] == $args['value']) $args['checked'] =
'true';
else unset($args['checked']);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---