changed parseHTML() to be scope independent
This commit is contained in:
parent
656205e4ff
commit
394471f7aa
|
@ -767,7 +767,11 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, $scope) {
|
|||
break;
|
||||
// inner fieldset
|
||||
case 'fieldset':
|
||||
echo "<fieldset class=\"" . $scope . "edit\">\n";
|
||||
$styleClass = '';
|
||||
if (isset($scope) && ($scope != '')) {
|
||||
$styleClass = ' class="' . $scope . 'edit"';
|
||||
}
|
||||
echo "<fieldset" . $styleClass . ">\n";
|
||||
if ($input[$i][$j]['legend']!='') echo "<legend>" . $input[$i][$j]['legend'] . "</legend>\n";
|
||||
$retTemp = parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $scope);
|
||||
$ret = array_merge($ret, $retTemp);
|
||||
|
|
Loading…
Reference in New Issue