fixed parseHtml() fieldsets

This commit is contained in:
Roland Gruber 2007-02-28 21:15:58 +00:00
parent cdf0cc93b2
commit dd45a2aff9
1 changed files with 2 additions and 1 deletions

View File

@ -605,7 +605,8 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex
case 'fieldset':
echo "<fieldset>\n";
if ($input[$i][$j]['legend']!='') echo "<legend>" . $input[$i][$j]['legend'] . "</legend>\n";
parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $tabindexLink, $scope);
$retTemp = parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $tabindexLink, $scope);
$ret = array_merge($ret, $retTemp);
echo "</fieldset>\n";
break;
// selection