| 210 |
} |
} |
| 211 |
|
|
| 212 |
function end_element_option () { |
function end_element_option () { |
| 213 |
$this->options[] = mosHTML::makeOption($this->optvalue, $this->chardata); |
$this->options[] = mosHTML::makeOption($this->optvalue, T_($this->chardata)); |
| 214 |
$this->optvalue = ''; |
$this->optvalue = ''; |
| 215 |
} |
} |
| 216 |
|
|
| 217 |
function end_element_param () { |
function end_element_param () { |
| 218 |
$type = mosGetParam ($this->paramattrs, 'TYPE', ''); |
$type = mosGetParam ($this->paramattrs, 'TYPE', ''); |
| 219 |
$name = mosGetParam ($this->paramattrs, 'NAME', ''); |
$name = mosGetParam ($this->paramattrs, 'NAME', ''); |
| 220 |
$label = mosGetParam ($this->paramattrs, 'LABEL', $name); |
$label = T_(mosGetParam ($this->paramattrs, 'LABEL', $name)); |
| 221 |
$default = mosGetParam ($this->paramattrs, 'DEFAULT', ''); |
$default = T_(mosGetParam ($this->paramattrs, 'DEFAULT', '')); |
| 222 |
if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip($description, $name); |
if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip(T_($description), $name); |
| 223 |
else $tooltip = ''; |
else $tooltip = ''; |
| 224 |
if (is_object($this->mosParameter)) { |
if (is_object($this->mosParameter)) { |
| 225 |
$mp = $this->mosParameter; |
$mp = $this->mosParameter; |